|
@ -355,10 +355,11 @@ public class IssueProjectCategoryDictServiceImpl extends BaseServiceImpl<IssuePr |
|
|
throw new RenException(EpmetErrorCode.CATEGORY_NAME.getCode(), EpmetErrorCode.CATEGORY_NAME.getMsg()); |
|
|
throw new RenException(EpmetErrorCode.CATEGORY_NAME.getCode(), EpmetErrorCode.CATEGORY_NAME.getMsg()); |
|
|
} |
|
|
} |
|
|
IssueProjectCategoryDictEntity entity = new IssueProjectCategoryDictEntity(); |
|
|
IssueProjectCategoryDictEntity entity = new IssueProjectCategoryDictEntity(); |
|
|
|
|
|
entity.setCustomerId(formDTO.getCustomerId()); |
|
|
entity.setCategoryName(formDTO.getCategoryName()); |
|
|
entity.setCategoryName(formDTO.getCategoryName()); |
|
|
entity.setSort(formDTO.getSort()); |
|
|
entity.setSort(formDTO.getSort()); |
|
|
entity.setId(formDTO.getCategoryId()); |
|
|
entity.setId(formDTO.getCategoryId()); |
|
|
baseDao.updateById(entity); |
|
|
baseDao.updateIssueProjectCategoryDict(entity); |
|
|
return new Result<>(); |
|
|
return new Result<>(); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -419,10 +420,11 @@ public class IssueProjectCategoryDictServiceImpl extends BaseServiceImpl<IssuePr |
|
|
throw new RenException(EpmetErrorCode.CATEGORY_NAME.getCode(), EpmetErrorCode.CATEGORY_NAME.getMsg()); |
|
|
throw new RenException(EpmetErrorCode.CATEGORY_NAME.getCode(), EpmetErrorCode.CATEGORY_NAME.getMsg()); |
|
|
} |
|
|
} |
|
|
IssueProjectCategoryDictEntity entity = new IssueProjectCategoryDictEntity(); |
|
|
IssueProjectCategoryDictEntity entity = new IssueProjectCategoryDictEntity(); |
|
|
|
|
|
entity.setCustomerId(formDTO.getCustomerId()); |
|
|
entity.setCategoryName(formDTO.getCategoryName()); |
|
|
entity.setCategoryName(formDTO.getCategoryName()); |
|
|
entity.setSort(formDTO.getSort()); |
|
|
entity.setSort(formDTO.getSort()); |
|
|
entity.setId(formDTO.getCategoryId()); |
|
|
entity.setId(formDTO.getCategoryId()); |
|
|
baseDao.updateById(entity); |
|
|
baseDao.updateIssueProjectCategoryDict(entity); |
|
|
return new Result<>(); |
|
|
return new Result<>(); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|