md
This commit is contained in:
parent
fa7e67866a
commit
c8c940a06f
@ -53,11 +53,10 @@ public class EmisRegionController extends BaseController
|
|||||||
*/
|
*/
|
||||||
@PreAuthorize("@ss.hasPermi('emis:emisRegion:list')")
|
@PreAuthorize("@ss.hasPermi('emis:emisRegion:list')")
|
||||||
@GetMapping("/list")
|
@GetMapping("/list")
|
||||||
public TableDataInfo list(EmisRegion emisRegion)
|
public AjaxResult list(EmisRegion emisRegion)
|
||||||
{
|
{
|
||||||
startPage();
|
|
||||||
List<EmisRegion> list = emisRegionService.selectEmisRegionList(emisRegion);
|
List<EmisRegion> list = emisRegionService.selectEmisRegionList(emisRegion);
|
||||||
return getDataTable(list);
|
return AjaxResult.success(list);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
* @Project: emis
|
* @Project: emis
|
||||||
* @Title: EmisRegion.java
|
* @Title: EmisRegion.java
|
||||||
* @author linfso
|
* @author linfso
|
||||||
* @date 2023-11-16 16:18:40
|
* @date 2023-12-13 05:49:14
|
||||||
* @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>
|
||||||
@ -25,9 +25,9 @@ import lombok.Data;
|
|||||||
* @ClassName EmisRegion
|
* @ClassName EmisRegion
|
||||||
* @Description 四级省市区镇表
|
* @Description 四级省市区镇表
|
||||||
* @author linfso
|
* @author linfso
|
||||||
* @date 2023-11-16 16:18:40
|
* @date 2023-12-13 05:49:14
|
||||||
*/
|
*/
|
||||||
@Data
|
@Data
|
||||||
public class EmisRegion extends BaseEntity
|
public class EmisRegion extends BaseEntity
|
||||||
{
|
{
|
||||||
private static final long serialVersionUID = 1L;
|
private static final long serialVersionUID = 1L;
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" ?>
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
<!DOCTYPE mapper
|
<!DOCTYPE mapper
|
||||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||||
<mapper namespace="com.xdadan.erp.emis.mapper.EmisRegionMapper">
|
<mapper namespace="com.xdadan.erp.emis.mapper.EmisRegionMapper">
|
||||||
|
|
||||||
<resultMap type="EmisRegion" id="EmisRegionResult">
|
<resultMap type="EmisRegion" id="EmisRegionResult">
|
||||||
@ -87,7 +87,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
<if test="areaName != null and areaName != ''">area_name,</if>
|
<if test="areaName != null and areaName != ''">area_name,</if>
|
||||||
<if test="countryCode != null and countryCode != ''">country_code,</if>
|
<if test="countryCode != null and countryCode != ''">country_code,</if>
|
||||||
<if test="countryName != null and countryName != ''">country_name,</if>
|
<if test="countryName != null and countryName != ''">country_name,</if>
|
||||||
</trim>
|
</trim>
|
||||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||||
<if test="id != null">#{id},</if>
|
<if test="id != null">#{id},</if>
|
||||||
<if test="regionName != null and regionName != ''">#{regionName},</if>
|
<if test="regionName != null and regionName != ''">#{regionName},</if>
|
||||||
@ -109,7 +109,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
<if test="areaName != null and areaName != ''">#{areaName},</if>
|
<if test="areaName != null and areaName != ''">#{areaName},</if>
|
||||||
<if test="countryCode != null and countryCode != ''">#{countryCode},</if>
|
<if test="countryCode != null and countryCode != ''">#{countryCode},</if>
|
||||||
<if test="countryName != null and countryName != ''">#{countryName},</if>
|
<if test="countryName != null and countryName != ''">#{countryName},</if>
|
||||||
</trim>
|
</trim>
|
||||||
</insert>
|
</insert>
|
||||||
|
|
||||||
<update id="updateEmisRegion" parameterType="EmisRegion">
|
<update id="updateEmisRegion" parameterType="EmisRegion">
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user