Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gxpt_ht
Overview
Overview
Details
Activity
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
pseer
gxpt_ht
Commits
0af9a2db
Commit
0af9a2db
authored
Jan 25, 2024
by
吕明尚
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改设备查询的BUG
parent
0c1ed350
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
+3
-2
SConsumerCouponServiceImpl.java
...share/system/service/impl/SConsumerCouponServiceImpl.java
+1
-0
DeviceGatewayMapper.xml
.../src/main/resources/mapper/system/DeviceGatewayMapper.xml
+1
-1
DeviceMapper.xml
...-system/src/main/resources/mapper/system/DeviceMapper.xml
+1
-1
No files found.
share-system/src/main/java/share/system/service/impl/SConsumerCouponServiceImpl.java
View file @
0af9a2db
...
...
@@ -405,6 +405,7 @@ public class SConsumerCouponServiceImpl extends ServiceImpl<SConsumerCouponMappe
newSConsumerCoupon
.
setStartDate
(
sCoupon
.
getStartDate
());
newSConsumerCoupon
.
setEndDate
(
sCoupon
.
getEndDate
());
newSConsumerCoupon
.
setRemark
(
sCoupon
.
getRemark
());
newSConsumerCoupon
.
setCreateTime
(
new
Date
());
int
insert
=
baseMapper
.
insert
(
newSConsumerCoupon
);
if
(
insert
>
0
)
{
//优惠券数量减一
...
...
share-system/src/main/resources/mapper/system/DeviceGatewayMapper.xml
View file @
0af9a2db
...
...
@@ -67,7 +67,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"devPsw != null and devPsw != ''"
>
and t1.dev_psw = #{devPsw}
</if>
<if
test=
"devVer != null and devVer != ''"
>
and t1.dev_ver = #{devVer}
</if>
<if
test=
"devType != null and devType != ''"
>
and t1.dev_type = #{devType}
</if>
<if
test=
"group != null and group != ''"
>
and
`groupt1.`
= #{group}
</if>
<if
test=
"group != null and group != ''"
>
and
t1.group
= #{group}
</if>
<if
test=
"status != null and status != ''"
>
and t1.status = #{status}
</if>
<if
test=
"mqttIp != null and mqttIp != ''"
>
and t1.mqtt_iP = #{mqttIp}
</if>
<if
test=
"mqttPort != null and mqttPort != ''"
>
and t1.mqtt_port = #{mqttPort}
</if>
...
...
share-system/src/main/resources/mapper/system/DeviceMapper.xml
View file @
0af9a2db
...
...
@@ -69,7 +69,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"devType != null and devType != ''"
>
and t1.dev_type = #{devType}
</if>
<if
test=
"projtId != null and projtId != ''"
>
and t1.projt_id = #{projtId}
</if>
<if
test=
"projtPsw != null and projtPsw != ''"
>
and t1.projt_psw = #{projtPsw}
</if>
<if
test=
"group != null and group != ''"
>
and
`groupt1.`
= #{group}
</if>
<if
test=
"group != null and group != ''"
>
and
t1.group
= #{group}
</if>
<if
test=
"status != null and status != ''"
>
and t1.status = #{status}
</if>
<if
test=
"devPosition != null and devPosition != ''"
>
and t1.dev_position = #{devPosition}
</if>
<if
test=
"gatewayId != null and gatewayId != ''"
>
and t1.gateway_id = #{gatewayId}
</if>
...
...
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