| | |
| | | t2.adapt_holder adaptHolder, |
| | | t2.remark, |
| | | t3.classify_id classifyNum, |
| | | t3.type_name classifyName |
| | | from tms_base_tools t |
| | | left join tms_tools_config_property t1 on t1.tool_code = t.id |
| | | left join tms_para_hole_tools t2 on t2.tool_code = t.id |
| | | left join tms_tools_classify t3 on t3.id = t.classify_id |
| | | ${ew.customSqlSegment} |
| | | t3.type_name classifyName, |
| | | t4.item_text applicationTypeName |
| | | from tms_base_tools t |
| | | left join tms_tools_config_property t1 on t1.tool_code = t.id |
| | | left join tms_para_hole_tools t2 on t2.tool_code = t.id |
| | | left join tms_tools_classify t3 on t3.id = t.classify_id |
| | | left join (select * from v_sys_dict where dict_code = 'application_type') t4 on t4.item_value = t1.application_type |
| | | ${ew.customSqlSegment} |
| | | </select> |
| | | <select id="paraCommonToolList" resultType="org.jeecg.modules.tms.entity.vo.ParaCommonToolVo"> |
| | | select |
| | | t.id, |
| | | t.classify_id classifyId, |
| | | t.tool_code toolCode, |
| | | t.sign_code signCode, |
| | | t.chinese_name chineseName, |
| | | t.foreign_language_name foreignLanguageName, |
| | | t.standard_level standardLevel, |
| | | t.standard_code standardCode, |
| | | t.tool_model toolModel, |
| | | t.parama_table_name paramaTableName, |
| | | t1.application_type applicationType, |
| | | t1.supplier_id supplierId, |
| | | t1.province_city provinceCity, |
| | | t1.position_code positionCode, |
| | | t1.storage_location storageLocation, |
| | | t1.main_unit mainUnit, |
| | | t1.auxiliary_unit auxiliaryUnit, |
| | | t1.auxiliary_unit_flag auxiliaryUnitFlag, |
| | | t1.price, |
| | | t1.lower_inventory lowerInventory, |
| | | t1.highest_inventory highestInventory, |
| | | t3.classify_id classifyNum, |
| | | t3.type_name classifyName |
| | | from tms_base_tools t |
| | | left join tms_tools_config_property t1 on t1.tool_code = t.id |
| | | left join tms_tools_classify t3 on t3.id = t.classify_id |
| | | ${ew.customSqlSegment} |
| | | </select> |
| | | select |
| | | t.id, |
| | | t.classify_id classifyId, |
| | | t.tool_code toolCode, |
| | | t.sign_code signCode, |
| | | t.chinese_name chineseName, |
| | | t.foreign_language_name foreignLanguageName, |
| | | t.standard_level standardLevel, |
| | | t.standard_code standardCode, |
| | | t.tool_model toolModel, |
| | | t.parama_table_name paramaTableName, |
| | | t1.application_type applicationType, |
| | | t1.supplier_id supplierId, |
| | | t1.province_city provinceCity, |
| | | t1.position_code positionCode, |
| | | t1.storage_location storageLocation, |
| | | t1.main_unit mainUnit, |
| | | t1.auxiliary_unit auxiliaryUnit, |
| | | t1.auxiliary_unit_flag auxiliaryUnitFlag, |
| | | t1.price, |
| | | t1.lower_inventory lowerInventory, |
| | | t1.highest_inventory highestInventory, |
| | | t3.classify_id classifyNum, |
| | | t3.type_name classifyName, |
| | | t4.item_text applicationTypeName |
| | | from tms_base_tools t |
| | | left join tms_tools_config_property t1 on t1.tool_code = t.id |
| | | left join tms_tools_classify t3 on t3.id = t.classify_id |
| | | left join (select * from v_sys_dict where dict_code = 'application_type') t4 on t4.item_value = t1.application_type |
| | | ${ew.customSqlSegment} |
| | | </select> |
| | | <select id="paraThreadingToolList" resultType="org.jeecg.modules.tms.entity.vo.ParaThreadingToolVo"> |
| | | SELECT |
| | | t.id, |
| | |
| | | t2.connection_aperture connectionAperture, |
| | | t2.connecting_keyway connectingKeyway, |
| | | t3.classify_id classifyNum, |
| | | t3.type_name classifyName |
| | | t3.type_name classifyName, |
| | | t4.item_text applicationTypeName |
| | | FROM |
| | | tms_base_tools t |
| | | LEFT JOIN tms_tools_config_property t1 ON t1.tool_code = t.id |
| | | LEFT JOIN tms_para_threading_tool t2 ON t2.tool_code = t.id |
| | | LEFT JOIN tms_tools_classify t3 ON t3.id = t.classify_id |
| | | left join (select * from v_sys_dict where dict_code = 'application_type') t4 on t4.item_value = t1.application_type |
| | | ${ew.customSqlSegment} |
| | | </select> |
| | | <select id="paraMillToolList" resultType="org.jeecg.modules.tms.entity.vo.ParaMillToolVo"> |
| | |
| | | t2.pitch, |
| | | t2.recently_diameter recentlyDiameter, |
| | | t3.classify_id classifyNum, |
| | | t3.type_name classifyName |
| | | t3.type_name classifyName, |
| | | t4.item_text applicationTypeName |
| | | FROM |
| | | tms_base_tools t |
| | | LEFT JOIN tms_tools_config_property t1 ON t1.tool_code = t.id |
| | | LEFT JOIN tms_para_mill_tool t2 ON t2.tool_code = t.id |
| | | LEFT JOIN tms_tools_classify t3 ON t3.id = t.classify_id |
| | | left join (select * from v_sys_dict where dict_code = 'application_type') t4 on t4.item_value = t1.application_type |
| | | ${ew.customSqlSegment} |
| | | </select> |
| | | <select id="paraTurningToolsList" resultType="org.jeecg.modules.tms.entity.vo.ParaTurningToolsVo"> |
| | |
| | | t2.blade_thickness bladeThickness, |
| | | t2.min_diameter minDiameter, |
| | | t3.classify_id classifyNum, |
| | | t3.type_name classifyName |
| | | t3.type_name classifyName, |
| | | t4.item_text applicationTypeName |
| | | FROM |
| | | tms_base_tools t |
| | | LEFT JOIN tms_tools_config_property t1 ON t1.tool_code = t.id |
| | | LEFT JOIN tms_para_turning_tools t2 ON t2.tool_code = t.id |
| | | LEFT JOIN tms_tools_classify t3 ON t3.id = t.classify_id |
| | | left join (select * from v_sys_dict where dict_code = 'application_type') t4 on t4.item_value = t1.application_type |
| | | ${ew.customSqlSegment} |
| | | </select> |
| | | <select id="paraBladeList" resultType="org.jeecg.modules.tms.entity.vo.ParaBladeVo"> |
| | |
| | | t2.pitch, |
| | | t2.min_internal_thread minInternalThread, |
| | | t3.classify_id classifyNum, |
| | | t3.type_name classifyName |
| | | t3.type_name classifyName, |
| | | t4.item_text applicationTypeName |
| | | FROM |
| | | tms_base_tools t |
| | | LEFT JOIN tms_tools_config_property t1 ON t1.tool_code = t.id |
| | | LEFT JOIN tms_para_blade t2 ON t2.tool_code = t.id |
| | | LEFT JOIN tms_tools_classify t3 ON t3.id = t.classify_id |
| | | left join (select * from v_sys_dict where dict_code = 'application_type') t4 on t4.item_value = t1.application_type |
| | | ${ew.customSqlSegment} |
| | | </select> |
| | | |
| | | <select id="pageWithLedgerAndConfig" resultType="org.jeecg.modules.tms.entity.vo.StocktakingPoundVo"> |
| | | SELECT |
| | | t.id, |