Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gk
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
micro_app
gk
Commits
904adec0
Commit
904adec0
authored
Jun 25, 2025
by
Administrator
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增赛包表字段
parent
6d1f25e7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
9 deletions
+30
-9
BagDelivery.java
...a/com/dlbridge/jadp/plugins/partner/bean/BagDelivery.java
+12
-3
BagDeliveryMapper.xml
...lbridge/jadp/plugins/partner/mapper/BagDeliveryMapper.xml
+18
-6
No files found.
src/main/java/com/dlbridge/jadp/plugins/partner/bean/BagDelivery.java
View file @
904adec0
...
...
@@ -39,15 +39,24 @@ public class BagDelivery extends JaapRecord<BagDelivery> {
@ApiModelProperty
(
value
=
"手机号"
,
notes
=
"手机号"
)
private
String
phone
;
@ApiModelProperty
(
value
=
"地区(大陆、港澳台、国外)"
,
notes
=
"地区(大陆、港澳台、国外)"
)
private
String
area
;
@ApiModelProperty
(
value
=
"省"
,
notes
=
"省"
)
private
String
province
;
@ApiModelProperty
(
value
=
"省代码"
,
notes
=
"省代码"
)
private
String
provinceCode
;
@ApiModelProperty
(
value
=
"市"
,
notes
=
"市"
)
private
String
city
;
@ApiModelProperty
(
value
=
"市代码"
,
notes
=
"市代码"
)
private
String
cityCode
;
@ApiModelProperty
(
value
=
"区"
,
notes
=
"区)"
)
private
String
area
;
@ApiModelProperty
(
value
=
"区代码"
,
notes
=
"区代码)"
)
private
String
areaCode
;
@ApiModelProperty
(
value
=
"详细地址"
,
notes
=
"详细地址"
)
private
String
location
;
...
...
src/main/java/com/dlbridge/jadp/plugins/partner/mapper/BagDeliveryMapper.xml
View file @
904adec0
...
...
@@ -3,8 +3,8 @@
<mapper
namespace=
"com.dlbridge.jadp.plugins.partner.mapper.BagDeliveryMapper"
>
<insert
id=
"insertBagDelivery"
>
insert into bag_delivery(cmpt_id ,name,mark_no,phone,
area,province,city
,location,delivery_no,express_company,remark,status,del_flag,create_date)
values( #{bag.cmptId},#{bag.name},#{bag.markNo},#{bag.phone},#{bag.
area},#{bag.province},#{bag.city
},#{bag.location},#{bag.deliveryNo},#{bag.expressCompany},#{bag.remark},1,0,now())
insert into bag_delivery(cmpt_id ,name,mark_no,phone,
province,province_code,city,city_code,area,area_code
,location,delivery_no,express_company,remark,status,del_flag,create_date)
values( #{bag.cmptId},#{bag.name},#{bag.markNo},#{bag.phone},#{bag.
province},#{bag.provinceCode},#{bag.city},#{bag.cityCode},#{bag.area},#{bag.areaCode
},#{bag.location},#{bag.deliveryNo},#{bag.expressCompany},#{bag.remark},1,0,now())
</insert>
<update
id=
"delBagDelivery"
>
...
...
@@ -24,15 +24,24 @@
<if
test=
"phone != null"
>
,phone=#{phone}
</if>
<if
test=
"area != null"
>
,area=#{area}
</if>
<if
test=
"province != null"
>
,province=#{province}
</if>
<if
test=
"provinceCode != null"
>
,province_code=#{provinceCode}
</if>
<if
test=
"city != null"
>
,city=#{city}
</if>
<if
test=
"cityCode != null"
>
,city_code=#{cityCode}
</if>
<if
test=
"area != null"
>
,area=#{area}
</if>
<if
test=
"areaCode != null"
>
,area_code=#{areaCode}
</if>
<if
test=
"location != null"
>
,location=#{location}
</if>
...
...
@@ -60,9 +69,12 @@
name,
mark_no markNo,
phone,
area,
province,
province_code provinceCode,
city,
city_code cityCode,
area,
area_code areaCode,
location,
delivery_no deliveryNo,
express_company expressCompany,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment