|
|
@ -105,11 +105,11 @@ public class CJTCreateLarkTableJob{
|
|
|
|
switch (appType){
|
|
|
|
switch (appType){
|
|
|
|
case SYNC_CJT_MANUFACTURE_ORDER_DATA_TO_MULTI_TABLE:
|
|
|
|
case SYNC_CJT_MANUFACTURE_ORDER_DATA_TO_MULTI_TABLE:
|
|
|
|
return new AppTableCreateHeader[]{
|
|
|
|
return new AppTableCreateHeader[]{
|
|
|
|
buildHeader("单据日期", AppTableCreateHeaderTypeEnum.TEXT),
|
|
|
|
buildPropertyHeader("单据日期", AppTableCreateHeaderTypeEnum.DATETIME,buildProperty(DateUtils.YYYYMMDD_SECOND)),
|
|
|
|
buildHeader("存货编码", AppTableCreateHeaderTypeEnum.TEXT),
|
|
|
|
buildHeader("存货编码", AppTableCreateHeaderTypeEnum.TEXT),
|
|
|
|
buildHeader("存货", AppTableCreateHeaderTypeEnum.TEXT),
|
|
|
|
buildHeader("存货", AppTableCreateHeaderTypeEnum.TEXT),
|
|
|
|
buildHeader("钢板面", AppTableCreateHeaderTypeEnum.TEXT),
|
|
|
|
buildHeader("钢板面", AppTableCreateHeaderTypeEnum.TEXT),
|
|
|
|
buildHeader("创建时间", AppTableCreateHeaderTypeEnum.TEXT),
|
|
|
|
buildPropertyHeader("创建时间", AppTableCreateHeaderTypeEnum.DATETIME,buildProperty(DateUtils.YYYY_MM_DD_SECOND)),
|
|
|
|
buildHeader("生产车间", AppTableCreateHeaderTypeEnum.TEXT),
|
|
|
|
buildHeader("生产车间", AppTableCreateHeaderTypeEnum.TEXT),
|
|
|
|
buildHeader("负责人", AppTableCreateHeaderTypeEnum.TEXT),
|
|
|
|
buildHeader("负责人", AppTableCreateHeaderTypeEnum.TEXT),
|
|
|
|
buildHeader("产品编码", AppTableCreateHeaderTypeEnum.TEXT),
|
|
|
|
buildHeader("产品编码", AppTableCreateHeaderTypeEnum.TEXT),
|
|
|
@ -129,7 +129,7 @@ public class CJTCreateLarkTableJob{
|
|
|
|
buildHeader("规格型号", AppTableCreateHeaderTypeEnum.TEXT),
|
|
|
|
buildHeader("规格型号", AppTableCreateHeaderTypeEnum.TEXT),
|
|
|
|
buildHeader("采购单位", AppTableCreateHeaderTypeEnum.TEXT),
|
|
|
|
buildHeader("采购单位", AppTableCreateHeaderTypeEnum.TEXT),
|
|
|
|
buildPropertyHeader("数量", AppTableCreateHeaderTypeEnum.NUMBER,buildProperty("0")),
|
|
|
|
buildPropertyHeader("数量", AppTableCreateHeaderTypeEnum.NUMBER,buildProperty("0")),
|
|
|
|
buildHeader("单据日期", AppTableCreateHeaderTypeEnum.TEXT),
|
|
|
|
buildPropertyHeader("单据日期", AppTableCreateHeaderTypeEnum.DATETIME,buildProperty(DateUtils.YYYYMMDD_SECOND)),
|
|
|
|
buildPropertyHeader("创建时间", AppTableCreateHeaderTypeEnum.DATETIME,buildProperty(DateUtils.YYYY_MM_DD_SECOND)),
|
|
|
|
buildPropertyHeader("创建时间", AppTableCreateHeaderTypeEnum.DATETIME,buildProperty(DateUtils.YYYY_MM_DD_SECOND)),
|
|
|
|
buildHeader("单据编号", AppTableCreateHeaderTypeEnum.TEXT),
|
|
|
|
buildHeader("单据编号", AppTableCreateHeaderTypeEnum.TEXT),
|
|
|
|
buildHeader("供应商", AppTableCreateHeaderTypeEnum.TEXT),
|
|
|
|
buildHeader("供应商", AppTableCreateHeaderTypeEnum.TEXT),
|
|
|
@ -140,7 +140,7 @@ public class CJTCreateLarkTableJob{
|
|
|
|
};
|
|
|
|
};
|
|
|
|
case SYNC_CJT_PURCHASE_ORDER_DATA_TO_MULTI_TABLE:
|
|
|
|
case SYNC_CJT_PURCHASE_ORDER_DATA_TO_MULTI_TABLE:
|
|
|
|
return new AppTableCreateHeader[]{
|
|
|
|
return new AppTableCreateHeader[]{
|
|
|
|
buildHeader("单据日期", AppTableCreateHeaderTypeEnum.TEXT),
|
|
|
|
buildPropertyHeader("单据日期", AppTableCreateHeaderTypeEnum.DATETIME,buildProperty(DateUtils.YYYYMMDD_SECOND)),
|
|
|
|
buildHeader("单据编号", AppTableCreateHeaderTypeEnum.TEXT),
|
|
|
|
buildHeader("单据编号", AppTableCreateHeaderTypeEnum.TEXT),
|
|
|
|
buildHeader("供应商", AppTableCreateHeaderTypeEnum.TEXT),
|
|
|
|
buildHeader("供应商", AppTableCreateHeaderTypeEnum.TEXT),
|
|
|
|
buildHeader("存货编码", AppTableCreateHeaderTypeEnum.TEXT),
|
|
|
|
buildHeader("存货编码", AppTableCreateHeaderTypeEnum.TEXT),
|
|
|
@ -148,7 +148,7 @@ public class CJTCreateLarkTableJob{
|
|
|
|
buildHeader("规格型号", AppTableCreateHeaderTypeEnum.TEXT),
|
|
|
|
buildHeader("规格型号", AppTableCreateHeaderTypeEnum.TEXT),
|
|
|
|
buildPropertyHeader("数量", AppTableCreateHeaderTypeEnum.NUMBER,buildProperty("0")),
|
|
|
|
buildPropertyHeader("数量", AppTableCreateHeaderTypeEnum.NUMBER,buildProperty("0")),
|
|
|
|
buildHeader("采购单位", AppTableCreateHeaderTypeEnum.TEXT),
|
|
|
|
buildHeader("采购单位", AppTableCreateHeaderTypeEnum.TEXT),
|
|
|
|
buildHeader("预计到货日期", AppTableCreateHeaderTypeEnum.TEXT),
|
|
|
|
buildPropertyHeader("预计到货日期", AppTableCreateHeaderTypeEnum.DATETIME,buildProperty(DateUtils.YYYYMMDD_SECOND)),
|
|
|
|
buildHeader("销售订单号", AppTableCreateHeaderTypeEnum.TEXT),
|
|
|
|
buildHeader("销售订单号", AppTableCreateHeaderTypeEnum.TEXT),
|
|
|
|
buildHeader("明细备注", AppTableCreateHeaderTypeEnum.TEXT)
|
|
|
|
buildHeader("明细备注", AppTableCreateHeaderTypeEnum.TEXT)
|
|
|
|
};
|
|
|
|
};
|
|
|
@ -158,8 +158,8 @@ public class CJTCreateLarkTableJob{
|
|
|
|
buildHeader("客户", AppTableCreateHeaderTypeEnum.TEXT),
|
|
|
|
buildHeader("客户", AppTableCreateHeaderTypeEnum.TEXT),
|
|
|
|
buildHeader("业务类型", AppTableCreateHeaderTypeEnum.TEXT),
|
|
|
|
buildHeader("业务类型", AppTableCreateHeaderTypeEnum.TEXT),
|
|
|
|
buildPropertyHeader("创建时间", AppTableCreateHeaderTypeEnum.DATETIME,buildProperty(DateUtils.YYYY_MM_DD_SECOND)),
|
|
|
|
buildPropertyHeader("创建时间", AppTableCreateHeaderTypeEnum.DATETIME,buildProperty(DateUtils.YYYY_MM_DD_SECOND)),
|
|
|
|
buildHeader("审核时间", AppTableCreateHeaderTypeEnum.TEXT),
|
|
|
|
buildPropertyHeader("审核时间", AppTableCreateHeaderTypeEnum.DATETIME,buildProperty(DateUtils.YYYYMMDD_SECOND)),
|
|
|
|
buildHeader("单据日期", AppTableCreateHeaderTypeEnum.TEXT),
|
|
|
|
buildPropertyHeader("单据日期", AppTableCreateHeaderTypeEnum.DATETIME,buildProperty(DateUtils.YYYYMMDD_SECOND)),
|
|
|
|
buildHeader("销售订单号", AppTableCreateHeaderTypeEnum.TEXT),
|
|
|
|
buildHeader("销售订单号", AppTableCreateHeaderTypeEnum.TEXT),
|
|
|
|
buildHeader("存货编码", AppTableCreateHeaderTypeEnum.TEXT),
|
|
|
|
buildHeader("存货编码", AppTableCreateHeaderTypeEnum.TEXT),
|
|
|
|
buildHeader("存货", AppTableCreateHeaderTypeEnum.TEXT),
|
|
|
|
buildHeader("存货", AppTableCreateHeaderTypeEnum.TEXT),
|
|
|
@ -173,11 +173,11 @@ public class CJTCreateLarkTableJob{
|
|
|
|
};
|
|
|
|
};
|
|
|
|
case SYNC_CJT_SALE_ORDER_DATA_TO_MULTI_TABLE:
|
|
|
|
case SYNC_CJT_SALE_ORDER_DATA_TO_MULTI_TABLE:
|
|
|
|
return new AppTableCreateHeader[]{
|
|
|
|
return new AppTableCreateHeader[]{
|
|
|
|
buildHeader("单据日期", AppTableCreateHeaderTypeEnum.TEXT),
|
|
|
|
buildPropertyHeader("单据日期", AppTableCreateHeaderTypeEnum.DATETIME,buildProperty(DateUtils.YYYYMMDD_SECOND)),
|
|
|
|
buildHeader("编号", AppTableCreateHeaderTypeEnum.TEXT),
|
|
|
|
buildHeader("编号", AppTableCreateHeaderTypeEnum.TEXT),
|
|
|
|
buildPropertyHeader("生单时间", AppTableCreateHeaderTypeEnum.DATETIME,buildProperty(DateUtils.YYYY_MM_DD_SECOND)),
|
|
|
|
buildPropertyHeader("生单时间", AppTableCreateHeaderTypeEnum.DATETIME,buildProperty(DateUtils.YYYY_MM_DD_SECOND)),
|
|
|
|
buildHeader("客户", AppTableCreateHeaderTypeEnum.TEXT),
|
|
|
|
buildHeader("客户", AppTableCreateHeaderTypeEnum.TEXT),
|
|
|
|
buildHeader("审核日期", AppTableCreateHeaderTypeEnum.TEXT),
|
|
|
|
buildPropertyHeader("审核日期", AppTableCreateHeaderTypeEnum.DATETIME,buildProperty(DateUtils.YYYYMMDD_SECOND)),
|
|
|
|
buildHeader("单据状态", AppTableCreateHeaderTypeEnum.TEXT),
|
|
|
|
buildHeader("单据状态", AppTableCreateHeaderTypeEnum.TEXT),
|
|
|
|
buildHeader("存货编码", AppTableCreateHeaderTypeEnum.TEXT),
|
|
|
|
buildHeader("存货编码", AppTableCreateHeaderTypeEnum.TEXT),
|
|
|
|
buildHeader("存货", AppTableCreateHeaderTypeEnum.TEXT),
|
|
|
|
buildHeader("存货", AppTableCreateHeaderTypeEnum.TEXT),
|
|
|
@ -193,7 +193,7 @@ public class CJTCreateLarkTableJob{
|
|
|
|
case SYNC_CJT_SALE_DISPATCH_DATA_TO_MULTI_TABLE:
|
|
|
|
case SYNC_CJT_SALE_DISPATCH_DATA_TO_MULTI_TABLE:
|
|
|
|
return new AppTableCreateHeader[]{
|
|
|
|
return new AppTableCreateHeader[]{
|
|
|
|
buildHeader("来源单号", AppTableCreateHeaderTypeEnum.TEXT),
|
|
|
|
buildHeader("来源单号", AppTableCreateHeaderTypeEnum.TEXT),
|
|
|
|
buildHeader("单据日期", AppTableCreateHeaderTypeEnum.TEXT),
|
|
|
|
buildPropertyHeader("单据日期", AppTableCreateHeaderTypeEnum.DATETIME,buildProperty(DateUtils.YYYYMMDD_SECOND)),
|
|
|
|
buildHeader("单据编号", AppTableCreateHeaderTypeEnum.TEXT),
|
|
|
|
buildHeader("单据编号", AppTableCreateHeaderTypeEnum.TEXT),
|
|
|
|
buildHeader("客户", AppTableCreateHeaderTypeEnum.TEXT),
|
|
|
|
buildHeader("客户", AppTableCreateHeaderTypeEnum.TEXT),
|
|
|
|
buildHeader("客户编码", AppTableCreateHeaderTypeEnum.TEXT),
|
|
|
|
buildHeader("客户编码", AppTableCreateHeaderTypeEnum.TEXT),
|
|
|
|