| | |
| | | select |
| | | <include refid="Base_Column_List"/> |
| | | from om_production_order_records where 1 = 1 |
| | | <if test="paramCondition.productNo != null and paramCondition.productNo != ''"> |
| | | and product_no like CONCAT('%',#{paramCondition.productNo},'%') |
| | | </if> |
| | | <if test="paramCondition.workOrderNo != null and paramCondition.workOrderNo != ''"> |
| | | and work_order_no like CONCAT('%',#{paramCondition.workOrderNo},'%') |
| | | </if> |
| | | <if test="paramCondition.materialCode != null and paramCondition.materialCode != ''"> |
| | | and material_code like CONCAT('%',#{paramCondition.materialCode},'%') |
| | | </if> |
| | | <if test="paramCondition.locationCode != null and paramCondition.locationCode != ''"> |
| | | and location_code like CONCAT('%',#{paramCondition.locationCode},'%') |
| | | </if> |
| | | </select> |
| | | |
| | | <select id="customMapList" resultType="map" parameterType="cn.stylefeng.guns.modular.om.productionOrderRecords.model.params.ProductionOrderRecordsParam"> |