| | |
| | | <result property="applyNo" column="apply_no"/> |
| | | <result property="customerName" column="customer_name"/> |
| | | <result property="materialCode" column="material_code"/> |
| | | <result property="productMaterialId" column="product_material_id"/> |
| | | <result property="productName" column="product_name"/> |
| | | <result property="productSpec" column="product_spec"/> |
| | | <result property="length" column="length"/> |
| | |
| | | <if test="c.materialCode != null and c.materialCode != '' "> |
| | | AND pp.material_code LIKE CONCAT('%',#{c.materialCode},'%') |
| | | </if> |
| | | <if test="c.startDate != null"> |
| | | AND pp.start_date >= DATE_FORMAT(#{c.startDate},'%Y-%m-%d') |
| | | </if> |
| | | <if test="c.endDate != null"> |
| | | AND pp.end_date <= DATE_FORMAT(#{c.endDate},'%Y-%m-%d') |
| | | </if> |
| | | </select> |
| | | |
| | | <select id="selectSummaryByProductType" resultType="com.ruoyi.productionPlan.dto.ProductionPlanSummaryDto"> |