红圈通接口改造hqtShopId
This commit is contained in:
@@ -348,4 +348,11 @@ public class ShopInfoDAO {
|
||||
example.createCriteria().andEqualTo("shopCode", shopCode);
|
||||
return shopInfoMapper.selectByExample(example);
|
||||
}
|
||||
|
||||
public Integer updateHqtShopId (Long shopId,String hqtShopId){
|
||||
if (shopId==null || StringUtils.isBlank(hqtShopId)){
|
||||
return 0;
|
||||
}
|
||||
return shopInfoMapper.updateHqtShopId(shopId, hqtShopId);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -14,6 +14,7 @@ import com.cool.store.response.MiniShopsResponse;
|
||||
import com.cool.store.response.PlatformBuildListResponse;
|
||||
import com.cool.store.vo.shop.StageShopCountVO;
|
||||
import com.github.pagehelper.Page;
|
||||
import io.swagger.models.auth.In;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
import tk.mybatis.mapper.common.Mapper;
|
||||
|
||||
@@ -147,4 +148,6 @@ public interface ShopInfoMapper extends Mapper<ShopInfoDO> {
|
||||
List<IsCreateStoreDTO> selectIsCreateStore();
|
||||
Integer updateManagerRegionId(@Param("list") List<ShopInfoDO> shopList);
|
||||
Integer getNumByShopCode(@Param("shopCode") String shopCode);
|
||||
|
||||
Integer updateHqtShopId(@Param("shopId") Long shopId,@Param("hqtShopId") String hqtShopId);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user