海外平台-数据全英文化
This commit is contained in:
@ -8,6 +8,10 @@
|
||||
id,point_id,value,name,name as name_zh,name_en,symbol
|
||||
</sql>
|
||||
|
||||
<sql id="Base_Column_List1">
|
||||
id,point_id,value,name_en name,name as name_zh,name_en,symbol
|
||||
</sql>
|
||||
|
||||
<insert id="insertList" keyColumn="id" keyProperty="id" useGeneratedKeys="true">
|
||||
insert into point_polysemy_config (point_id,value,name,name_en,symbol)
|
||||
values
|
||||
@ -35,7 +39,15 @@
|
||||
</update>
|
||||
|
||||
<select id="selectByPointIds" resultType="com.ho.business.entity.PointPolysemyConfig">
|
||||
select <include refid="Base_Column_List"/>
|
||||
select
|
||||
<choose>
|
||||
<when test="lang != null and lang=='en_US' ">
|
||||
<include refid="Base_Column_List1"/>
|
||||
</when>
|
||||
<otherwise>
|
||||
<include refid="Base_Column_List"/>
|
||||
</otherwise>
|
||||
</choose>
|
||||
from point_polysemy_config
|
||||
<where>
|
||||
<if test="ids != null and ids.size() != 0">
|
||||
|
||||
Reference in New Issue
Block a user