| | |
| | | <if test="params.no != null and params.no != '' "> |
| | | AND pro.no LIKE CONCAT('%',#{params.no},'%') |
| | | </if> |
| | | <if test="params.deptId != null"> |
| | | AND pro.dept_id = #{params.deptId} |
| | | </if> |
| | | <if test="params.deptIds != null and params.deptIds.length > 0"> |
| | | AND pro.dept_id IN |
| | | <foreach collection="params.deptIds" item="deptId" open="(" separator="," close=")"> |
| | | #{deptId} |
| | | </foreach> |
| | | </if> |
| | | <if test="params.createUser != null"> |
| | | AND pro.create_user = #{params.createUser} |
| | | </if> |
| | | ORDER BY pro.create_time DESC |
| | | </select> |
| | | </mapper> |