对接吉客云代码

This commit is contained in:
yuqh 2025-08-11 17:09:00 +08:00
parent 2fc23bd4f0
commit 2e0a5e8cf4
2 changed files with 8 additions and 8 deletions

View File

@ -296,8 +296,8 @@ public class GoodsdocInServiceImpl extends BaseService<GoodsdocInEntity,String>
head.put("crdcode", "203");//入库类别编码 head.put("crdcode", "203");//入库类别编码
head.put("cmemo",cmemo);//TODO 这里填的是发货单的最早日期和最晚日期 head.put("cmemo",cmemo);//TODO 这里填的是发货单的最早日期和最晚日期
head.put("cwhcode", "04009");//仓库编码 todo 正式需要切换为04009 head.put("cwhcode", "04009");//仓库编码 todo 正式需要切换为04009
head.put("ddate", DateUtil.format(DateUtil.offsetDay(new Date(), -1), "yyyy-MM-dd"));//销售类型 // head.put("ddate", DateUtil.format(DateUtil.offsetDay(new Date(), -1), "yyyy-MM-dd"));//销售类型
// head.put("ddate", DateUtil.format(new Date(),"yyyy-MM-dd"));//销售类型 head.put("ddate", DateUtil.format(new Date(),"yyyy-MM-dd"));//销售类型
// head.put("ddate", "2025-05-31");//销售类型 // head.put("ddate", "2025-05-31");//销售类型
head.put("ccuscode", "99989922");//todo 正式需要切换未这个客户 head.put("ccuscode", "99989922");//todo 正式需要切换未这个客户
@ -342,8 +342,8 @@ public class GoodsdocInServiceImpl extends BaseService<GoodsdocInEntity,String>
head.put("ccuscode", "99989922");//todo 正式需要切换未这个客户 head.put("ccuscode", "99989922");//todo 正式需要切换未这个客户
// head.put("ccuscode", "01010918");//客户 // head.put("ccuscode", "01010918");//客户
head.put("cstcode", "11");//销售类型 head.put("cstcode", "11");//销售类型
// head.put("ddate", DateUtil.format(new Date(),"yyyy-MM-dd"));//创建时间 head.put("ddate", DateUtil.format(new Date(),"yyyy-MM-dd"));//创建时间
head.put("ddate", DateUtil.format(DateUtil.offsetDay(new Date(), -1), "yyyy-MM-dd"));//创建时间 // head.put("ddate", DateUtil.format(DateUtil.offsetDay(new Date(), -1), "yyyy-MM-dd"));//创建时间
// head.put("ddate", "2025-05-31");//创建时间 // head.put("ddate", "2025-05-31");//创建时间
jsonObject.put("head",head); jsonObject.put("head",head);
JSONArray body = new JSONArray(); JSONArray body = new JSONArray();

View File

@ -309,8 +309,8 @@ public class GoodsdocOutServiceImpl extends BaseService<GoodsdocOutEntity,String
head.put("cbustype", "普通销售");//创建人 head.put("cbustype", "普通销售");//创建人
head.put("crdcode", "203");//入库类别编码 head.put("crdcode", "203");//入库类别编码
head.put("cwhcode", goodsdocOutEntity.getWarehouseCode());//仓库编码 todo 正式需要切换为04009 head.put("cwhcode", goodsdocOutEntity.getWarehouseCode());//仓库编码 todo 正式需要切换为04009
// head.put("ddate", DateUtil.format(new Date(),"yyyy-MM-dd"));//销售类型 head.put("ddate", DateUtil.format(new Date(),"yyyy-MM-dd"));//销售类型
head.put("ddate", DateUtil.format(DateUtil.offsetDay(new Date(), -1), "yyyy-MM-dd"));//销售类型 // head.put("ddate", DateUtil.format(DateUtil.offsetDay(new Date(), -1), "yyyy-MM-dd"));//销售类型
head.put("ccuscode", goodsdocOutEntity.getCustCode());//todo 正式需要切换未这个客户 head.put("ccuscode", goodsdocOutEntity.getCustCode());//todo 正式需要切换未这个客户
head.put("cDefine1", "多组织-采购订单");// head.put("cDefine1", "多组织-采购订单");//
// head.put("ccuscode", "01010918");//客户 // head.put("ccuscode", "01010918");//客户
@ -357,8 +357,8 @@ public class GoodsdocOutServiceImpl extends BaseService<GoodsdocOutEntity,String
head.put("ccuscode", goodsdocOutEntity.getChannelCode()); head.put("ccuscode", goodsdocOutEntity.getChannelCode());
// head.put("ccuscode", "01010918");//客户 // head.put("ccuscode", "01010918");//客户
head.put("cstcode", "11");//销售类型 head.put("cstcode", "11");//销售类型
// head.put("ddate", DateUtil.format(new Date(), "yyyy-MM-dd"));//创建时间 head.put("ddate", DateUtil.format(new Date(), "yyyy-MM-dd"));//创建时间
head.put("ddate", DateUtil.format(DateUtil.offsetDay(new Date(), -1), "yyyy-MM-dd"));//创建时间 // head.put("ddate", DateUtil.format(DateUtil.offsetDay(new Date(), -1), "yyyy-MM-dd"));//创建时间
jsonObject.put("head", head); jsonObject.put("head", head);
JSONArray body = new JSONArray(); JSONArray body = new JSONArray();
if (CollectionUtils.isNotEmpty(goodsdocOutDetailEntityList)) { if (CollectionUtils.isNotEmpty(goodsdocOutDetailEntityList)) {