md
This commit is contained in:
parent
0d5b6097ae
commit
29fa518bda
@ -2,7 +2,7 @@
|
|||||||
* @Project: emis
|
* @Project: emis
|
||||||
* @Title: EmisCountry.java
|
* @Title: EmisCountry.java
|
||||||
* @author linfso
|
* @author linfso
|
||||||
* @date 2024-03-20 11:55:22
|
* @date 2024-04-10 07:21:30
|
||||||
* @Copyright: ShangHai Duta 2022 All rights reserved.
|
* @Copyright: ShangHai Duta 2022 All rights reserved.
|
||||||
* @version v1.0
|
* @version v1.0
|
||||||
* @Description: <p> 国家 实体类 </p>
|
* @Description: <p> 国家 实体类 </p>
|
||||||
@ -26,7 +26,7 @@ import lombok.Data;
|
|||||||
* @ClassName EmisCountry
|
* @ClassName EmisCountry
|
||||||
* @Description 国家
|
* @Description 国家
|
||||||
* @author linfso
|
* @author linfso
|
||||||
* @date 2024-03-20 11:55:22
|
* @date 2024-04-10 07:21:30
|
||||||
*/
|
*/
|
||||||
@Data
|
@Data
|
||||||
public class EmisCountry extends BaseEntity
|
public class EmisCountry extends BaseEntity
|
||||||
@ -45,8 +45,8 @@ public class EmisCountry extends BaseEntity
|
|||||||
private String telAreaCode;
|
private String telAreaCode;
|
||||||
/* iso代码 */
|
/* iso代码 */
|
||||||
private String isoCode;
|
private String isoCode;
|
||||||
/* 所属洲id */
|
/* 所属洲id列表,逗号隔开 */
|
||||||
private Integer continentId;
|
private String continentId;
|
||||||
/* 显示顺序 */
|
/* 显示顺序 */
|
||||||
private Integer orderNum;
|
private Integer orderNum;
|
||||||
/* 二字码 */
|
/* 二字码 */
|
||||||
|
|||||||
@ -37,7 +37,7 @@
|
|||||||
<if test="code != null and code != ''"> and code like concat('%', #{code}, '%')</if>
|
<if test="code != null and code != ''"> and code like concat('%', #{code}, '%')</if>
|
||||||
<if test="telAreaCode != null and telAreaCode != ''"> and tel_area_code like concat('%', #{telAreaCode}, '%')</if>
|
<if test="telAreaCode != null and telAreaCode != ''"> and tel_area_code like concat('%', #{telAreaCode}, '%')</if>
|
||||||
<if test="isoCode != null and isoCode != ''"> and iso_code like concat('%', #{isoCode}, '%')</if>
|
<if test="isoCode != null and isoCode != ''"> and iso_code like concat('%', #{isoCode}, '%')</if>
|
||||||
<if test="continentId != null "> and continent_id = #{continentId}</if>
|
<if test="continentId != null and continentId != ''"> and find_in_set(#{continentId},continent_id)</if>
|
||||||
<if test="orderNum != null "> and order_num = #{orderNum}</if>
|
<if test="orderNum != null "> and order_num = #{orderNum}</if>
|
||||||
<if test="twoCode != null and twoCode != ''"> and two_code like concat('%', #{twoCode}, '%')</if>
|
<if test="twoCode != null and twoCode != ''"> and two_code like concat('%', #{twoCode}, '%')</if>
|
||||||
<if test="threeCode != null and threeCode != ''"> and three_code like concat('%', #{threeCode}, '%')</if>
|
<if test="threeCode != null and threeCode != ''"> and three_code like concat('%', #{threeCode}, '%')</if>
|
||||||
@ -49,7 +49,7 @@
|
|||||||
<if test="updateBy != null and updateBy != ''"> and update_by like concat('%', #{updateBy}, '%')</if>
|
<if test="updateBy != null and updateBy != ''"> and update_by like concat('%', #{updateBy}, '%')</if>
|
||||||
<if test="updateTime != null "> and update_time = #{updateTime}</if>
|
<if test="updateTime != null "> and update_time = #{updateTime}</if>
|
||||||
</where>
|
</where>
|
||||||
order by order_num desc
|
order by create_time desc
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="selectEmisCountryById" parameterType="Integer" resultMap="EmisCountryResult">
|
<select id="selectEmisCountryById" parameterType="Integer" resultMap="EmisCountryResult">
|
||||||
@ -67,7 +67,7 @@
|
|||||||
<if test="code != null and code != ''">code,</if>
|
<if test="code != null and code != ''">code,</if>
|
||||||
<if test="telAreaCode != null and telAreaCode != ''">tel_area_code,</if>
|
<if test="telAreaCode != null and telAreaCode != ''">tel_area_code,</if>
|
||||||
<if test="isoCode != null and isoCode != ''">iso_code,</if>
|
<if test="isoCode != null and isoCode != ''">iso_code,</if>
|
||||||
<if test="continentId != null">continent_id,</if>
|
<if test="continentId != null and continentId != ''">continent_id,</if>
|
||||||
<if test="orderNum != null">order_num,</if>
|
<if test="orderNum != null">order_num,</if>
|
||||||
<if test="twoCode != null and twoCode != ''">two_code,</if>
|
<if test="twoCode != null and twoCode != ''">two_code,</if>
|
||||||
<if test="threeCode != null and threeCode != ''">three_code,</if>
|
<if test="threeCode != null and threeCode != ''">three_code,</if>
|
||||||
@ -86,7 +86,7 @@
|
|||||||
<if test="code != null and code != ''">#{code},</if>
|
<if test="code != null and code != ''">#{code},</if>
|
||||||
<if test="telAreaCode != null and telAreaCode != ''">#{telAreaCode},</if>
|
<if test="telAreaCode != null and telAreaCode != ''">#{telAreaCode},</if>
|
||||||
<if test="isoCode != null and isoCode != ''">#{isoCode},</if>
|
<if test="isoCode != null and isoCode != ''">#{isoCode},</if>
|
||||||
<if test="continentId != null">#{continentId},</if>
|
<if test="continentId != null and continentId != ''">#{continentId},</if>
|
||||||
<if test="orderNum != null">#{orderNum},</if>
|
<if test="orderNum != null">#{orderNum},</if>
|
||||||
<if test="twoCode != null and twoCode != ''">#{twoCode},</if>
|
<if test="twoCode != null and twoCode != ''">#{twoCode},</if>
|
||||||
<if test="threeCode != null and threeCode != ''">#{threeCode},</if>
|
<if test="threeCode != null and threeCode != ''">#{threeCode},</if>
|
||||||
@ -108,7 +108,7 @@
|
|||||||
<if test="code != null and code != ''">code = #{code},</if>
|
<if test="code != null and code != ''">code = #{code},</if>
|
||||||
<if test="telAreaCode != null and telAreaCode != ''">tel_area_code = #{telAreaCode},</if>
|
<if test="telAreaCode != null and telAreaCode != ''">tel_area_code = #{telAreaCode},</if>
|
||||||
<if test="isoCode != null and isoCode != ''">iso_code = #{isoCode},</if>
|
<if test="isoCode != null and isoCode != ''">iso_code = #{isoCode},</if>
|
||||||
<if test="continentId != null">continent_id = #{continentId},</if>
|
<if test="continentId != null and continentId != ''">continent_id = #{continentId},</if>
|
||||||
<if test="orderNum != null">order_num = #{orderNum},</if>
|
<if test="orderNum != null">order_num = #{orderNum},</if>
|
||||||
<if test="twoCode != null and twoCode != ''">two_code = #{twoCode},</if>
|
<if test="twoCode != null and twoCode != ''">two_code = #{twoCode},</if>
|
||||||
<if test="threeCode != null and threeCode != ''">three_code = #{threeCode},</if>
|
<if test="threeCode != null and threeCode != ''">three_code = #{threeCode},</if>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user