|
@@ -99,7 +99,7 @@ public class ApplicationFormServiceImpl implements IApplicationFormService {
|
|
|
validateExists(updateReqVO.getId());
|
|
|
ApplicationForm applicationForm = BeanUtil.copyProperties(updateReqVO, ApplicationForm.class);
|
|
|
formMapper.updateById(applicationForm);
|
|
|
- String id = updateReqVO.getId();
|
|
|
+ String id = applicationForm.getInstanceId();
|
|
|
List<OaEquipmentInventoryList> scrapList = updateReqVO.getScrapList();
|
|
|
List<ScrapList> newScrapList = new ArrayList<>();
|
|
|
if (scrapList != null && !scrapList.isEmpty()) {
|
|
@@ -212,7 +212,7 @@ public class ApplicationFormServiceImpl implements IApplicationFormService {
|
|
|
map.put("applicationTypeList", JSON.toJSONString(sourceList));
|
|
|
List<Select> pickList = SelectConvert.INSTANCE.convertList(dictDataApi.getDictDataList(DictConstants.NEW_EQUIPMENT_APPLICATION_TYPE).getCheckedData());
|
|
|
map.put("newEquipmentList", JSON.toJSONString(pickList));
|
|
|
- String id = entity.getId();
|
|
|
+ String id = entity.getInstanceId();
|
|
|
List<ScrapList> scrapLists = scrapListMapper.selectList(new LambdaQueryWrapper<ScrapList>().eq(ScrapList::getApplicationNumber, id));
|
|
|
map.put("scrapList", JSON.toJSONString(scrapLists));
|
|
|
List<RecycleList> recycleLists = recycleListMapper.selectList(new LambdaQueryWrapper<RecycleList>().eq(RecycleList::getApplicationNumber, id));
|