| | |
| | | <resultMap id="fwDevicePerShareResultMap" type="org.sxkj.fw.fwDevicePerShare.entity.FwDevicePerShareEntity"> |
| | | <result column="id" property="id"/> |
| | | <result column="device_sn" property="deviceSn"/> |
| | | <result column="device_id" property="deviceId"/> |
| | | <result column="loan_from_dept_id" property="loanFromDeptId"/> |
| | | <result column="loan_to_dept_id" property="loanToDeptId"/> |
| | | <result column="device_per_menu_id" property="devicePerMenuId"/> |
| | |
| | | SELECT * FROM ja_fw_device_per_share ${ew.customSqlSegment} |
| | | </select> |
| | | |
| | | <select id="selectSharedDeviceIdListByDeptId" resultType="java.lang.Long"> |
| | | SELECT device_id FROM ja_fw_device_per_share |
| | | WHERE loan_to_dept_id = #{deptId} |
| | | AND is_deleted = 0 |
| | | </select> |
| | | |
| | | </mapper> |