Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
youka-manage
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
java-youka-wallet
youka-manage
Commits
e7c130d3
Commit
e7c130d3
authored
Apr 18, 2018
by
Java-聂换换
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
汇率
parent
3bed3cc7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
YoukaRateService.java
src/main/java/com/thinkgem/jeesite/modules/youka/service/YoukaRateService.java
+1
-1
YoukaRateDao.xml
src/main/resources/mappings/modules/youka/YoukaRateDao.xml
+1
-1
rateList.jsp
src/main/webapp/WEB-INF/views/modules/youka/rate/rateList.jsp
+1
-1
No files found.
src/main/java/com/thinkgem/jeesite/modules/youka/service/YoukaRateService.java
View file @
e7c130d3
...
...
@@ -34,7 +34,7 @@ public class YoukaRateService extends CrudService<YoukaRateDao, YoukaRate> {
// List<YoukaRate> list = entity.getList();
// for(YoukaRate youkaRate:list){
// youkaRate.setUserLevel(entity.getUserLevel());
if
(
youkaRate
.
get
Id
()
==
null
||
""
.
equals
(
youkaRate
.
getId
())){
if
(
youkaRate
.
get
Code
()
==
null
||
""
.
equals
(
youkaRate
.
getCode
())){
youkaRate
.
setCode
(
IdGen
.
randomBase62
(
64
));
youkaRate
.
preInsert
();
dao
.
insert
(
youkaRate
);
...
...
src/main/resources/mappings/modules/youka/YoukaRateDao.xml
View file @
e7c130d3
...
...
@@ -127,7 +127,7 @@
yr.day_limit = #{dayLimit},
yr.update_date = #{updateDate},
yr.update_by = #{updateBy.id}
WHERE
id = #{id
}
WHERE
code = #{code
}
</update>
...
...
src/main/webapp/WEB-INF/views/modules/youka/rate/rateList.jsp
View file @
e7c130d3
...
...
@@ -106,7 +106,7 @@
<td>
${indexs.index}
</td>
<td>
<input
name=
"payMethod"
value=
"${youkaRate.payMethod}"
style=
"display: none"
/>
<input
name=
"code"
value=
"${
youkaRate
.code}"
style=
"display: none"
/>
<input
name=
"code"
value=
"${
rateEntity
.code}"
style=
"display: none"
/>
<input
name=
"payChannel"
value=
"${youkaRate.payChannel}"
style=
"display: none"
/>
<input
name=
"userLevel"
value=
"${userLevel.level}"
style=
"display: none"
/>
<span>
${userLevel.name}
</span>
...
...
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