| | |
| | | <mapper namespace="org.sxkj.gd.orderdata.mapper.GdDataEvaluationMapper"> |
| | | |
| | | <!-- 通用查询映射结果 --> |
| | | <resultMap id="gdDataEvaluationResultMap" type="org.sxkj.gd.orderdata.entity.GdDataEvaluationEntity"> |
| | | <resultMap id="gdDataEvaluationResultMap" type="org.sxkj.gd.orderdata.vo.GdDataEvaluationVO"> |
| | | <result column="id" property="id"/> |
| | | <result column="title" property="title"/> |
| | | <result column="data_name" property="dataName"/> |
| | |
| | | |
| | | |
| | | <select id="selectGdDataEvaluationPage" resultMap="gdDataEvaluationResultMap"> |
| | | select * from ja_gd_data_evaluation where is_deleted = 0 |
| | | select * from ja_gd_data_evaluation |
| | | <where> |
| | | is_deleted = 0 |
| | | <if test="param.title != null and param.title != ''"> |
| | | AND title LIKE CONCAT('%', #{param.title}, '%') |
| | | </if> |
| | | <if test="param.isResolved != null and param.isResolved != ''"> |
| | | AND is_resolved = #{param.isResolved} |
| | | </if> |
| | | <if test="param.deptList != null and param.deptList.size > 0"> |
| | | AND create_dept in |
| | | <foreach collection="param.deptList" item="deptId" open="(" separator="," close=")"> |
| | | #{deptId} |
| | | </foreach> |
| | | </if> |
| | | </where> |
| | | </select> |
| | | |
| | | |