Toggle navigation
Toggle navigation
This project
Loading...
Sign in
ufo
/
ufo-platform
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
kun
7 years ago
Commit
c38fcc0c64d670a093839730c13e51464c2df36e
1 parent
c7c379be
修改sql
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
3 deletions
dal/src/main/resources/META-INF/mybatis/UfoProductColorMapper.xml
dal/src/main/resources/META-INF/mybatis/UfoProductColorMapper.xml
View file @
c38fcc0
...
...
@@ -26,15 +26,13 @@
<update
id=
"updateProductColor"
parameterType=
"com.yoho.ufo.model.commoditybasicrole.color.ProductColor"
>
update product_color
<set>
color_value = #{productColor.colorValue},
<if
test=
"productColor.colorName != null and productColor.colorName !=''"
>
color_name = #{productColor.colorName},
</if>
<if
test=
"productColor.colorCode != null and productColor.colorCode != ''"
>
color_code = #{productColor.colorCode},
</if>
<if
test=
"productColor.colorValue != null and productColor.colorValue != ''"
>
color_value = #{productColor.colorValue},
</if>
<if
test=
"productColor.createTime != null"
>
create_time = #{productColor.createTime},
</if>
...
...
Please
register
or
login
to post a comment