| | |
| | | |
| | | <select id="getCuttingToolList" parameterType="Map" resultType="Map"> |
| | | SELECT |
| | | t1.id, |
| | | t1.cutting_code cuttingCode, |
| | | t1.cutting_name cuttingName, |
| | | t1.cutting_category, |
| | | t1.store_location storeLocation, |
| | | t1.supplier_id supplierId, |
| | | t1.minimum_package_unit minimumPackageUnit, |
| | | t1.cutting_material cuttingMaterial, |
| | | t1.cutting_model cuttingModel, |
| | | t1.drawing_number drawingNumber, |
| | | t1.inventory_warning inventoryWarning, |
| | | t1.remark remark, |
| | | t2.item_text cuttingCategory |
| | | t1.id, |
| | | t1.cutting_code cuttingCode, |
| | | t1.cutting_name cuttingName, |
| | | t1.cutting_category, |
| | | t1.store_location storeLocation, |
| | | t1.supplier_id supplierId, |
| | | t1.minimum_package_unit minimumPackageUnit, |
| | | t1.cutting_material cuttingMaterial, |
| | | t1.cutting_model cuttingModel, |
| | | t1.drawing_number drawingNumber, |
| | | t1.inventory_warning inventoryWarning, |
| | | t1.remark remark, |
| | | t2.item_text cuttingCategory |
| | | FROM |
| | | cms_cutting_tool t1 |
| | | cms_cutting_tool t1 |
| | | left join (select * from v_sys_dict where dict_code = 'cutting_category') t2 on t2.item_value = t1.cutting_category |
| | | WHERE t1.del_flag = 0 |
| | | <if test="params.cuttingCode != null and params.cuttingCode != ''"> |