Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
eshiled-new
/
ne-shield-reportcenter
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit c925e458
authored
Dec 18, 2020
by
111-PC\111
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
[+]mybatis逆向工程添加
1 parent
ff870bf3
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
2 deletions
src/main/java/cn/com/glsx/report/modules/controller/ChannelRiskDataController.java
src/main/resources/mapper/ChannelRiskDataMapper.xml
src/main/java/cn/com/glsx/report/modules/controller/ChannelRiskDataController.java
View file @
c925e45
...
@@ -9,7 +9,6 @@ import com.glsx.plat.core.web.R;
...
@@ -9,7 +9,6 @@ import com.glsx.plat.core.web.R;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiOperation
;
import
io.swagger.annotations.ApiOperation
;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
import
org.apache.commons.lang.StringUtils
;
import
org.springframework.web.bind.annotation.GetMapping
;
import
org.springframework.web.bind.annotation.GetMapping
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestParam
;
import
org.springframework.web.bind.annotation.RequestParam
;
...
...
src/main/resources/mapper/ChannelRiskDataMapper.xml
View file @
c925e45
...
@@ -33,7 +33,7 @@
...
@@ -33,7 +33,7 @@
active_date,owner_name,vin,sn,address,lng,lat,zone
active_date,owner_name,vin,sn,address,lng,lat,zone
FROM t_channel_risk_data
FROM t_channel_risk_data
<if
test=
"isExcep == 'true'"
>
<if
test=
"isExcep == 'true'"
>
where type=1 and labels
!
=-1
where type=1 and labels=-1
</if>
</if>
<if
test=
"isExcep == 'false'"
>
<if
test=
"isExcep == 'false'"
>
where type=0
where type=0
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment