增加是否整车结算字段

This commit is contained in:
xiang2lin 2024-06-27 15:35:11 +08:00
parent 456a3fdbd6
commit 20044be5b6
1 changed files with 13 additions and 0 deletions

View File

@ -325,6 +325,8 @@ public class SeeyonExtServiceImpl implements ISeeyonExtService {
//bCusDomestic 是否国内
oArchives.put("bCusDomestic","1");
oArchives.put("bCusOverseas","1");
//整车结算
oArchives.put("cCusDefine2",getZcjsName(formmain0226.getString("field0022")));
jsonObject.put("oArchives", oArchives);
param.setBodys(JSON.toJSONString(jsonObject));
hzyaExtData.put("billCode",formmain0226.getString("field0001"));
@ -342,4 +344,15 @@ public class SeeyonExtServiceImpl implements ISeeyonExtService {
}
return "人民币";
}
//整车结算枚举
private String getZcjsName(String enumId){
if (StrUtil.isNotEmpty(enumId)){
if ("8135646086311530334".equals(enumId)){
return "整车结算";
}else if ("4519958681973247818".equals(enumId)){
return "实际用量结算";
}
}
return "实际用量结算";
}
}