|
|
|
@ -276,8 +276,10 @@ public class CraftAbilityController extends BladeController { |
|
|
|
list.forEach(noticeExcel -> { |
|
|
|
list.forEach(noticeExcel -> { |
|
|
|
|
|
|
|
|
|
|
|
CraftAbilityEntity notice = BeanUtil.copy(noticeExcel, CraftAbilityEntity.class); |
|
|
|
CraftAbilityEntity notice = BeanUtil.copy(noticeExcel, CraftAbilityEntity.class); |
|
|
|
String category = DictCache.getKey("ProcessCapabilityType", noticeExcel.getWtName()); |
|
|
|
if(noticeExcel.getWtName() != null && !"".equals(noticeExcel.getWtName())){ |
|
|
|
notice.setWtId(Long.valueOf(category)); |
|
|
|
String category = DictCache.getKey("ProcessCapabilityType", noticeExcel.getWtName()); |
|
|
|
|
|
|
|
notice.setWtId(Long.valueOf(category)); |
|
|
|
|
|
|
|
} |
|
|
|
noticeList.add(notice); |
|
|
|
noticeList.add(notice); |
|
|
|
}); |
|
|
|
}); |
|
|
|
return R.data(craftAbilityService.saveBatch(noticeList)); |
|
|
|
return R.data(craftAbilityService.saveBatch(noticeList)); |
|
|
|
|