| | |
| | | <result property="desinfo" column="desinfo"/> |
| | | <result property="type" column="type"/> |
| | | <result property="toUser" column="to_user"/> |
| | | <result property="reportUser" column="reportUser"/> |
| | | <result property="toImages" column="to_images" typeHandler="com.baomidou.mybatisplus.extension.handlers.FastjsonTypeHandler"/> |
| | | <result property="toDesinfo" column="to_desinfo"/> |
| | | <result property="status" column="status"/> |
| | |
| | | </if> |
| | | </select> |
| | | <select id="selectRecordPage" resultMap="vo"> |
| | | SELECT R.*,arb."name" reservoirName,U.REAL_NAME toUserName FROM SM_DANGER_REPORT R |
| | | SELECT R.*,arb."name" reservoirName,U.REAL_NAME toUserName,U2.REAL_NAME reportUser FROM SM_DANGER_REPORT R |
| | | LEFT JOIN BLADE_USER U ON U.ID = R.TO_USER |
| | | LEFT JOIN BLADE_USER U2 ON U2.ID = R.CREATE_USER |
| | | LEFT JOIN SJZT_MD."att_res_base" arb ON arb."guid" = R.RESERVOIR_ID |
| | | WHERE R.IS_DELETED = 0 |
| | | <if test="dangerReportVO.reservoirName != null and dangerReportVO.reservoirName !=''"> |