glj-代码提交
This commit is contained in:
parent
46143be9f7
commit
f75f6404b8
|
@ -39,10 +39,7 @@ public class ToolController{
|
|||
queryWrapper.like("tool_name", tool.getToolName());
|
||||
}
|
||||
if(!StringUtils.isEmpty(tool.getLabel())){
|
||||
queryWrapper.like("Introduction", tool.getLabel());
|
||||
}
|
||||
if(!StringUtils.isEmpty(tool.getLabel())){
|
||||
queryWrapper.like("label", tool.getLabel());
|
||||
queryWrapper.like("Introduction", tool.getLabel()).or().like("label", tool.getLabel());
|
||||
}
|
||||
String checkd = tool.getChecked();
|
||||
if(checkd != null && checkd.equals("1")){
|
||||
|
|
|
@ -28,9 +28,9 @@
|
|||
</update>
|
||||
|
||||
<update id="updateAccount">
|
||||
update blade_user t set t.name = #{name}, t.real_name = #{realName}, t.organization = #{organization},
|
||||
t.research_field = #{researchField}, t.occupation = #{occupation}, t.code = #{country}
|
||||
where t.id = #{id}
|
||||
update blade_user t set t.name = #{userVo.name}, t.real_name = #{userVo.realName}, t.organization = #{userVo.organization},
|
||||
t.research_field = #{userVo.researchField}, t.occupation = #{userVo.occupation}, t.code = #{userVo.country}
|
||||
where t.id = #{userVo.id}
|
||||
</update>
|
||||
|
||||
<select id="getBladeUserByEmail" resultType="com.kening.vordm.vo.UserVo">
|
||||
|
|
Loading…
Reference in New Issue