| | |
| | | and pm.model like concat('%',#{c.model},'%') |
| | | </if> |
| | | </where> |
| | | order by ps.id asc |
| | | order by ps.process_route_code desc |
| | | </select> |
| | | </mapper> |
| | |
| | | <if test="c.version != null"> |
| | | and version = #{c.version} |
| | | </if> |
| | | order by pb.bom_no desc |
| | | </select> |
| | | <select id="getById" resultType="com.ruoyi.production.dto.ProductBomDto"> |
| | | select pb.*, |
| | |
| | | and po.create_time between #{c.startTime} and #{c.endTime} |
| | | </if> |
| | | </where> |
| | | order by po.nps_no desc |
| | | </select> |
| | | <select id="listProcessRoute" resultType="com.ruoyi.production.pojo.ProcessRoute"> |
| | | select pr.* |
| | |
| | | <if test="c.productOrderId != null and c.productOrderId != ''"> |
| | | and pwo.product_order_id = #{c.productOrderId} |
| | | </if> |
| | | order by pwo.work_order_no desc |
| | | </select> |
| | | |
| | | <select id="getProductWorkOrderFlowCard" resultType="com.ruoyi.production.dto.ProductWorkOrderDto"> |