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