出勤已修正提交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("")) {
|
||||
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());
|
||||
}
|
||||
if (!Objects.isNull(item.get("remark"))) {
|
||||
|
|
|
@ -163,7 +163,9 @@ public class BusinessWorkerCqServiceImpl extends ServiceImpl<BusinessWorkerCqDao
|
|||
|
||||
BigDecimal fixBg = BigDecimal.ZERO;
|
||||
if(item.get("fix_day")!=null) {
|
||||
fixBg = new BigDecimal(item.get("fix_day").toString());
|
||||
if(!"".equals(item.get("fix_day").toString().trim())){
|
||||
fixBg = new BigDecimal(item.get("fix_day").toString());
|
||||
}
|
||||
}
|
||||
|
||||
resultMap.put("outWorkDay",statusBg.add(fixBg));
|
||||
|
|
Loading…
Reference in New Issue