Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
sv-springboot
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
bsoft
sv-springboot
Commits
153d06c8
Commit
153d06c8
authored
Nov 05, 2019
by
Suvalue
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
维度板块数值接口修改
parent
18b7910e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
1 deletions
+24
-1
bsoft-api/src/main/java/com/bsoft/api/mapper/SerDimValueMapper.java
+23
-0
bsoft-api/src/main/resources/mapper/DicDimMapper.xml
+1
-1
No files found.
bsoft-api/src/main/java/com/bsoft/api/mapper/SerDimValueMapper.java
0 → 100644
View file @
153d06c8
package
com
.
bsoft
.
api
.
mapper
;
import
com.bsoft.api.model.SerDimValue
;
import
org.apache.ibatis.annotations.Param
;
import
java.math.BigDecimal
;
import
java.util.List
;
public
interface
SerDimValueMapper
{
int
deleteByPrimaryKey
(
BigDecimal
id
);
int
insert
(
SerDimValue
record
);
SerDimValue
selectByPrimaryKey
(
BigDecimal
id
);
List
<
SerDimValue
>
selectAll
();
int
updateByPrimaryKey
(
SerDimValue
record
);
List
<
SerDimValue
>
selectByDimId
(
@Param
(
"pageCode"
)
String
pageCode
,
@Param
(
"orgId"
)
Long
orgId
,
@Param
(
"dimId"
)
Long
dimId
,
@Param
(
"date"
)
String
date
);
}
\ No newline at end of file
bsoft-api/src/main/resources/mapper/DicDimMapper.xml
View file @
153d06c8
...
...
@@ -50,7 +50,7 @@
<select
id=
"selectByPageCode"
resultMap=
"BaseResultMap"
>
SELECT d.*
from DIC_DIM d
LEFT
JOIN(
JOIN(
SELECT DISTINCT pdr.DIM_ID FROM SER_PAGE_DIM_RS pdr LEFT JOIN SER_PAGE p ON pdr.PAGE_ID = p.ID AND p.PAGE_CODE =#{pageCode,jdbcType=VARCHAR}) d2
on d.ID=d2.DIM_ID
</select>
...
...
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