提交 3a887538 authored 作者: 吴德鹏's avatar 吴德鹏

优化

上级 ac372935
......@@ -69,8 +69,6 @@ public class TbCfStationItemController extends ApiBaseAction {
!Constant.SUPER_USER.equals(ShiroUtils.getUserId())) {
params.put("creator", ShiroUtils.getUserId());
}
String userId = ShiroUtils.getUserId();
System.out.println(userId);
//查询列表数据
Query query = new Query(params);
......
......@@ -203,7 +203,7 @@
<select id="queryTotal" resultType="int">
select count(*) from tb_cf_station_item
WHERE 1=1 and enable_flag!=0
WHERE enable_flag!=0
<if test="name != null and name.trim() != ''">
AND item_name LIKE concat('%',#{name},'%') or item_id =#{name}
</if>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论