修饰审核--去除冗余代码、修改SQL
This commit is contained in:
parent
49e3cd8cd8
commit
fa5bd277be
|
|
@ -131,17 +131,7 @@ public class RepairAuditDetailsController extends BaseController {
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
//---------------------------------------------------------------------------------
|
||||
//--------------------TOP--COPY--------------------------BUTTON--GENDER---------------
|
||||
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -116,7 +116,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
AND (locate(#{keyword}, su.nick_name) > 0
|
||||
or locate(#{keyword}, tk.CODE) > 0
|
||||
or locate(#{keyword}, bui.unit_name) > 0
|
||||
or locate(#{keyword}, bpl.lot_name) > 0)
|
||||
or locate(#{keyword}, bpl.pro_name) > 0)
|
||||
</if>
|
||||
<if test="backUnit != null and backUnit != ''">
|
||||
and bui.unit_id = #{backUnit}
|
||||
|
|
@ -125,7 +125,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
and tk.task_status = #{taskStatus}
|
||||
</if>
|
||||
<if test="backPro != null and backPro != ''">
|
||||
and bpl.lot_id = #{backPro}
|
||||
and bpl.pro_id = #{backPro}
|
||||
</if>
|
||||
<if test="type != null and type != ''">
|
||||
and mt1.type_id = #{type}
|
||||
|
|
|
|||
Loading…
Reference in New Issue