| | |
| | | <mapper namespace="org.sxkj.gd.orderdata.mapper.GdApplicationInnovationMapper"> |
| | | |
| | | <!-- 通用查询映射结果 --> |
| | | <resultMap id="gdApplicationInnovationResultMap" type="org.sxkj.gd.orderdata.entity.GdApplicationInnovationEntity"> |
| | | <resultMap id="gdApplicationInnovationResultMap" type="org.sxkj.gd.orderdata.vo.GdApplicationInnovationVO"> |
| | | <result column="id" property="id"/> |
| | | <result column="case_name" property="caseName"/> |
| | | <result column="belong_domain" property="belongDomain"/> |
| | |
| | | |
| | | |
| | | <select id="selectGdApplicationInnovationPage" resultMap="gdApplicationInnovationResultMap"> |
| | | select * from ja_gd_application_innovation where is_deleted = 0 |
| | | select |
| | | * |
| | | from |
| | | ja_gd_application_innovation |
| | | <where> |
| | | and is_deleted = 0 |
| | | <if test="param2.caseName != null and param2.caseName != ''"> |
| | | and case_name like concat('%',#{param2.caseName},'%') |
| | | </if> |
| | | <if test="param2.innovationStatus != null and param2.innovationStatus != ''"> |
| | | and innovation_status = #{param2.innovationStatus} |
| | | </if> |
| | | <if test="param2.deptList != null and param2.deptList.size > 0"> |
| | | and create_dept in |
| | | <foreach collection="param2.deptList" item="deptId" open="(" separator="," close=")"> |
| | | #{deptId} |
| | | </foreach> |
| | | </if> |
| | | </where> |
| | | </select> |
| | | |
| | | |