|
|
@@ -54,7 +54,7 @@ public class SubmitShemeUtils {
|
|
|
// private static String MESID = "MESID";
|
|
|
// private static String[] ITEMNUMS = {SubConstants.COMRATE,SubConstants.JOBTYPE,SubConstants.SKILLLEVEL,SubConstants.ONSITE,SubConstants.TEAMAPP,SubConstants.SALARYSEQ};
|
|
|
|
|
|
- private static SimpleDateFormat SDF = new SimpleDateFormat("yyyy-MM-dd");
|
|
|
+// private static SimpleDateFormat SDF = new SimpleDateFormat("yyyy-MM-dd");
|
|
|
|
|
|
private static Map<String,String> FEILDS = new HashMap();
|
|
|
private static HashMap<String,String> JOBTYPEMAP = new HashMap();
|
|
|
@@ -65,13 +65,13 @@ public class SubmitShemeUtils {
|
|
|
* 从中间表获取mes数据
|
|
|
*/
|
|
|
public static HashMap<String,HashMap> getMesData( Context ctx ,HashSet<String> selectPerson,DateRange dateRange) {
|
|
|
- if(ObjectUtils.isEmpty(FEILDS)) {
|
|
|
+ if(null == FEILDS || ObjectUtils.isEmpty(FEILDS) || FEILDS.size() == 0) {
|
|
|
getFeilds(ctx);
|
|
|
}
|
|
|
//获取技能等级
|
|
|
- if(ObjectUtils.isEmpty(JOBTYPEMAP)) {
|
|
|
+// if(ObjectUtils.isEmpty(JOBTYPEMAP)) {
|
|
|
getJobType(ctx);
|
|
|
- }
|
|
|
+// }
|
|
|
HashMap<String, HashMap> checkMap = new HashMap();
|
|
|
SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd");
|
|
|
try {
|
|
|
@@ -93,7 +93,8 @@ public class SubmitShemeUtils {
|
|
|
String checkbillId = rst.getString("fid");
|
|
|
String pId = rst.getString("cfPersonId");
|
|
|
Date bizDate = rst.getDate("cfbizDate");
|
|
|
- String eDate = SDF.format(bizDate);
|
|
|
+ SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
|
|
|
+ String eDate = sdf.format(bizDate);
|
|
|
String key = pId+"_"+eDate;
|
|
|
HashMap<String,String> valMap = new HashMap();
|
|
|
BigDecimal comrate = rst.getBigDecimal("CFComrate");
|
|
|
@@ -105,7 +106,8 @@ public class SubmitShemeUtils {
|
|
|
cFpositiontype = "";
|
|
|
}
|
|
|
valMap.put(FEILDS.get(SubConstants.JOBTYPE), cFpositiontype);
|
|
|
- valMap.put(FEILDS.get(SubConstants.SKILLLEVEL), rst.getString("cfskillLevel"));
|
|
|
+ //20250808 去除技能等级
|
|
|
+// valMap.put(FEILDS.get(SubConstants.SKILLLEVEL), rst.getString("cfskillLevel"));
|
|
|
valMap.put(FEILDS.get(SubConstants.ONSITE), rst.getString("cfonSite"));
|
|
|
valMap.put(FEILDS.get(SubConstants.TEAMAPP), rst.getString("cfteamApp"));
|
|
|
valMap.put(FEILDS.get(SubConstants.SALARYSEQ), rst.getString("cfsalarysEq"));
|
|
|
@@ -192,7 +194,8 @@ public class SubmitShemeUtils {
|
|
|
BatchSubmitShemeBillEntryInfo entry = entrys.get(i);
|
|
|
String pId = entry.getPerson().getId().toString();
|
|
|
Date effectDate = entry.getEffectDate();
|
|
|
- String eDate = SDF.format(effectDate);
|
|
|
+ SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
|
|
|
+ String eDate = sdf.format(effectDate);
|
|
|
String key = pId + "_" + eDate;
|
|
|
HashMap valMap = mesData.get(key);
|
|
|
|
|
|
@@ -264,7 +267,7 @@ public class SubmitShemeUtils {
|
|
|
|
|
|
/**
|
|
|
* 更新点检率
|
|
|
- * @param request
|
|
|
+ * @param
|
|
|
* @param ctx
|
|
|
* @param info
|
|
|
*/
|