Commit 0b14ddca by jianshuqin

费用付款单修改增加内部分类

parent 6af3f31c
......@@ -256,6 +256,11 @@ public abstract class AbstractCostService implements CostService {
CostTypeDomain costTypeDomain = costTypeDao.selectById(costDetailDomain.getTypeId());
costDomain.setCostType(costTypeDomain);
if (StringUtils.isNotBlank(costDetailDomain.getTypeInnerName())) {
costDomain.setTypeInnerName(costDetailDomain.getTypeInnerName());
} else {
costDomain.setTypeInnerName(costDomain.getTypeName());
}
costDomain.setLastModifyDate(LocalDateTime.now());
if (StringUtils.isBlank(costTypeDomain.getCategoryName())) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment