|
|
@@ -110,6 +110,12 @@ public class XmDirectCostServiceImpl extends BaseServiceImpl<XmDirectCostMapper,
|
|
|
xmService.judgeXmIsOver(xmId, true);
|
|
|
entity.setXmId(xmId);
|
|
|
}
|
|
|
+
|
|
|
+ String type = null;
|
|
|
+ if(Func.isBlank(excel.getType()) || Func.isNull(type=DictCache.getKey("zhitoufeiyong_lx", excel.getType().trim()))){
|
|
|
+ throw new ServiceException("直投费用类型错误");
|
|
|
+ }
|
|
|
+ entity.setType(type);
|
|
|
entity.setYearAndMonth(yearAndMonth);
|
|
|
insertList.add(entity);
|
|
|
}
|