UDI码缺失修改

master
anthonywj 2 years ago
parent 4bd2455145
commit bdc1e6fd6e

@ -97,7 +97,7 @@ public class IoCodeLostController extends BaseController {
insertEntity.setSerialNo(codeTempEntity.getSerialNo()); insertEntity.setSerialNo(codeTempEntity.getSerialNo());
insertEntity.setSupId(codeTempEntity.getSupId()); insertEntity.setSupId(codeTempEntity.getSupId());
insertEntity.setUpdateTime(new Date()); insertEntity.setUpdateTime(new Date());
insertEntity.setCreateTime(new Date());
if (codeLostEntity != null) { if (codeLostEntity != null) {
codeLostService.update(insertEntity); codeLostService.update(insertEntity);
} else { } else {

@ -211,8 +211,10 @@ public class IoCheckInoutService {
isTrue = true; isTrue = true;
} }
} }
if (isTrue) if (isTrue) {
codeLostEntity.setCreateTime(new Date());
codeLostService.insertOrUpdate(codeLostEntity); codeLostService.insertOrUpdate(codeLostEntity);
}
} }
} }

Loading…
Cancel
Save