修改大屏接口

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>
<label>考核目标:</label>
<input type="text" name="method"/>
<input type="text" name="demand"/>
</li>
<!-- <li>-->
<!-- <label>负责人:</label>-->

View File

@ -21,7 +21,7 @@
</li>
<li>
<label>考核目标:</label>
<input type="text" name="method"/>
<input type="text" name="demand"/>
</li>
<li>
<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>
<if test="type != null and type != ''"> and type = #{type}</if>
<if test="unit != null and unit != ''"> and unit = #{unit}</if>
<if test="target != null and target != ''"> and target = #{target}</if>
<if test="demand != null and demand != ''"> and demand = #{demand}</if>
<if test="target != null and target != ''">
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="score != null and score != ''"> and score = #{score}</if>
<if test="method != null and method != ''"> and method = #{method}</if>