| | |
| | | <select id="pageWithLedgerAndConfig" resultType="org.jeecg.modules.tms.entity.vo.StocktakingPoundVo"> |
| | | SELECT |
| | | t.id, |
| | | t.tool_id AS toolId, |
| | | t1.classify_id AS classifyId, |
| | | t.create_time AS createTime, |
| | | t.tool_code AS toolCode, |
| | | t2.tool_model AS toolModel, |
| | | t2.parama_table_name AS paramaTableName, |
| | | t1.total_count AS totalCount, |
| | | t1.available_count AS availableCount, |
| | | t.tool_id AS toolId, |
| | | t3.position_code AS positionCode, |
| | | t3.application_type AS applicationType, |
| | | t2.chinese_name AS chineseName, |
| | | t3.chinese_name AS chineseName, |
| | | t3.supplier_id AS supplierId, |
| | | t3.storage_location AS storageLocation, |
| | | t3.main_unit AS mainUnit, |
| | | |
| | | t1.available_count AS availableCount, |
| | | t1.total_count AS totalCount, |
| | | t3.warehouse_id AS warehouseId, |
| | | t4.classify_id AS classifyId, |
| | | t3.province_city AS provinceCity, |
| | | <!-- 动态字段选择,使用表别名(需确保表已关联) --> |
| | | <choose> |
| | | <when test="ew.paramNameValuePairs.paramaTableName == '1'"> |