|
@ -1404,6 +1404,12 @@ |
|
|
<if test='peopleFlag != null and peopleFlag != ""'> |
|
|
<if test='peopleFlag != null and peopleFlag != ""'> |
|
|
AND t1.PEOPLE_FLAG = #{peopleFlag} |
|
|
AND t1.PEOPLE_FLAG = #{peopleFlag} |
|
|
</if> |
|
|
</if> |
|
|
|
|
|
<if test="mobile != null and mobile != ''"> |
|
|
|
|
|
AND t1.MOBILE like concat('%', #{mobile}, '%') |
|
|
|
|
|
</if> |
|
|
|
|
|
<if test="serialNum != null and serialNum != ''"> |
|
|
|
|
|
and t1.SERIAL_NUM like '%${serialNum}%' |
|
|
|
|
|
</if> |
|
|
ORDER BY |
|
|
ORDER BY |
|
|
t1.CREATED_TIME DESC |
|
|
t1.CREATED_TIME DESC |
|
|
LIMIT #{pageIndex},#{pageSize} |
|
|
LIMIT #{pageIndex},#{pageSize} |
|
@ -1570,6 +1576,12 @@ |
|
|
WHERE |
|
|
WHERE |
|
|
item.del_flag='0' |
|
|
item.del_flag='0' |
|
|
and user_id=#{userId} |
|
|
and user_id=#{userId} |
|
|
|
|
|
<if test="mobile != null and mobile != ''"> |
|
|
|
|
|
AND item.MOBILE like concat('%', #{mobile}, '%') |
|
|
|
|
|
</if> |
|
|
|
|
|
<if test="serialNum != null and serialNum != ''"> |
|
|
|
|
|
and item.SERIAL_NUM like '%${serialNum}%' |
|
|
|
|
|
</if> |
|
|
ORDER BY |
|
|
ORDER BY |
|
|
item.CREATED_TIME DESC, |
|
|
item.CREATED_TIME DESC, |
|
|
img.IMG_URL |
|
|
img.IMG_URL |
|
|