修改大屏接口

This commit is contained in:
liuwu 2023-08-25 14:10:31 +08:00
parent 52020ec40d
commit d40baa4b8c
3 changed files with 8 additions and 4 deletions

View File

@ -21,7 +21,7 @@
</li> </li>
<li> <li>
<label>考核目标:</label> <label>考核目标:</label>
<input type="text" name="method"/> <input type="text" name="demand"/>
</li> </li>
<!-- <li>--> <!-- <li>-->
<!-- <label>负责人:</label>--> <!-- <label>负责人:</label>-->

View File

@ -21,7 +21,7 @@
</li> </li>
<li> <li>
<label>考核目标:</label> <label>考核目标:</label>
<input type="text" name="method"/> <input type="text" name="demand"/>
</li> </li>
<li> <li>
<a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i>&nbsp;搜索</a> <a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i>&nbsp;搜索</a>

View File

@ -35,8 +35,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<where> <where>
<if test="type != null and type != ''"> and type = #{type}</if> <if test="type != null and type != ''"> and type = #{type}</if>
<if test="unit != null and unit != ''"> and unit = #{unit}</if> <if test="unit != null and unit != ''"> and unit = #{unit}</if>
<if test="target != null and target != ''"> and target = #{target}</if> <if test="target != null and target != ''">
<if test="demand != null and demand != ''"> and demand = #{demand}</if> AND target like concat('%', #{target}, '%')
</if>
<if test="demand != null and demand != ''">
AND demand like concat('%', #{demand}, '%')
</if>
<if test="detailed != null and detailed != ''"> and detailed = #{detailed}</if> <if test="detailed != null and detailed != ''"> and detailed = #{detailed}</if>
<if test="score != null and score != ''"> and score = #{score}</if> <if test="score != null and score != ''"> and score = #{score}</if>
<if test="method != null and method != ''"> and method = #{method}</if> <if test="method != null and method != ''"> and method = #{method}</if>