海外平台-数据全英文化
This commit is contained in:
@ -12,7 +12,16 @@
|
||||
<select id="selectVirtualDeviceCol" resultType="com.ho.business.vo.resp.VirtualDeviceColResp">
|
||||
select
|
||||
<include refid="Base_Column_List"/>,factor,offset_value
|
||||
FROM (select a.*,b.factor,b.offset_value from virtual_device_col a left join device_type_col b on
|
||||
FROM (select a.id,a.station_id,a.src_id,a.device_col_id,a.col,
|
||||
<choose>
|
||||
<when test="lang != null and lang=='en_US' ">
|
||||
b.col_en col_name,
|
||||
</when>
|
||||
<otherwise>
|
||||
a.col_name,
|
||||
</otherwise>
|
||||
</choose>
|
||||
a.type,b.factor,b.offset_value from virtual_device_col a left join device_type_col b on
|
||||
a.device_col_id = b.id ) col
|
||||
<where>
|
||||
<if test="id != null">
|
||||
|
||||
Reference in New Issue
Block a user