完善关键零部件型号申请流程
This commit is contained in:
+2
@@ -114,6 +114,7 @@ public class ProcessPartTypeApplyRecordController {
|
||||
@ApiOperation(value = "业务支持-关键零部件型号库-新增", notes = "业务支持-关键零部件型号库-新增")
|
||||
@ApiOperationSupport(order = 5)
|
||||
@PostMapping(value = "/add")
|
||||
@Translation
|
||||
// @RequiresPermissions("keyPartBindingManage:add")
|
||||
public Result<ProcessPartTypeApplyRecord> add(@RequestBody ProcessPartTypeApplyRecord processPartTypeApplyRecord) {
|
||||
return Result.OK(processPartTypeApplyRecordService.add(processPartTypeApplyRecord));
|
||||
@@ -130,6 +131,7 @@ public class ProcessPartTypeApplyRecordController {
|
||||
@ApiOperationSupport(order = 6)
|
||||
@PostMapping(value = "/edit")
|
||||
// @RequiresPermissions("keyPartBindingManage:import")
|
||||
@Translation
|
||||
public Result<ProcessPartTypeApplyRecord> edit(@Validated @RequestBody ProcessPartTypeApplyRecord processPartTypeApplyRecord) {
|
||||
return Result.OK(this.processPartTypeApplyRecordService.edit(processPartTypeApplyRecord));
|
||||
}
|
||||
|
||||
+1
-4
@@ -129,10 +129,7 @@ public class ProcessPartTypeApplyServiceImpl extends ServiceImpl<ProcessPartType
|
||||
Map<String, Object> map = new HashMap<>();
|
||||
// 人员信息
|
||||
userInfoMap.forEach((key, value) -> {
|
||||
if(Objects.equals("checkUserLeader1List",key + "List") ||
|
||||
Objects.equals("checkUserLeader2List",key + "List") ||
|
||||
Objects.equals("checkUserLeader3List",key + "List") ||
|
||||
Objects.equals("checkUserLeader4List",key + "List")){
|
||||
if(Objects.equals("designUserLeader",key)){
|
||||
map.put(key, value);
|
||||
map.put(key + "List", Arrays.asList(value.toString().split(",")));
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user