| | |
| | | <if test="vo.pointId != null and vo.pointId !='' "> |
| | | AND NAG.POINT_id = #{vo.pointId} |
| | | </if> |
| | | <if test="vo.cdName != null and vo.cdName !='' and vo.tpe != 3"> |
| | | <if test="vo.cdName != null and vo.cdName !='' and vo.type != 3"> |
| | | AND acb."cd_nm" LIKE CONCAT('%',#{vo.cdName},'%') |
| | | </if> |
| | | <if test="vo.cdName != null and vo.cdName !='' and vo.tpe == 3"> |
| | | AND awcb."cd_nm" LIKE CONCAT('%',#{vo.cdName},'%') |
| | | </if> |
| | | AND NAG.dam_id = #{vo.damId} |
| | | ORDER BY NAG."TIME" DESC |
| | | )temp |
| | | LEFT JOIN SJZT_MD."att_wy_cd_base" awcb ON awcb."res_cd" = temp.DAM_ID AND temp.POINT_ID = awcb."cd" |
| | | WHERE 1=1 |
| | | <if test="vo.cdName != null and vo.cdName !='' and vo.type == 3"> |
| | | AND awcb."cd_nm" LIKE CONCAT('%',#{vo.cdName},'%') |
| | | </if> |
| | | |
| | | |
| | | |