commit
This commit is contained in:
@@ -7,6 +7,11 @@
|
||||
<result column="platform_id" property="platformId" />
|
||||
<result column="create_time" property="createTime" />
|
||||
</resultMap>
|
||||
<resultMap id="ResultMapCam" type="com.cnbm.packing.dto.CamlineSubIdDTO">
|
||||
<result column="power_level" property="powerLevel" />
|
||||
<result column="sap_material" property="sapMaterial" />
|
||||
</resultMap>
|
||||
|
||||
<resultMap id="ResultAMap" type="com.cnbm.packing.dto.CamlineExtendArgDTO">
|
||||
<result column="LAST_UPDATE_TIME" property="lastUpdateTime" />
|
||||
<result column="PMPP" property="pmpp" />
|
||||
@@ -118,6 +123,20 @@
|
||||
LIMIT 1
|
||||
</select>
|
||||
|
||||
|
||||
<select id="getSubIdByCamline" resultMap="ResultMapCam">
|
||||
SELECT
|
||||
flc.SAP_Material as sap_material,
|
||||
flc.Nenn_Leistung as power_level
|
||||
|
||||
FROM
|
||||
ue_flasher_data_calc flc
|
||||
LEFT JOIN e_tracking_unit tu ON flc.mainid = tu.id
|
||||
WHERE
|
||||
flc.PMPP != 0
|
||||
and tu.name = #{subId}
|
||||
</select>
|
||||
|
||||
<select id="getOrderNameBySubId" resultType="string">
|
||||
SELECT
|
||||
eorder.name
|
||||
|
||||
Reference in New Issue
Block a user