| | |
| | | <result column="update_user" property="updateUser" /> |
| | | </resultMap> |
| | | |
| | | <select id="listPageProductionProductOutputDto" resultType="com.ruoyi.production.dto.ProductionProductOutputDto"> |
| | | <select id="listPageProductionProductOutputDto" resultType="com.ruoyi.production.bean.dto.ProductionProductOutputDto"> |
| | | select ppo.*, |
| | | ppm.product_no as productNo, |
| | | pm.model |
| | |
| | | left join production_product_main ppm on ppo.production_product_main_id = ppm.id |
| | | left join production_operation_task pot on ppm.production_operation_task_id = pot.id |
| | | left join production_order po on pot.production_order_id = po.id |
| | | left join product_model pm on po.product_model_id = pm.id |
| | | left join product_model pm on ppo.product_model_id = pm.id |
| | | <where> |
| | | <if test="c.productNo != null and c.productNo != ''"> |
| | | and ppm.product_no like concat('%', #{c.productNo}, '%') |
| | |
| | | order by ppo.create_time desc |
| | | </select> |
| | | |
| | | <select id="selectOutputStats" resultType="com.ruoyi.production.dto.ProductionProductOutputDto"> |
| | | <select id="selectOutputStats" resultType="com.ruoyi.production.bean.dto.ProductionProductOutputDto"> |
| | | select id, |
| | | production_product_main_id as productionProductMainId, |
| | | product_model_id as productModelId, |