fix(QmsInspectionStandard): 修正检测标准项创建用户信息保存

- 设置检测标准项的创建用户ID
- 设置检测标准项的创建用户名
- 设置检测标准项的创建时间
- 完善检测标准项信息后保存至数据库
This commit is contained in:
曹鹏飞 2026-05-12 14:27:07 +08:00
parent 71a989bb20
commit c12a548bd1
1 changed files with 3 additions and 0 deletions

View File

@ -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()