出勤已修正提交BUG处理
This commit is contained in:
parent
e0a9af96b7
commit
134212bd1b
|
@ -107,7 +107,7 @@ public class BusinessWorkerCqController {
|
||||||
if (item.get("userId") != null && !item.get("userId").toString().equals("")) {
|
if (item.get("userId") != null && !item.get("userId").toString().equals("")) {
|
||||||
businessWorkerCqEntity.setUserId(Integer.parseInt(item.get("userId").toString()));
|
businessWorkerCqEntity.setUserId(Integer.parseInt(item.get("userId").toString()));
|
||||||
}
|
}
|
||||||
if (!"".equals(item.get("fixDay").toString().trim())) {
|
if (item.get("fixDay")!=null && !"".equals(item.get("fixDay").toString().trim())) {
|
||||||
businessWorkerCqEntity.setFixDay(item.get("fixDay").toString());
|
businessWorkerCqEntity.setFixDay(item.get("fixDay").toString());
|
||||||
}
|
}
|
||||||
if (!Objects.isNull(item.get("remark"))) {
|
if (!Objects.isNull(item.get("remark"))) {
|
||||||
|
|
|
@ -163,8 +163,10 @@ public class BusinessWorkerCqServiceImpl extends ServiceImpl<BusinessWorkerCqDao
|
||||||
|
|
||||||
BigDecimal fixBg = BigDecimal.ZERO;
|
BigDecimal fixBg = BigDecimal.ZERO;
|
||||||
if(item.get("fix_day")!=null) {
|
if(item.get("fix_day")!=null) {
|
||||||
|
if(!"".equals(item.get("fix_day").toString().trim())){
|
||||||
fixBg = new BigDecimal(item.get("fix_day").toString());
|
fixBg = new BigDecimal(item.get("fix_day").toString());
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
resultMap.put("outWorkDay",statusBg.add(fixBg));
|
resultMap.put("outWorkDay",statusBg.add(fixBg));
|
||||||
resultList.add(resultMap);
|
resultList.add(resultMap);
|
||||||
|
|
Loading…
Reference in New Issue