| | |
| | | LEFT JOIN sys_dept d ON d.dept_id = TPI.project_owner_unit |
| | | <where> |
| | | TPI.deleted = 0 |
| | | <if test="query.coding !=null and query.coding!=''"> |
| | | and TPI.coding = #{query.coding} |
| | | </if> |
| | | <if test="query.projectName !=null and query.projectName!=''"> |
| | | and TPI.project_name like concat('%',#{query.projectName},'%') |
| | | </if> |
| | |
| | | ${query.params.dataScope} |
| | | </if> |
| | | </where> |
| | | order by TPI.id DESC |
| | | ORDER BY FIELD(TPI.used_status, 1, -1, 0, 2), TPI.gmt_create ASC |
| | | </select> |
| | | |
| | | <select id="homeCount" parameterType="com.ycl.common.core.domain.BaseEntity" resultType="com.ycl.domain.vo.ProjectVO"> |