Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
W
wangxiaolu-sfa-module-job
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
sfa
wangxiaolu-sfa-module-job
Commits
8ffabf74
提交
8ffabf74
authored
9月 16, 2025
作者:
000516
浏览文件
操作
浏览文件
下载
差异文件
axmr005添加资料录入日期 起运日期 运输方式说明 批号 增加重客
上级
84b1bf8c
14c81126
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
10 行增加
和
38 行删除
+10
-38
ErpAxmr005ServiceImpl.java
...a/com/sfa/job/service/erp/impl/ErpAxmr005ServiceImpl.java
+1
-1
ErpAxmr005ShippingDetailsMapper.xml
.../resources/mapper/erp/ErpAxmr005ShippingDetailsMapper.xml
+9
-37
没有找到文件。
src/main/java/com/sfa/job/service/erp/impl/ErpAxmr005ServiceImpl.java
浏览文件 @
8ffabf74
...
@@ -39,7 +39,7 @@ public class ErpAxmr005ServiceImpl implements ErpAxmr005Service {
...
@@ -39,7 +39,7 @@ public class ErpAxmr005ServiceImpl implements ErpAxmr005Service {
/**
/**
* 将结果推送到飞书表格,每次推100条
* 将结果推送到飞书表格,每次推100条
*/
*/
String
range
=
recordDto
.
getSheetId
()
+
"!A:
H
"
;
String
range
=
recordDto
.
getSheetId
()
+
"!A:
L
"
;
String
tenantAccessToken
=
feiShuUtil
.
getBotToken1
();
String
tenantAccessToken
=
feiShuUtil
.
getBotToken1
();
int
batchSize
=
100
;
int
batchSize
=
100
;
for
(
int
i
=
0
;
i
<
zhanquDataset
.
size
();
i
+=
batchSize
)
{
for
(
int
i
=
0
;
i
<
zhanquDataset
.
size
();
i
+=
batchSize
)
{
...
...
src/main/resources/mapper/erp/ErpAxmr005ShippingDetailsMapper.xml
浏览文件 @
8ffabf74
...
@@ -114,44 +114,12 @@
...
@@ -114,44 +114,12 @@
<result
property=
"quantity"
column=
"quantity"
jdbcType=
"INTEGER"
/>
<result
property=
"quantity"
column=
"quantity"
jdbcType=
"INTEGER"
/>
<result
property=
"shippingUnit"
column=
"shipping_unit"
jdbcType=
"VARCHAR"
/>
<result
property=
"shippingUnit"
column=
"shipping_unit"
jdbcType=
"VARCHAR"
/>
<result
property=
"thirdPartySystemCode"
column=
"third_party_system_code"
jdbcType=
"VARCHAR"
/>
<result
property=
"thirdPartySystemCode"
column=
"third_party_system_code"
jdbcType=
"VARCHAR"
/>
<result
property=
"dataEntryDate"
column=
"data_entry_date"
jdbcType=
"DATE"
/>
<result
property=
"shippingDate"
column=
"shipping_date"
jdbcType=
"DATE"
/>
<result
property=
"transportationMethodDescription"
column=
"transportation_method_description"
jdbcType=
"VARCHAR"
/>
<result
property=
"batchNumber"
column=
"batch_number"
jdbcType=
"VARCHAR"
/>
</resultMap>
</resultMap>
<sql
id=
"Base_Column_List"
>
shipping_order_number,item_sequence,operating_site,
document_date,debit_date,shipping_date,
shipping_nature,status,sales_return_method,
sales_staff,sales_staff_name,sales_department,
sales_department_abbr,order_customer,customer_abbr,
receiving_customer,receiving_customer_abbr,payment_customer,
payment_customer_abbr,country,country_description,
province,province_description,county_city,
county_city_description,administrative_region,administrative_region_description,
delivery_address,address,transportation_method,
transportation_method_description,express_number,order_number,
item_sequence_again,order_status,item_order,
batch_sequence,customer_order_number,customer_material_number,
customer_material_name,customer_material_specification,sub_part_feature,
product_category,product_category_description,sales_group,
sales_group_description,material_number,product_name,
product_specification,brand,weight_gram,
taste_description,weight_gram_again,weight_gram_description,
product_feature,product_feature_description,quantity,
shipping_unit,accepted_quantity,signed_back_quantity,
unsigned_quantity,storage_location,storage_location_name,
storage_position,storage_position_name,batch_number,
inventory_management_feature,remarks,unit_price,
amount_with_tax,tax_amount,currency,
exchange_rate,local_pre_tax_amount,local_amount_with_tax,
local_tax_amount,discount_amount,discount_amount_invoice,
multi_angle_sequence_number,customer_category,customer_category_description,
sales_channel,sales_channel_description,order_type,
type_description,remarks_again,logistics_remarks,
third_party_system_code,data_entry_date,payment_type_description,
order_split_status,base_unit,order_base_unit_quantity,
standard_cost,actual_cost,collection_batch,
collection_time
</sql>
<select
id=
"getZhanquDataset"
resultMap=
"ZhanquMap"
>
<select
id=
"getZhanquDataset"
resultMap=
"ZhanquMap"
>
select (@row_number := @row_number + 1) as id,
select (@row_number := @row_number + 1) as id,
shipping_order_number,
shipping_order_number,
...
@@ -161,12 +129,16 @@
...
@@ -161,12 +129,16 @@
product_name,
product_name,
quantity,
quantity,
third_party_system_code
third_party_system_code
,data_entry_date
,shipping_date
,transportation_method_description
,batch_number
from erp_axmr005_shipping_details,
from erp_axmr005_shipping_details,
(SELECT @row_number := 0) AS r
(SELECT @row_number := 0) AS r
where operating_site = 'AHSD'
where operating_site = 'AHSD'
and customer_category = 'A'
and customer_category = 'A'
and debit_date = DATE(#{date})
and debit_date = DATE(#{date})
and shipping_unit = '箱'
and shipping_unit = '箱'
and (sales_department_abbr like '%战区' or sales_department_abbr like '北京%')
and (sales_department_abbr like '%战区' or sales_department_abbr like '北京%'
or sales_department_abbr like '重客%'
)
</select>
</select>
</mapper>
</mapper>
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论