| | |
| | | <result property="score" column="score" /> |
| | | <result property="unitId" column="unit_id" /> |
| | | <result property="examineId" column="examine_id" /> |
| | | <result property="operateCategory" column="operate_category" /> |
| | | <result property="scoreCategory" column="score_category" /> |
| | | <result property="examineCategory" column="examine_category" /> |
| | | <result property="ruleCategory" column="rule_category" /> |
| | | <result property="createTime" column="create_time" /> |
| | | <result property="createBy" column="create_by" /> |
| | | </resultMap> |
| | | |
| | | <sql id="selectTExamineScoreVo"> |
| | | select id, score, unit_id, examine_id, operate_category, score_category, create_time, create_by from t_examine_score |
| | | select id, score, unit_id, examine_id, examine_category, rule_category, create_time, create_by from t_examine_score |
| | | </sql> |
| | | |
| | | <select id="selectTExamineScoreList" resultType="com.ycl.platform.domain.vo.TExamineScoreVO"> |
| | | select tes.id, tes.score, tyu.unit_name, tcp.examine_name, tes.operate_category, tes.score_category,tes.create_time, tes.create_by |
| | | select tes.id, tes.score, tyu.unit_name, tcp.examine_name, tes.examine_category,tes.rule_category,tes.create_time, tes.create_by |
| | | from t_examine_score tes |
| | | left join t_check_publish tcp on tes.examine_id = tcp.id |
| | | left join t_yw_unit tyu on tes.unit_id = tyu.id |
| | |
| | | <if test="score != null "> and score = #{score}</if> |
| | | <if test="unitId != null "> and unit_id = #{unitId}</if> |
| | | <if test="examineId != null "> and examine_id = #{examineId}</if> |
| | | <if test="operateCategory != null "> and operate_category = #{operateCategory}</if> |
| | | <if test="scoreCategory != null "> and score_category = #{scoreCategory}</if> |
| | | <if test="examineCategory != null "> and examine_category = #{examineCategory}</if> |
| | | <if test="ruleCategory != null "> and rule_category = #{ruleCategory</if> |
| | | </where> |
| | | </select> |
| | | |
| | |
| | | <if test="score != null">score,</if> |
| | | <if test="unitId != null">unit_id,</if> |
| | | <if test="examineId != null">examine_id,</if> |
| | | <if test="operateCategory != null">operate_category,</if> |
| | | <if test="scoreCategory != null">score_category,</if> |
| | | <if test="examineCategory != null">examine_category,</if> |
| | | <if test="ruleCategory != null">rule_category,</if> |
| | | <if test="createTime != null">create_time,</if> |
| | | <if test="createBy != null">create_by,</if> |
| | | </trim> |
| | |
| | | <if test="score != null">#{score},</if> |
| | | <if test="unitId != null">#{unitId},</if> |
| | | <if test="examineId != null">#{examineId},</if> |
| | | <if test="operateCategory != null">#{operateCategory},</if> |
| | | <if test="scoreCategory != null">#{scoreCategory},</if> |
| | | <if test="examineCategory != null">#{examineCategory},</if> |
| | | <if test="ruleCategory != null">#{ruleCategory},</if> |
| | | <if test="createTime != null">#{createTime},</if> |
| | | <if test="createBy != null">#{createBy},</if> |
| | | </trim> |
| | |
| | | <if test="score != null">score = #{score},</if> |
| | | <if test="unitId != null">unit_id = #{unitId},</if> |
| | | <if test="examineId != null">examine_id = #{examineId},</if> |
| | | <if test="operateCategory != null">operate_category = #{operateCategory},</if> |
| | | <if test="scoreCategory != null">score_category = #{scoreCategory},</if> |
| | | <if test="examineCategory != null">examine_category = #{examineCategory},</if> |
| | | <if test="ruleCategory != null">rule_category = #{ruleCategory},</if> |
| | | <if test="createTime != null">create_time = #{createTime},</if> |
| | | <if test="createBy != null">create_by = #{createBy},</if> |
| | | </trim> |