畅捷通账号二唯一键修改
continuous-integration/drone/push Build is passing Details

畅捷通报表
YXY 1 year ago
parent 31b6e3a177
commit 093ffe7098

@ -47,6 +47,14 @@ public class ManufactureOrderSyncJob extends SyncAccountsJobAbstract {
@Override
protected List<String> getUniqueFields(String cjt) {
CjtAccountEnum cjtAccountEnum = CjtAccountEnum.getByCode(cjt);
if (cjtAccountEnum != null && cjtAccountEnum.equals(CjtAccountEnum.TWO)){
return Arrays.asList(
"manufactureorderdetails_priuserdefnvc1",//合并字段
"manufactureorderdetails_pubuserdefnvc2",//备注1
"manufactureorderdetails_quantity");//数量
}
return Arrays.asList(
"code",
"manufactureorderdetails_inventory_code",

@ -47,8 +47,18 @@ public class SaleDeliverySyncJob extends SyncAccountsJobAbstract {
@Override
protected List<String> getUniqueFields(String cjt) {
CjtAccountEnum cjtAccountEnum = CjtAccountEnum.getByCode(cjt);
if (cjtAccountEnum != null && cjtAccountEnum.equals(CjtAccountEnum.TWO)){
return Arrays.asList(
"code",//单据编号
"saledeliverydetails_saleordercode",//销售订单号
"saledeliverydetails_inventory_code",//存货编码
"saledeliverydetails_quantity",//数量
"memo");//备注1
}
List<String> list = new ArrayList<>(Arrays.asList(
"code",
"code",//单据编号
"saledeliverydetails_inventory_code",
"saledeliverydetails_detailmemo"));
return list;

@ -46,6 +46,15 @@ public class SaleOrderSyncJob extends SyncAccountsJobAbstract{
@Override
protected List<String> getUniqueFields(String cjt) {
CjtAccountEnum cjtAccountEnum = CjtAccountEnum.getByCode(cjt);
if (cjtAccountEnum != null && cjtAccountEnum.equals(CjtAccountEnum.TWO)){
return Arrays.asList(
"code",//编号
"saleorderdetails_inventory_code",//存货编码
"saleorderdetails_pubuserdefnvc1",//钢板面
"saleorderdetails_detailmemo");//明细备注
}
List<String> list = Arrays.asList(
"code",
"saleorderdetails_inventory_code",

Loading…
Cancel
Save