Commit e719fd04 authored by zhkwei's avatar zhkwei

固定资产导入

parent 406e64fb
...@@ -249,7 +249,7 @@ public class AssetListServiceImpl extends BaseService { ...@@ -249,7 +249,7 @@ public class AssetListServiceImpl extends BaseService {
citAsset.setDisposedDate(sdf.parse(value.toString())); citAsset.setDisposedDate(sdf.parse(value.toString()));
} }
//先判断该条数据是否需要直接舍弃掉,筛选条件:报废类型是完全报废,报废日期小于去年年底最后一天的就剔除。 //先判断该条数据是否需要直接舍弃掉,筛选条件:报废类型是完全报废,报废日期小于去年年底最后一天的就剔除。
if("完全报废".equals(citAsset.getScrapType()) && citAsset.getDisposedDate()==null && endOfLastYearDate.after(citAsset.getDisposedDate())){ if("完全报废".equals(citAsset.getScrapType()) && citAsset.getDisposedDate()!=null && endOfLastYearDate.after(citAsset.getDisposedDate())){
errorMsgSb.append(rowNum+","); errorMsgSb.append(rowNum+",");
continue; continue;
} }
......
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