|
@@ -82,7 +82,7 @@ public class TXinyiDailyServiceImpl implements ITXinyiDailyService
|
|
|
String testDate = tXinyiDaily.getTestDate();
|
|
|
if(StringUtils.isBlank(testDate))
|
|
|
throw new ServiceException("日报填写必须要填写日期!");
|
|
|
- String username = SecurityUtils.getUsername();
|
|
|
+// String username = SecurityUtils.getUsername();
|
|
|
Date nowDate = DateUtils.getNowDate();
|
|
|
if(Objects.isNull(id)){//新增
|
|
|
//检查日期是否已经填写过了
|
|
@@ -90,11 +90,11 @@ public class TXinyiDailyServiceImpl implements ITXinyiDailyService
|
|
|
if(!Objects.isNull(detailByDay))
|
|
|
throw new ServiceException("该日期对应的日报已经填写过了,不可重复填写!");
|
|
|
tXinyiDaily.setTestTime(testDate);
|
|
|
- tXinyiDaily.setCreateBy(username);
|
|
|
+// tXinyiDaily.setCreateBy(username);
|
|
|
tXinyiDaily.setCreateTime(nowDate);
|
|
|
tXinyiDaily.setCreatedTime(nowDate);
|
|
|
}else{//编辑
|
|
|
- tXinyiDaily.setUpdateBy(username);
|
|
|
+// tXinyiDaily.setUpdateBy(username);
|
|
|
tXinyiDaily.setUpdateTime(nowDate);
|
|
|
}
|
|
|
|