财报代码编写

This commit is contained in:
lvleigang 2025-04-28 17:22:07 +08:00
parent 6e6c883bdd
commit 9c15c7d45a
1 changed files with 2 additions and 2 deletions

View File

@ -662,8 +662,8 @@ public class ZjMaterielSynchronizationEventServiceImpl extends BaseService<ZjMat
//12400 0 002 01 //12400 0 002 01
//货品分类以这几个开头的封装分类是贴片依然填0 //货品分类以这几个开头的封装分类是贴片依然填0
String subStrfz = entity.getField0005().substring(5, 6); String subStrfz = entity.getField0005().substring(5, 6);
if(!subStrfz.equals("0")){ if(subStrfz.equals("9")){
str.append("序号为"+entity.getField0004()+"明细行的物料编码的封装分类,编码对应应该填写0"); str.append("序号为"+entity.getField0004()+"明细行的物料编码的封装分类,编码对应不应该填写9");
} }
String subStr = entity.getField0005().substring(9, 11); String subStr = entity.getField0005().substring(9, 11);
if(entity.getField0008code() != null && !"".equals(entity.getField0008code())){ if(entity.getField0008code() != null && !"".equals(entity.getField0008code())){