| | |
| | | </select> |
| | | <select id="pageList" resultType="org.jeecg.modules.mdc.entity.MdcTorqueConfig"> |
| | | select mtc.* from mdc_torque_config mtc,mdc_equipment me where mtc.equipment_id=me.equipment_id |
| | | <if test="mdcTorqueConfig.equipmentName !=null and mdcTorqueConfig.equipmentName !='' "> |
| | | and mtc.equipment_name like concat(concat('%',#{mdcTorqueConfig.equipmentName}),'%') |
| | | </if> |
| | | <if test="mdcTorqueConfig.equipmentId !=null and mdcTorqueConfig.equipmentId !='' "> |
| | | and mtc.equipment_id like concat(concat('%',#{mdcTorqueConfig.equipmentId}),'%') |
| | | </if> |
| | | <if test="mdcTorqueConfig.mdcSectionIds !=null || mdcTorqueConfig.mdcSectionIds.size() > 0 "> |
| | | and mtc.equipment_id in |
| | | <foreach collection="mdcTorqueConfig.mdcSectionIds" item="id" index="index" open="(" close=")" separator=","> |
| | | #{id} |
| | | </foreach> |
| | | </if> |
| | | </select> |
| | | </mapper> |