Commit 93044215 authored by huyuchen's avatar huyuchen

订单优化修改

parent 9d059fbf
...@@ -902,9 +902,7 @@ public class TSalaryEmployeeServiceImpl extends ServiceImpl<TSalaryEmployeeMappe ...@@ -902,9 +902,7 @@ public class TSalaryEmployeeServiceImpl extends ServiceImpl<TSalaryEmployeeMappe
TSalaryEmployee one = baseMapper.selectOne(Wrappers.<TSalaryEmployee>query().lambda() TSalaryEmployee one = baseMapper.selectOne(Wrappers.<TSalaryEmployee>query().lambda()
.eq(TSalaryEmployee::getEmpIdcard, vo.getEmpIdcard()) .eq(TSalaryEmployee::getEmpIdcard, vo.getEmpIdcard())
.last(CommonConstants.LAST_ONE_SQL)); .last(CommonConstants.LAST_ONE_SQL));
if (Common.isEmpty(one)) { if (Common.isNotNull(one)) {
return R.failed(CommonConstants.NO_DATA_TO_HANDLE);
} else {
one.setBankNo(vo.getBankNo()); one.setBankNo(vo.getBankNo());
one.setEmpName(vo.getEmpName()); one.setEmpName(vo.getEmpName());
one.setBankName(vo.getBankName()); one.setBankName(vo.getBankName());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment