| | |
| | | <result property="updateTime" column="update_time"/> |
| | | <result property="delFlag" column="del_flag"/> |
| | | </resultMap> |
| | | <select id="pageNew" resultType="com.by4cloud.platformx.device.entity.vo.ReceivingNotePageVo"> |
| | | select |
| | | rn.id, |
| | | rn.release_comp_name , |
| | | rn.release_person, |
| | | rn.release_code, |
| | | c.name contractName |
| | | from |
| | | receiving_note rn |
| | | join contract c on rn.contract_id = c.id |
| | | where |
| | | rn.del_flag = '0' |
| | | <if test="queryDTO.contractName != null and queryDTO.contractName !=''"> |
| | | and c.name like CONCAT('%', #{queryDTO.contractName}, '%') |
| | | </if> |
| | | </select> |
| | | </mapper> |