修改大屏接口
This commit is contained in:
parent
52020ec40d
commit
d40baa4b8c
|
@ -21,7 +21,7 @@
|
|||
</li>
|
||||
<li>
|
||||
<label>考核目标:</label>
|
||||
<input type="text" name="method"/>
|
||||
<input type="text" name="demand"/>
|
||||
</li>
|
||||
<!-- <li>-->
|
||||
<!-- <label>负责人:</label>-->
|
||||
|
|
|
@ -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> 搜索</a>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue