| | |
| | | <result column="child_width" property="childWidth"/> |
| | | |
| | | </association> |
| | | <association property="OrderProcessDetail" javaType="com.example.erp.entity.sd.OrderProcessDetail"> |
| | | <result column="reporting_work_num" property="reportingWorkNum"/> |
| | | </association> |
| | | |
| | | |
| | | </resultMap> |
| | |
| | | where reporting_work_id = #{reportingWorkId} |
| | | </select> |
| | | |
| | | |
| | | <select id="selectInventory"> |
| | | select reporting_work_num |
| | | FROM sd.order_process_detail as opd |
| | | where opd.process_id = #{processId} |
| | | and opd.order_number = #{orderNumber} |
| | | and opd.technology_number = #{technologyNumber} |
| | | and opd.process = '包装' |
| | | </select> |
| | | <!--<where> |
| | | |
| | | create_time <![CDATA[>=]]> #{startTime} and create_time <![CDATA[<=]]> #{endTime}} |
| | |
| | | `b`.`available` = 1) |
| | | </select>--> |
| | | |
| | | |
| | | |
| | | </mapper> |