店铺,供应商同步到u8c客商
This commit is contained in:
parent
834ab523b3
commit
b997373f1f
|
@ -1,85 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
|
||||||
<mapper namespace="com.hzya.frame.plugin.lets.ofs.entity.ShopEntity">
|
|
||||||
<resultMap id="BaseResultMap" type="com.hzya.frame.plugin.lets.ofs.entity.ShopEntity">
|
|
||||||
<id column="bizcode" property="bizCode" jdbcType="VARCHAR"/>
|
|
||||||
<result column="name" property="name" jdbcType="VARCHAR"/>
|
|
||||||
<result column="clientcode" property="clientCode" jdbcType="VARCHAR"/>
|
|
||||||
<result column="companycode" property="companyCode" jdbcType="VARCHAR"/>
|
|
||||||
<result column="ownernickname" property="ownerNickName" jdbcType="VARCHAR"/>
|
|
||||||
<result column="platformcode" property="platformCode" jdbcType="VARCHAR"/>
|
|
||||||
<result column="storeplatformid" property="storePlatformId" jdbcType="VARCHAR"/>
|
|
||||||
<result column="owneraccount" property="ownerAccount" jdbcType="VARCHAR"/>
|
|
||||||
<result column="ownername" property="ownerName" jdbcType="VARCHAR"/>
|
|
||||||
<result column="opendate" property="openDate" jdbcType="VARCHAR"/>
|
|
||||||
<result column="closedate" property="closeDate" jdbcType="VARCHAR"/>
|
|
||||||
<result column="address" property="address" jdbcType="VARCHAR"/>
|
|
||||||
<result column="country" property="country" jdbcType="VARCHAR"/>
|
|
||||||
<result column="state" property="state" jdbcType="VARCHAR"/>
|
|
||||||
<result column="city" property="city" jdbcType="VARCHAR"/>
|
|
||||||
<result column="district" property="district" jdbcType="VARCHAR"/>
|
|
||||||
<result column="attention_to" property="attentionTo" jdbcType="VARCHAR"/>
|
|
||||||
<result column="mobile" property="mobile" jdbcType="VARCHAR"/>
|
|
||||||
<result column="status" property="status" jdbcType="VARCHAR"/>
|
|
||||||
</resultMap>
|
|
||||||
<sql id="Base_Column_List">
|
|
||||||
biz_code
|
|
||||||
, name, client_code, company_code, owner_nick_name, platform_code, store_platform_id, owner_account, owner_name, open_date, close_date, address, country, state, city, district, attention_to, mobile, status
|
|
||||||
</sql>
|
|
||||||
<select id="selectByBizCode" resultMap="BaseResultMap" parameterType="java.lang.String">
|
|
||||||
select
|
|
||||||
<include refid="Base_Column_List"/>
|
|
||||||
from shop
|
|
||||||
where biz_code = #{bizCode,jdbcType=VARCHAR}
|
|
||||||
</select>
|
|
||||||
<select id="selectByClientCode" resultMap="BaseResultMap" parameterType="java.lang.String">
|
|
||||||
select
|
|
||||||
<include refid="Base_Column_List"/>
|
|
||||||
from shop
|
|
||||||
where client_code = #{clientCode,jdbcType=VARCHAR}
|
|
||||||
</select>
|
|
||||||
<select id="selectByCompanyCode" resultMap="BaseResultMap" parameterType="java.lang.String">
|
|
||||||
select
|
|
||||||
<include refid="Base_Column_List"/>
|
|
||||||
from shop
|
|
||||||
where company_code = #{companyCode,jdbcType=VARCHAR}
|
|
||||||
</select>
|
|
||||||
<select id="selectByOwnerNickName" resultMap="BaseResultMap" parameterType="java.lang.String">
|
|
||||||
select
|
|
||||||
<include refid="Base_Column_List"/>
|
|
||||||
from shop
|
|
||||||
where owner_nick_name = #{ownerNickName,jdbcType=VARCHAR}
|
|
||||||
</select>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- 查询 采用==查询 -->
|
|
||||||
<select id="entity_list_base" resultMap="BaseResultMap"
|
|
||||||
parameterType="com.hzya.frame.plugin.lets.ofs.entity.ShopEntity">
|
|
||||||
select
|
|
||||||
<include refid="Base_Column_List"/>
|
|
||||||
from tocofs_saleout_detailed
|
|
||||||
<trim prefix="where" prefixOverrides="and">
|
|
||||||
<if test="bizcode != null">and biz_code = #{bizcode}</if>
|
|
||||||
<if test="name!= null">and name = #{name}</if>
|
|
||||||
<if test="clientcode!= null">and client_code = #{clientcode}</if>
|
|
||||||
<if test="companycode!= null">and company_code = #{companycode}</if>
|
|
||||||
<if test="ownernickname!= null">and owner_nick_name = #{ownernickname}</if>
|
|
||||||
<if test="platformcode!= null">and platform_code = #{platformcode}</if>
|
|
||||||
<if test="storeplatformid!= null">and store_platform_id = #{storeplatformid}</if>
|
|
||||||
<if test="owneraccount!= null">and owner_account = #{owneraccount}</if>
|
|
||||||
<if test="ownername!= null">and owner_name = #{ownername}</if>
|
|
||||||
<if test="opendate!= null">and open_date = #{opendate}</if>
|
|
||||||
<if test="closedate!= null">and close_date = #{closedate}</if>
|
|
||||||
<if test="address!= null">and address = #{address}</if>
|
|
||||||
<if test="country!= null">and country = #{country}</if>
|
|
||||||
<if test="state!= null">and state = #{state}</if>
|
|
||||||
<if test="city!= null">and city = #{city}</if>
|
|
||||||
<if test="district!= null">and district = #{district}</if>
|
|
||||||
<if test="attentionto!= null">and attention_to = #{attentionto}</if>
|
|
||||||
<if test="mobile!= null">and mobile = #{mobile}</if>
|
|
||||||
<if test="status!= null">and status = #{status}</if>
|
|
||||||
</trim>
|
|
||||||
</select>
|
|
||||||
|
|
||||||
|
|
||||||
</mapper>
|
|
|
@ -7,7 +7,7 @@ import lombok.Data;
|
||||||
* @Date 2024/8/7 10:23
|
* @Date 2024/8/7 10:23
|
||||||
* @PackageName:com.hzya.frame.plugin.lets.ofs.entity
|
* @PackageName:com.hzya.frame.plugin.lets.ofs.entity
|
||||||
* @ClassName: SupplierEntity
|
* @ClassName: SupplierEntity
|
||||||
* @Description: TODO
|
* @Description: dai
|
||||||
*/
|
*/
|
||||||
@Data
|
@Data
|
||||||
public class SupplierEntity {
|
public class SupplierEntity {
|
||||||
|
|
Loading…
Reference in New Issue