修改物料编码规则
This commit is contained in:
parent
a287f6e30e
commit
dd600042c0
|
@ -32,6 +32,27 @@
|
||||||
<if test="companyId != null and companyId != ''"> company_id , </if>
|
<if test="companyId != null and companyId != ''"> company_id , </if>
|
||||||
|
|
||||||
<if test="fphm != null and fphm != ''"> fphm , </if>
|
<if test="fphm != null and fphm != ''"> fphm , </if>
|
||||||
|
<if test="fpdm != null and fpdm != ''"> fpdm , </if>
|
||||||
|
<if test="kprq != null and kprq != ''"> kprq , </if>
|
||||||
|
<if test="xfsh != null and xfsh != ''"> xfsh , </if>
|
||||||
|
<if test="xfmc != null and xfmc != ''"> xfmc , </if>
|
||||||
|
<if test="gfsh != null and gfsh != ''"> gfsh , </if>
|
||||||
|
<if test="gfmc != null and gfmc != ''"> gfmc , </if>
|
||||||
|
<if test="hjje != null and hjje != ''"> hjje , </if>
|
||||||
|
<if test="hjse != null and hjse != ''"> hjse , </if>
|
||||||
|
<if test="jshj != null and jshj != ''"> jshj , </if>
|
||||||
|
<if test="jym != null and jym != ''"> jym , </if>
|
||||||
|
<if test="xfdzdh != null and xfdzdh != ''"> xfdzdh , </if>
|
||||||
|
<if test="xfyhzh != null and xfyhzh != ''"> xfyhzh , </if>
|
||||||
|
<if test="gfdzdh != null and gfdzdh != ''"> gfdzdh , </if>
|
||||||
|
<if test="gfyhzh != null and gfyhzh != ''"> gfyhzh , </if>
|
||||||
|
<if test="mmq != null and mmq != ''"> mmq , </if>
|
||||||
|
<if test="bz != null and bz != ''"> bz , </if>
|
||||||
|
<if test="jqbh != null and jqbh != ''"> jqbh , </if>
|
||||||
|
<if test="jdhm != null and jdhm != ''"> jdhm , </if>
|
||||||
|
<if test="kpr != null and kpr != ''"> kpr , </if>
|
||||||
|
<if test="skr != null and skr != ''"> skr , </if>
|
||||||
|
<if test="fhr != null and fhr != ''"> fhr , </if>
|
||||||
|
|
||||||
|
|
||||||
</trim>
|
</trim>
|
||||||
|
@ -55,6 +76,27 @@
|
||||||
<if test="companyId != null and companyId != ''"> #{company_id} , </if>
|
<if test="companyId != null and companyId != ''"> #{company_id} , </if>
|
||||||
|
|
||||||
<if test="fphm != null and fphm != ''"> #{fphm} , </if>
|
<if test="fphm != null and fphm != ''"> #{fphm} , </if>
|
||||||
|
<if test="fpdm != null and fpdm != ''"> #{fpdm} , </if>
|
||||||
|
<if test="kprq != null and kprq != ''"> #{kprq} , </if>
|
||||||
|
<if test="xfsh != null and xfsh != ''"> #{xfsh} , </if>
|
||||||
|
<if test="xfmc != null and xfmc != ''"> #{xfmc} , </if>
|
||||||
|
<if test="gfsh != null and gfsh != ''"> #{gfsh} , </if>
|
||||||
|
<if test="gfmc != null and gfmc != ''"> #{gfmc} , </if>
|
||||||
|
<if test="hjje != null and hjje != ''"> #{hjje} , </if>
|
||||||
|
<if test="hjse != null and hjse != ''"> #{hjse} , </if>
|
||||||
|
<if test="jshj != null and jshj != ''"> #{jshj} , </if>
|
||||||
|
<if test="jym != null and jym != ''"> #{jym} , </if>
|
||||||
|
<if test="xfdzdh != null and xfdzdh != ''"> #{xfdzdh} , </if>
|
||||||
|
<if test="xfyhzh != null and xfyhzh != ''"> #{xfyhzh} , </if>
|
||||||
|
<if test="gfdzdh != null and gfdzdh != ''"> #{gfdzdh} , </if>
|
||||||
|
<if test="gfyhzh != null and gfyhzh != ''"> #{gfyhzh} , </if>
|
||||||
|
<if test="mmq != null and mmq != ''"> #{mmq} , </if>
|
||||||
|
<if test="bz != null and bz != ''"> #{bz} , </if>
|
||||||
|
<if test="jqbh != null and jqbh != ''"> #{jqbh} , </if>
|
||||||
|
<if test="jdhm != null and jdhm != ''"> #{jdhm} , </if>
|
||||||
|
<if test="kpr != null and kpr != ''"> #{kpr} , </if>
|
||||||
|
<if test="skr != null and skr != ''"> #{skr} , </if>
|
||||||
|
<if test="fhr != null and fhr != ''"> #{fhr} , </if>
|
||||||
|
|
||||||
|
|
||||||
</trim>
|
</trim>
|
||||||
|
@ -76,6 +118,17 @@
|
||||||
<if test="companyId != null and companyId != ''"> company_id , </if>
|
<if test="companyId != null and companyId != ''"> company_id , </if>
|
||||||
<if test="remark != null and remark != ''"> remark , </if>
|
<if test="remark != null and remark != ''"> remark , </if>
|
||||||
|
|
||||||
|
<if test="xh != null and xh != ''"> xh , </if>
|
||||||
|
<if test="ssflbm != null and ssflbm != ''"> ssflbm , </if>
|
||||||
|
<if test="xmmc != null and xmmc != ''"> xmmc , </if>
|
||||||
|
<if test="ggxh != null and ggxh != ''"> ggxh , </if>
|
||||||
|
<if test="dw != null and dw != ''"> dw , </if>
|
||||||
|
<if test="sl != null and sl != ''"> sl , </if>
|
||||||
|
<if test="dj != null and dj != ''"> dj , </if>
|
||||||
|
<if test="je != null and je != ''"> je , </if>
|
||||||
|
<if test="slv != null and slv != ''"> slv , </if>
|
||||||
|
<if test="se != null and se != ''"> se , </if>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</trim>
|
</trim>
|
||||||
|
@ -95,8 +148,16 @@
|
||||||
<if test="companyId != null and companyId != ''"> #{company_id} , </if>
|
<if test="companyId != null and companyId != ''"> #{company_id} , </if>
|
||||||
<if test="remark != null and remark != ''"> #{remark} , </if>
|
<if test="remark != null and remark != ''"> #{remark} , </if>
|
||||||
|
|
||||||
|
<if test="xh != null and xh != ''"> #{xh} , </if>
|
||||||
|
<if test="ssflbm != null and ssflbm != ''"> #{ssflbm} , </if>
|
||||||
|
<if test="xmmc != null and xmmc != ''"> #{xmmc} , </if>
|
||||||
|
<if test="ggxh != null and ggxh != ''"> #{ggxh} , </if>
|
||||||
|
<if test="dw != null and dw != ''"> #{dw} , </if>
|
||||||
|
<if test="sl != null and sl != ''"> #{sl} , </if>
|
||||||
|
<if test="dj != null and dj != ''"> #{dj} , </if>
|
||||||
|
<if test="je != null and je != ''"> #{je} , </if>
|
||||||
|
<if test="slv != null and slv != ''"> #{slv} , </if>
|
||||||
|
<if test="se != null and se != ''"> #{se} , </if>
|
||||||
|
|
||||||
</trim>
|
</trim>
|
||||||
)
|
)
|
||||||
|
|
|
@ -113,6 +113,28 @@ public class IncomeInvoiceServiceImpl extends BaseService<IncomeInvoiceEntity, S
|
||||||
saveData.put("document_rule", comparisonEntityRuleGz.getDocumentRule());//单据规则
|
saveData.put("document_rule", comparisonEntityRuleGz.getDocumentRule());//单据规则
|
||||||
saveData.put("document_rule_num", comparisonEntityRuleGz.getDocumentRuleNum());//单据规则流水号
|
saveData.put("document_rule_num", comparisonEntityRuleGz.getDocumentRuleNum());//单据规则流水号
|
||||||
|
|
||||||
|
saveData.put("fphm",fphm);
|
||||||
|
saveData.put("fpdm",jsonObject.getString("fpdm"));
|
||||||
|
saveData.put("kprq",jsonObject.getString("kprq"));
|
||||||
|
saveData.put("xfmc",jsonObject.getString("xfmc"));
|
||||||
|
saveData.put("gfsh",jsonObject.getString("gfsh"));
|
||||||
|
saveData.put("gfmc",jsonObject.getString("gfmc"));
|
||||||
|
saveData.put("hjje",jsonObject.getString("hjje"));
|
||||||
|
saveData.put("hjse",jsonObject.getString("hjse"));
|
||||||
|
saveData.put("jshj",jsonObject.getString("jshj"));
|
||||||
|
saveData.put("jym",jsonObject.getString("jym"));
|
||||||
|
saveData.put("xfdzdh",jsonObject.getString("xfdzdh"));
|
||||||
|
saveData.put("xfyhzh",jsonObject.getString("xfyhzh"));
|
||||||
|
saveData.put("gfdzdh",jsonObject.getString("gfdzdh"));
|
||||||
|
saveData.put("gfyhzh",jsonObject.getString("gfyhzh"));
|
||||||
|
saveData.put("mmq",jsonObject.getString("mmq"));
|
||||||
|
saveData.put("bz",jsonObject.getString("bz"));
|
||||||
|
saveData.put("jqbh",jsonObject.getString("jqbh"));
|
||||||
|
saveData.put("jdhm",jsonObject.getString("jdhm"));
|
||||||
|
saveData.put("kpr",jsonObject.getString("kpr"));
|
||||||
|
saveData.put("skr",jsonObject.getString("skr"));
|
||||||
|
saveData.put("fhr",jsonObject.getString("fhr"));
|
||||||
|
|
||||||
JSONObject content = jsonObject.getJSONObject("content");
|
JSONObject content = jsonObject.getJSONObject("content");
|
||||||
JSONArray detaildata = content.getJSONArray("items");
|
JSONArray detaildata = content.getJSONArray("items");
|
||||||
if(detaildata != null && detaildata.size() > 0){
|
if(detaildata != null && detaildata.size() > 0){
|
||||||
|
@ -129,7 +151,17 @@ public class IncomeInvoiceServiceImpl extends BaseService<IncomeInvoiceEntity, S
|
||||||
saveDetailData.put("create_time", new Date());
|
saveDetailData.put("create_time", new Date());
|
||||||
saveDetailData.put("modify_time", new Date());
|
saveDetailData.put("modify_time", new Date());
|
||||||
saveDetailData.put("sts", "Y");
|
saveDetailData.put("sts", "Y");
|
||||||
saveDetailData.put("remark", detaildata.getJSONObject(i1).getString("xmmc"));
|
saveDetailData.put("xh", detaildata.getJSONObject(i1).getString("xh"));
|
||||||
|
saveDetailData.put("ssflbm", detaildata.getJSONObject(i1).getString("ssflbm"));
|
||||||
|
saveDetailData.put("xmmc", detaildata.getJSONObject(i1).getString("xmmc"));
|
||||||
|
saveDetailData.put("ggxh", detaildata.getJSONObject(i1).getString("ggxh"));
|
||||||
|
saveDetailData.put("dw", detaildata.getJSONObject(i1).getString("dw"));
|
||||||
|
saveDetailData.put("sl", detaildata.getJSONObject(i1).getString("sl"));
|
||||||
|
saveDetailData.put("dj", detaildata.getJSONObject(i1).getString("dj"));
|
||||||
|
saveDetailData.put("je", detaildata.getJSONObject(i1).getString("je"));
|
||||||
|
saveDetailData.put("slv", detaildata.getJSONObject(i1).getString("slv"));
|
||||||
|
saveDetailData.put("se", detaildata.getJSONObject(i1).getString("se"));
|
||||||
|
|
||||||
incomeInvoiceDao.saveDetailData(saveDetailData);
|
incomeInvoiceDao.saveDetailData(saveDetailData);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue