|
@@ -59,7 +59,7 @@
|
|
|
<trim prefix=" WHERE" suffix="" suffixOverrides="AND">
|
|
|
t.deleted = 0
|
|
|
<if test="id != null">AND id = #{id}</if>
|
|
|
- <if test="deptId != null and deptId != 0">AND requisition_department_id = #{deptId}</if>
|
|
|
+ <if test="deptId != null and deptId != 0">AND t.requisition_department_id = #{deptId}</if>
|
|
|
<if test="keywords != null and keywords !=''">AND t.`product_description` LIKE CONCAT('%', #{keywords}, '%')
|
|
|
</if>
|
|
|
<if test="keyword != null and keyword !=''">AND (t.`product_description` LIKE CONCAT('%', #{keyword}, '%')
|