fix(QmsInspectionStandard): 修正检测标准项创建用户信息保存
- 设置检测标准项的创建用户ID - 设置检测标准项的创建用户名 - 设置检测标准项的创建时间 - 完善检测标准项信息后保存至数据库
This commit is contained in:
parent
71a989bb20
commit
c12a548bd1
|
|
@ -390,6 +390,9 @@ public class QmsInspectionStandardControllerService {
|
|||
inspectionStandardItem.setDetectionTypeDictItemId(detectionTypeDictItemId);
|
||||
inspectionStandardItem.setSortNo(0);
|
||||
inspectionStandardItem.setName(data.getKey().getInspectionItemName());
|
||||
inspectionStandardItem.setCreateUserId(userId);
|
||||
inspectionStandardItem.setCreateUserName(userName);
|
||||
inspectionStandardItem.setCreateTime(now);
|
||||
inspectionStandardItemService.save(inspectionStandardItem);
|
||||
inspectionStandardItemContentService.saveBatch(
|
||||
data.getValue()
|
||||
|
|
|
|||
Loading…
Reference in New Issue