This commit is contained in:
sxu 2025-05-07 12:07:18 +08:00
parent 438bf952bf
commit c6b930ffbe
1 changed files with 4 additions and 0 deletions

View File

@ -52,6 +52,9 @@ public class AllocCanteenEvaluateServiceImpl implements IAllocCanteenEvaluateSer
@Override
public int insertAllocCanteenEvaluate(AllocCanteenEvaluate allocCanteenEvaluate) {
allocCanteenEvaluate.setCreateTime(DateUtils.getNowDate());
allocCanteenEvaluate.setCreateBy(SecurityUtils.getUsername());
allocCanteenEvaluate.setUserId(SecurityUtils.getUserId());
allocCanteenEvaluate.setEvaluateDate(DateUtils.getNowDate());
try {
return allocCanteenEvaluateMapper.insertAllocCanteenEvaluate(allocCanteenEvaluate);
} catch (Exception e) {
@ -68,6 +71,7 @@ public class AllocCanteenEvaluateServiceImpl implements IAllocCanteenEvaluateSer
@Override
public int updateAllocCanteenEvaluate(AllocCanteenEvaluate allocCanteenEvaluate) {
allocCanteenEvaluate.setUpdateTime(DateUtils.getNowDate());
allocCanteenEvaluate.setUpdateBy(SecurityUtils.getUsername());
try {
return allocCanteenEvaluateMapper.updateAllocCanteenEvaluate(allocCanteenEvaluate);
} catch (Exception e) {