| | |
| | | ifs.id inventoryQuantityId, |
| | | ifs.buy_unit_meas buyUnitMeas, |
| | | io.test_quantity testQuantity, |
| | | ifs.buy_unit_meas buyUnitMeas |
| | | ifs.buy_unit_meas buyUnitMeas, |
| | | ifs.declare_date declareDate |
| | | FROM |
| | | ifs_inventory_quantity ifs |
| | | LEFT JOIN ins_order io ON ifs.id = io.ifs_inventory_id |
| | |
| | | <if test="repetitionTag != null and repetitionTag != ''"> |
| | | and ip.repetition_tag = #{repetitionTag} |
| | | </if> |
| | | <if test="isDisqualification != null and isDisqualification != ''"> |
| | | and ip.ins_result = 0 |
| | | </if> |
| | | order by sort asc |
| | | </select> |
| | | |
| | |
| | | and ins_fibers_id is null |
| | | and standard_method_list_id is not null |
| | | and ip.raw_material_tag = #{rawMaterialTag} |
| | | <if test="isDisqualification != null and isDisqualification != ''"> |
| | | and ip.ins_result = 0 |
| | | </if> |
| | | order by sort asc |
| | | </select> |
| | | |