1.微调
This commit is contained in:
@@ -1512,17 +1512,9 @@
|
|||||||
<select id="getCustomDetailByLineId" resultType="map">
|
<select id="getCustomDetailByLineId" resultType="map">
|
||||||
SELECT
|
SELECT
|
||||||
line.id AS lineId,
|
line.id AS lineId,
|
||||||
CONCAT(sub.NAME, '_', vo.NAME, '_', line.NAME) AS lineName,
|
CONCAT(CONCAT(CONCAT(sub.NAME, '_'), vo.NAME), CONCAT('_', line.NAME)) AS lineName,
|
||||||
CONCAT(
|
CONCAT(CONCAT(COALESCE(detail.pt1, 'N/A'), ':'), COALESCE(detail.pt2, 'N/A')) AS pt,
|
||||||
IFNULL(CAST(detail.pt1 AS VARCHAR), 'N/A'),
|
CONCAT(CONCAT(COALESCE(detail.ct1, 'N/A'), ':'), COALESCE(detail.ct2, 'N/A')) AS ct,
|
||||||
':',
|
|
||||||
IFNULL(CAST(detail.pt2 AS VARCHAR), 'N/A')
|
|
||||||
) AS pt,
|
|
||||||
CONCAT(
|
|
||||||
IFNULL(CAST(detail.ct1 AS VARCHAR), 'N/A'),
|
|
||||||
':',
|
|
||||||
IFNULL(CAST(detail.ct2 AS VARCHAR), 'N/A')
|
|
||||||
) AS ct,
|
|
||||||
detail.Dev_Capacity AS Dev_Capacity,
|
detail.Dev_Capacity AS Dev_Capacity,
|
||||||
detail.Short_Capacity AS Short_Capacity,
|
detail.Short_Capacity AS Short_Capacity,
|
||||||
detail.Standard_Capacity AS Standard_Capacity,
|
detail.Standard_Capacity AS Standard_Capacity,
|
||||||
@@ -1541,6 +1533,7 @@
|
|||||||
WHERE
|
WHERE
|
||||||
line.id = #{lineId}
|
line.id = #{lineId}
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="selectByIds" resultType="com.njcn.device.pq.pojo.vo.LineDetailVO$Detail">
|
<select id="selectByIds" resultType="com.njcn.device.pq.pojo.vo.LineDetailVO$Detail">
|
||||||
SELECT DISTINCT
|
SELECT DISTINCT
|
||||||
line.id as lineId,
|
line.id as lineId,
|
||||||
|
|||||||
Reference in New Issue
Block a user