|
@@ -1109,6 +1109,8 @@ public class SyPackingListFabricServiceImpl extends ServiceImpl<SyPackingListFab
|
|
map5.put("IEXCHRATE",orderData.get("nflat"));//汇率(如果传空,接口默认1)cPayCode
|
|
map5.put("IEXCHRATE",orderData.get("nflat"));//汇率(如果传空,接口默认1)cPayCode
|
|
map.put("IEXCHRATE",orderData.get("nflat"));//汇率
|
|
map.put("IEXCHRATE",orderData.get("nflat"));//汇率
|
|
map.put("CEXCH_NAME",orderData.get("cexchname"));//CEXCH_NAME 币种名称
|
|
map.put("CEXCH_NAME",orderData.get("cexchname"));//CEXCH_NAME 币种名称
|
|
|
|
+ map7.put("IEXCHRATE",orderData.get("nflat"));//汇率
|
|
|
|
+ map7.put("CEXCH_NAME",orderData.get("cexchname"));//CEXCH_NAME 币种名称
|
|
//SYF128-森诺
|
|
//SYF128-森诺
|
|
if(!orderData.get("cexchname").equals("人民币")){//不为人民币
|
|
if(!orderData.get("cexchname").equals("人民币")){//不为人民币
|
|
SimpleDateFormat sf1 = new SimpleDateFormat("yyyy-M-dd");
|
|
SimpleDateFormat sf1 = new SimpleDateFormat("yyyy-M-dd");
|
|
@@ -1167,15 +1169,15 @@ public class SyPackingListFabricServiceImpl extends ServiceImpl<SyPackingListFab
|
|
map7.put("CACCID",mapt.get("account"));//账套号
|
|
map7.put("CACCID",mapt.get("account"));//账套号
|
|
|
|
|
|
if(mapt.get("account").equals("903")){
|
|
if(mapt.get("account").equals("903")){
|
|
- mapItem.put("CBATCH",item.getDyelotNumber());//缸号
|
|
|
|
- mapItem4.put("CBATCH",item.getDyelotNumber());//缸号
|
|
|
|
|
|
+ mapItem.put("CBATCH",item.getDyelotNumber());//批号-缸号
|
|
|
|
+ mapItem4.put("CBATCH",item.getDyelotNumber());//批号-缸号
|
|
}else{
|
|
}else{
|
|
- if(item.getDyelotNumber().indexOf("-")<0){
|
|
|
|
|
|
+ /*if(item.getPlanLotNumber().indexOf("-")<0){
|
|
throw new JeecgBootException("缸号不规范,请先进行维护在推送接口");
|
|
throw new JeecgBootException("缸号不规范,请先进行维护在推送接口");
|
|
- }
|
|
|
|
|
|
+ }*/
|
|
String cbatch=item.getDyelotNumber().substring(0,item.getDyelotNumber().indexOf("-"));
|
|
String cbatch=item.getDyelotNumber().substring(0,item.getDyelotNumber().indexOf("-"));
|
|
- mapItem.put("CBATCH",cbatch+num1);//缸号
|
|
|
|
- mapItem4.put("CBATCH",cbatch+num1);//缸号
|
|
|
|
|
|
+ mapItem.put("CBATCH",item.getPlanLotNumber());//缸号
|
|
|
|
+ mapItem4.put("CBATCH",item.getPlanLotNumber());//缸号
|
|
}
|
|
}
|
|
num1++;
|
|
num1++;
|
|
Map<String,Object> orderDataItem=null;// inum
|
|
Map<String,Object> orderDataItem=null;// inum
|
|
@@ -1282,9 +1284,9 @@ public class SyPackingListFabricServiceImpl extends ServiceImpl<SyPackingListFab
|
|
}
|
|
}
|
|
mapt.put("poid","one");//重置销售订单id
|
|
mapt.put("poid","one");//重置销售订单id
|
|
mapItem5.put("CDEFINE23",item.getDeclarationUnit());//报关单位
|
|
mapItem5.put("CDEFINE23",item.getDeclarationUnit());//报关单位
|
|
|
|
+ mapItem6.put("CDEFINE23",item.getDeclarationUnit());//报关单位
|
|
mapItem5.put("CDEFINE33",item.getDeclarationName());//报关品名
|
|
mapItem5.put("CDEFINE33",item.getDeclarationName());//报关品名
|
|
- mapItem6.put("CDEFINE31",item.getDeclarationUnit());//货物名称
|
|
|
|
- mapItem6.put("CDEFINE23",item.getDeclarationName());//报关单位
|
|
|
|
|
|
+ mapItem6.put("CDEFINE31",item.getDeclarationName());//货物名称
|
|
|
|
|
|
|
|
|
|
//if(item.getSyOrderDataItemId()!=null){//销售发货单 ---查询销售订单子表数据 顺序---5
|
|
//if(item.getSyOrderDataItemId()!=null){//销售发货单 ---查询销售订单子表数据 顺序---5
|
|
@@ -1323,11 +1325,11 @@ public class SyPackingListFabricServiceImpl extends ServiceImpl<SyPackingListFab
|
|
map6.put("CDEPCODE",order.get("cDepCode"));//部门编码(如果传空,取来源单据)
|
|
map6.put("CDEPCODE",order.get("cDepCode"));//部门编码(如果传空,取来源单据)
|
|
map6.put("SALETPYECODE",order.get("cSTCode"));//销售类型编码
|
|
map6.put("SALETPYECODE",order.get("cSTCode"));//销售类型编码
|
|
map6.put("IEXCHRATE",order.get("iExchRate"));//IEXCHRATE 汇率
|
|
map6.put("IEXCHRATE",order.get("iExchRate"));//IEXCHRATE 汇率
|
|
- map.put("IEXCHRATE",order.get("iExchRate"));//IEXCHRATE 汇率
|
|
|
|
map2.put("IEXCHRATE",order.get("iExchRate"));//IEXCHRATE 汇率
|
|
map2.put("IEXCHRATE",order.get("iExchRate"));//IEXCHRATE 汇率
|
|
map3.put("IEXCHRATE",order.get("iExchRate"));//IEXCHRATE 汇率
|
|
map3.put("IEXCHRATE",order.get("iExchRate"));//IEXCHRATE 汇率
|
|
map4.put("IEXCHRATE",order.get("iExchRate"));//IEXCHRATE 汇率
|
|
map4.put("IEXCHRATE",order.get("iExchRate"));//IEXCHRATE 汇率
|
|
- map.put("CEXCH_NAME",order.get("cexch_name"));//币种名称(如果传空,接口默认人民币)
|
|
|
|
|
|
+ /*map.put("IEXCHRATE",order.get("iExchRate"));//IEXCHRATE 汇率
|
|
|
|
+ map.put("CEXCH_NAME",order.get("cexch_name"));//币种名称(如果传空,接口默认人民币)*/
|
|
map2.put("CEXCH_NAME",order.get("cexch_name"));//币种名称(如果传空,接口默认人民币)
|
|
map2.put("CEXCH_NAME",order.get("cexch_name"));//币种名称(如果传空,接口默认人民币)
|
|
map3.put("CEXCH_NAME",order.get("cexch_name"));//币种名称(如果传空,传来源单据;无来源单据,默认人民币)
|
|
map3.put("CEXCH_NAME",order.get("cexch_name"));//币种名称(如果传空,传来源单据;无来源单据,默认人民币)
|
|
map4.put("CEXCH_NAME",order.get("cexch_name"));//CEXCH_NAME 币种名称
|
|
map4.put("CEXCH_NAME",order.get("cexch_name"));//CEXCH_NAME 币种名称
|