红圈通接口
This commit is contained in:
@@ -74,5 +74,8 @@ public class BigRegionDAO {
|
||||
example.setOrderByClause("id ASC limit 1");
|
||||
return bigRegionMapper.selectOneByExample(example);
|
||||
}
|
||||
public Integer updateHqtDate(BigRegionDO bigRegionDO){
|
||||
return bigRegionMapper.updateHqtDate(bigRegionDO);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -27,4 +27,6 @@ public interface BigRegionMapper extends Mapper<BigRegionDO> {
|
||||
BigRegionDO queryOrgInfoByBigRegionAndJoinMode(Long regionId,Integer joinMode);
|
||||
|
||||
List<BigRegionDTO> queryBigRegion(@Param("request") QueryBigRegionRequest queryBigRegionRequest);
|
||||
|
||||
Integer updateHqtDate(BigRegionDO bigRegionDO);
|
||||
}
|
||||
@@ -16,10 +16,18 @@
|
||||
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
|
||||
<result column="group_name" jdbcType="VARCHAR" property="groupName" />
|
||||
<result column="store_manage_region_id" jdbcType="BIGINT" property="storeManageRegionId" />
|
||||
<result column="hqt_region_code" jdbcType="VARCHAR" property="hqtRegionCode" />
|
||||
<result column="hqt_region_name" jdbcType="VARCHAR" property="hqtRegionName" />
|
||||
</resultMap>
|
||||
<update id="updateHqtDate">
|
||||
update xfsg_big_region
|
||||
set hqt_region_code = #{hqtRegionCode},
|
||||
hqt_region_name = #{hqtRegionName}
|
||||
where id = #{id}
|
||||
</update>
|
||||
|
||||
|
||||
<select id="queryAllBigRegion" resultType="com.cool.store.dto.region.BigRegionDTO">
|
||||
<select id="queryAllBigRegion" resultType="com.cool.store.dto.region.BigRegionDTO">
|
||||
select DISTINCT
|
||||
region_id as regionId,
|
||||
region_name as regionName,
|
||||
|
||||
Reference in New Issue
Block a user