Merge remote-tracking branch 'origin/cc_20241008_sysBuildAndAdjust' into cc_20241008_sysBuildAndAdjust
This commit is contained in:
@@ -0,0 +1,43 @@
|
|||||||
|
package com.cool.store.dao;
|
||||||
|
|
||||||
|
import com.cool.store.entity.BuildInformationDO;
|
||||||
|
import com.cool.store.mapper.BuildInformationMapper;
|
||||||
|
import org.springframework.stereotype.Repository;
|
||||||
|
import tk.mybatis.mapper.entity.Example;
|
||||||
|
|
||||||
|
import javax.annotation.Resource;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Author: WangShuo
|
||||||
|
* @Date: 2024/10/09/下午2:18
|
||||||
|
* @Version 1.0
|
||||||
|
* @注释:
|
||||||
|
*/
|
||||||
|
@Repository
|
||||||
|
public class BuildInformationDAO {
|
||||||
|
@Resource
|
||||||
|
private BuildInformationMapper buildInformationMapper;
|
||||||
|
|
||||||
|
public Integer insertSelective(BuildInformationDO buildInformationDO) {
|
||||||
|
if (buildInformationDO == null) {
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
return buildInformationMapper.insertSelective(buildInformationDO);
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer updateByShopIdSelective(BuildInformationDO buildInformationDO) {
|
||||||
|
if (buildInformationDO == null) {
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
Example example = new Example(BuildInformationDO.class);
|
||||||
|
example.createCriteria().andEqualTo("shopId", buildInformationDO.getShopId());
|
||||||
|
return buildInformationMapper.updateByExampleSelective(buildInformationDO,example);
|
||||||
|
}
|
||||||
|
public BuildInformationDO selectOneByShopId(Long shopId) {
|
||||||
|
Example example = new Example(BuildInformationDO.class);
|
||||||
|
example.createCriteria().andEqualTo("shopId",shopId);
|
||||||
|
return buildInformationMapper.selectOneByExample(example);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,43 @@
|
|||||||
|
package com.cool.store.dao;
|
||||||
|
|
||||||
|
import com.cool.store.entity.BuildInformationDO;
|
||||||
|
import com.cool.store.entity.PlatformBuildDO;
|
||||||
|
import com.cool.store.mapper.PlatformBuildMapper;
|
||||||
|
import org.springframework.stereotype.Repository;
|
||||||
|
import tk.mybatis.mapper.entity.Example;
|
||||||
|
|
||||||
|
import javax.annotation.Resource;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Author: WangShuo
|
||||||
|
* @Date: 2024/10/09/下午2:58
|
||||||
|
* @Version 1.0
|
||||||
|
* @注释:
|
||||||
|
*/
|
||||||
|
@Repository
|
||||||
|
public class PlatformBuildDAO {
|
||||||
|
@Resource
|
||||||
|
private PlatformBuildMapper platformBuildMapper;
|
||||||
|
|
||||||
|
|
||||||
|
public Integer insertSelective(PlatformBuildDO platformBuildDO) {
|
||||||
|
if (platformBuildDO == null) {
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
return platformBuildMapper.insertSelective(platformBuildDO);
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer updateByShopIdSelective(PlatformBuildDO platformBuildDO) {
|
||||||
|
if (platformBuildDO == null) {
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
Example example = new Example(BuildInformationDO.class);
|
||||||
|
example.createCriteria().andEqualTo("shopId", platformBuildDO.getShopId());
|
||||||
|
return platformBuildMapper.updateByExampleSelective(platformBuildDO,example);
|
||||||
|
}
|
||||||
|
public PlatformBuildDO selectOneByShopId(Long shopId,Integer type) {
|
||||||
|
Example example = new Example(PlatformBuildDO.class);
|
||||||
|
example.createCriteria().andEqualTo("shopId",shopId).andEqualTo("type",type);
|
||||||
|
return platformBuildMapper.selectOneByExample(example);
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,41 @@
|
|||||||
|
package com.cool.store.dao;
|
||||||
|
|
||||||
|
import com.cool.store.entity.BuildInformationDO;
|
||||||
|
import com.cool.store.entity.PosAndOrderInfoDO;
|
||||||
|
import com.cool.store.mapper.PosAndOrderInfoMapper;
|
||||||
|
import org.springframework.stereotype.Repository;
|
||||||
|
import tk.mybatis.mapper.entity.Example;
|
||||||
|
|
||||||
|
import javax.annotation.Resource;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Author: WangShuo
|
||||||
|
* @Date: 2024/10/09/下午3:00
|
||||||
|
* @Version 1.0
|
||||||
|
* @注释:
|
||||||
|
*/
|
||||||
|
@Repository
|
||||||
|
public class PosAndOrderInfoDAO {
|
||||||
|
@Resource
|
||||||
|
private PosAndOrderInfoMapper posAndOrderInfoMapper;
|
||||||
|
public Integer insertSelective(PosAndOrderInfoDO posAndOrderInfoDO) {
|
||||||
|
if (posAndOrderInfoDO == null) {
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
return posAndOrderInfoMapper.insertSelective(posAndOrderInfoDO);
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer updateByShopIdSelective(PosAndOrderInfoDO posAndOrderInfoDO) {
|
||||||
|
if (posAndOrderInfoDO == null) {
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
Example example = new Example(BuildInformationDO.class);
|
||||||
|
example.createCriteria().andEqualTo("shopId", posAndOrderInfoDO.getShopId());
|
||||||
|
return posAndOrderInfoMapper.updateByExampleSelective(posAndOrderInfoDO,example);
|
||||||
|
}
|
||||||
|
public PosAndOrderInfoDO selectOneByShopId(Long shopId,Integer type) {
|
||||||
|
Example example = new Example(PosAndOrderInfoDO.class);
|
||||||
|
example.createCriteria().andEqualTo("shopId",shopId).andEqualTo("type",type);
|
||||||
|
return posAndOrderInfoMapper.selectOneByExample(example);
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,19 @@
|
|||||||
|
package com.cool.store.mapper;
|
||||||
|
|
||||||
|
import com.cool.store.entity.BuildInformationDO;
|
||||||
|
import tk.mybatis.mapper.common.Mapper;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author EDY
|
||||||
|
* @description 针对表【xfsg_build_information(建店资料表)】的数据库操作Mapper
|
||||||
|
* @createDate 2024-10-09 14:05:52
|
||||||
|
* @Entity com.cool.store.entity.BuildInformationDO
|
||||||
|
*/
|
||||||
|
public interface BuildInformationMapper extends Mapper<BuildInformationDO> {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -0,0 +1,18 @@
|
|||||||
|
package com.cool.store.mapper;
|
||||||
|
|
||||||
|
import com.cool.store.entity.PlatformBuildDO;
|
||||||
|
import tk.mybatis.mapper.common.Mapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author EDY
|
||||||
|
* @description 针对表【xfsg_platform_build(平台建店表)】的数据库操作Mapper
|
||||||
|
* @createDate 2024-10-09 14:54:40
|
||||||
|
* @Entity com.cool.store.entity.PlatformBuildDO
|
||||||
|
*/
|
||||||
|
public interface PlatformBuildMapper extends Mapper<PlatformBuildDO> {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -0,0 +1,19 @@
|
|||||||
|
package com.cool.store.mapper;
|
||||||
|
|
||||||
|
import com.cool.store.entity.PosAndOrderInfoDO;
|
||||||
|
|
||||||
|
import tk.mybatis.mapper.common.Mapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author EDY
|
||||||
|
* @description 针对表【xfsg_pos_and_order_info(pos/订货系统表)】的数据库操作Mapper
|
||||||
|
* @createDate 2024-10-09 14:39:11
|
||||||
|
* @Entity com.cool.store.entity.PosAndOrderInfoDO
|
||||||
|
*/
|
||||||
|
public interface PosAndOrderInfoMapper extends Mapper<PosAndOrderInfoDO> {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -0,0 +1,42 @@
|
|||||||
|
<?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.cool.store.mapper.BuildInformationMapper">
|
||||||
|
|
||||||
|
<resultMap id="BaseResultMap" type="com.cool.store.entity.BuildInformationDO">
|
||||||
|
<id property="id" column="id" jdbcType="BIGINT"/>
|
||||||
|
<result property="shopId" column="shop_id" jdbcType="BIGINT"/>
|
||||||
|
<result property="shopContactName" column="shop_contact_name" jdbcType="VARCHAR"/>
|
||||||
|
<result property="shopContactMobile" column="shop_contact_mobile" jdbcType="VARCHAR"/>
|
||||||
|
<result property="businessHours" column="business_hours" jdbcType="TIMESTAMP"/>
|
||||||
|
<result property="businessMobile" column="business_mobile" jdbcType="VARCHAR"/>
|
||||||
|
<result property="doorPhoto" column="door_photo" jdbcType="VARCHAR"/>
|
||||||
|
<result property="inStorePhoto" column="in_store_photo" jdbcType="VARCHAR"/>
|
||||||
|
<result property="juridicalIdCardFront" column="juridical_id_card_front" jdbcType="VARCHAR"/>
|
||||||
|
<result property="juridicalIdCardReverse" column="juridical_id_card_reverse" jdbcType="VARCHAR"/>
|
||||||
|
<result property="juridicalHandheldIdCardFront" column="juridical_handheld_id_card_front" jdbcType="VARCHAR"/>
|
||||||
|
<result property="juridicalHandheldIdCardReverse" column="juridical_handheld_id_card_reverse" jdbcType="VARCHAR"/>
|
||||||
|
<result property="settlerIdCardFront" column="settler_id_card_front" jdbcType="VARCHAR"/>
|
||||||
|
<result property="settlerIdCardReverse" column="settler_id_card_reverse" jdbcType="VARCHAR"/>
|
||||||
|
<result property="settlerIdCardNo" column="settler_id_card_no" jdbcType="VARCHAR"/>
|
||||||
|
<result property="settlerBankNumber" column="settler_bank_number" jdbcType="VARCHAR"/>
|
||||||
|
<result property="settlerBankMobile" column="settler_bank_mobile" jdbcType="VARCHAR"/>
|
||||||
|
<result property="settlerBankName" column="settler_bank_name" jdbcType="VARCHAR"/>
|
||||||
|
<result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
|
||||||
|
<result property="updateTime" column="update_time" jdbcType="TIMESTAMP"/>
|
||||||
|
<result property="createUser" column="create_user" jdbcType="VARCHAR"/>
|
||||||
|
<result property="updateUser" column="update_user" jdbcType="VARCHAR"/>
|
||||||
|
</resultMap>
|
||||||
|
|
||||||
|
<sql id="Base_Column_List">
|
||||||
|
id,shop_id,shop_contact_name,
|
||||||
|
shop_contact_mobile,business_hours,business_mobile,
|
||||||
|
door_photo,in_store_photo,juridical_id_card_front,
|
||||||
|
juridical_id_card_reverse,juridical_handheld_id_card_front,juridical_handheld_id_card_reverse,
|
||||||
|
settler_id_card_front,settler_id_card_reverse,settler_id_card_no,
|
||||||
|
settler_bank_number,settler_bank_mobile,settler_bank_name,
|
||||||
|
create_time,update_time,create_user,
|
||||||
|
update_user
|
||||||
|
</sql>
|
||||||
|
</mapper>
|
||||||
@@ -14,6 +14,12 @@
|
|||||||
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
|
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
|
||||||
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
|
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
|
||||||
<result column="deleted" jdbcType="BIT" property="deleted" />
|
<result column="deleted" jdbcType="BIT" property="deleted" />
|
||||||
|
<result column="construction_plan_start_time" jdbcType="TIMESTAMP" property="constructionPlanStartTime" />
|
||||||
|
<result column="construction_plan_end_time" jdbcType="TIMESTAMP" property="constructionPlanEndTime" />
|
||||||
|
<result column="construction_annex" jdbcType="VARCHAR" property="constructionAnnex" />
|
||||||
|
<result column="construction_remark" jdbcType="VARCHAR" property="constructionRemark" />
|
||||||
|
<result column="construction_create_time" jdbcType="TIMESTAMP" property="constructionCreateTime" />
|
||||||
|
<result column="construction_create_user" jdbcType="VARCHAR" property="constructionCreateUser" />
|
||||||
</resultMap>
|
</resultMap>
|
||||||
|
|
||||||
<select id="selectByShopId" resultMap="BaseResultMap">
|
<select id="selectByShopId" resultMap="BaseResultMap">
|
||||||
|
|||||||
@@ -0,0 +1,38 @@
|
|||||||
|
<?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.cool.store.mapper.PlatformBuildMapper">
|
||||||
|
|
||||||
|
<resultMap id="BaseResultMap" type="com.cool.store.entity.PlatformBuildDO">
|
||||||
|
<id property="id" column="id" jdbcType="BIGINT"/>
|
||||||
|
<result property="shopId" column="shop_id" jdbcType="BIGINT"/>
|
||||||
|
<result property="auditId" column="audit_id" jdbcType="BIGINT"/>
|
||||||
|
<result property="type" column="type" jdbcType="TINYINT"/>
|
||||||
|
<result property="settlerIdCardFront" column="settler_id_card_front" jdbcType="VARCHAR"/>
|
||||||
|
<result property="settlerIdCardReverse" column="settler_id_card_reverse" jdbcType="VARCHAR"/>
|
||||||
|
<result property="settlerIdCardNo" column="settler_id_card_no" jdbcType="VARCHAR"/>
|
||||||
|
<result property="settlerBankNumber" column="settler_bank_number" jdbcType="VARCHAR"/>
|
||||||
|
<result property="settlerBankMobile" column="settler_bank_mobile" jdbcType="VARCHAR"/>
|
||||||
|
<result property="settlerBankName" column="settler_bank_name" jdbcType="VARCHAR"/>
|
||||||
|
<result property="relationshipProofUrl" column="relationship_proof_url" jdbcType="VARCHAR"/>
|
||||||
|
<result property="accountOpeningPermitUrl" column="account_opening_permit_url" jdbcType="VARCHAR"/>
|
||||||
|
<result property="account" column="account" jdbcType="VARCHAR"/>
|
||||||
|
<result property="storePositioningUrl" column="store_positioning_url" jdbcType="VARCHAR"/>
|
||||||
|
<result property="authorizationUrl" column="authorization_url" jdbcType="VARCHAR"/>
|
||||||
|
<result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
|
||||||
|
<result property="updateTime" column="update_time" jdbcType="TIMESTAMP"/>
|
||||||
|
<result property="createUser" column="create_user" jdbcType="VARCHAR"/>
|
||||||
|
<result property="updateUser" column="update_user" jdbcType="VARCHAR"/>
|
||||||
|
</resultMap>
|
||||||
|
|
||||||
|
<sql id="Base_Column_List">
|
||||||
|
id,shop_id,audit_id,
|
||||||
|
type,settler_id_card_front,settler_id_card_reverse,
|
||||||
|
settler_id_card_no,settler_bank_number,settler_bank_mobile,
|
||||||
|
settler_bank_name,relationship_proof_url,account_opening_permit_url,
|
||||||
|
account,store_positioning_url,authorization_url,
|
||||||
|
create_time,update_time,create_user,
|
||||||
|
update_user
|
||||||
|
</sql>
|
||||||
|
</mapper>
|
||||||
@@ -0,0 +1,23 @@
|
|||||||
|
<?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.cool.store.mapper.PosAndOrderInfoMapper">
|
||||||
|
|
||||||
|
<resultMap id="BaseResultMap" type="com.cool.store.entity.PosAndOrderInfoDO">
|
||||||
|
<id property="id" column="id" jdbcType="BIGINT"/>
|
||||||
|
<result property="shopId" column="shop_id" jdbcType="BIGINT"/>
|
||||||
|
<result property="type" column="type" jdbcType="TINYINT"/>
|
||||||
|
<result property="account" column="account" jdbcType="VARCHAR"/>
|
||||||
|
<result property="password" column="password" jdbcType="VARCHAR"/>
|
||||||
|
<result property="remark" column="remark" jdbcType="VARCHAR"/>
|
||||||
|
<result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
|
||||||
|
<result property="createUser" column="create_user" jdbcType="VARCHAR"/>
|
||||||
|
</resultMap>
|
||||||
|
|
||||||
|
<sql id="Base_Column_List">
|
||||||
|
id,shop_id,type,
|
||||||
|
account,password,remark,
|
||||||
|
create_time,create_user
|
||||||
|
</sql>
|
||||||
|
</mapper>
|
||||||
@@ -0,0 +1,146 @@
|
|||||||
|
package com.cool.store.entity;
|
||||||
|
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.util.Date;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import javax.persistence.*;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 建店资料表
|
||||||
|
* @TableName xfsg_build_information
|
||||||
|
*/
|
||||||
|
@Table(name ="xfsg_build_information")
|
||||||
|
@Data
|
||||||
|
public class BuildInformationDO {
|
||||||
|
|
||||||
|
@Id
|
||||||
|
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||||
|
private Long id;
|
||||||
|
|
||||||
|
|
||||||
|
@Column(name = "shop_id")
|
||||||
|
private Long shopId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 门店联系人姓名
|
||||||
|
*/
|
||||||
|
@Column(name = "shop_contact_name")
|
||||||
|
private String shopContactName;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 门店联系人手机号
|
||||||
|
*/
|
||||||
|
@Column(name = "shop_contact_mobile")
|
||||||
|
private String shopContactMobile;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 营业时间
|
||||||
|
*/
|
||||||
|
@Column(name = "business_hours")
|
||||||
|
private Date businessHours;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 营业电话
|
||||||
|
*/
|
||||||
|
@Column(name = "business_mobile")
|
||||||
|
private String businessMobile;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 门头照(图片)
|
||||||
|
*/
|
||||||
|
@Column(name = "door_photo")
|
||||||
|
private String doorPhoto;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 店内照(图片)
|
||||||
|
*/
|
||||||
|
@Column(name = "in_store_photo")
|
||||||
|
private String inStorePhoto;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 法人身份证正面(图片)
|
||||||
|
*/
|
||||||
|
@Column(name = "juridical_id_card_front")
|
||||||
|
private String juridicalIdCardFront;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 法人身份证反面(图片)
|
||||||
|
*/
|
||||||
|
@Column(name = "juridical_id_card_reverse")
|
||||||
|
private String juridicalIdCardReverse;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 法人手持身份证正面(图片)
|
||||||
|
*/
|
||||||
|
@Column(name = "juridical_handheld_id_card_front")
|
||||||
|
private String juridicalHandheldIdCardFront;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 法人手持身份证反面(图片)
|
||||||
|
*/
|
||||||
|
@Column(name = "juridical_handheld_id_card_reverse")
|
||||||
|
private String juridicalHandheldIdCardReverse;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 结算人身份证正面(图片)
|
||||||
|
*/
|
||||||
|
@Column(name = "settler_id_card_front")
|
||||||
|
private String settlerIdCardFront;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 结算人身份证反面(图片)
|
||||||
|
*/
|
||||||
|
@Column(name = "settler_id_card_reverse")
|
||||||
|
private String settlerIdCardReverse;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 结算人身份证号
|
||||||
|
*/
|
||||||
|
@Column(name = "settler_id_card_no")
|
||||||
|
private String settlerIdCardNo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 结算人银行卡号
|
||||||
|
*/
|
||||||
|
@Column(name = "settler_bank_number")
|
||||||
|
private String settlerBankNumber;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 结算人银行卡预留手机号
|
||||||
|
*/
|
||||||
|
@Column(name = "settler_bank_mobile")
|
||||||
|
private String settlerBankMobile;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 结算开户银行支行
|
||||||
|
*/
|
||||||
|
@Column(name = "settler_bank_name")
|
||||||
|
private String settlerBankName;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建时间
|
||||||
|
*/
|
||||||
|
@Column(name = "create_time")
|
||||||
|
private Date createTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 更新时间
|
||||||
|
*/
|
||||||
|
@Column(name = "update_time")
|
||||||
|
private Date updateTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建人
|
||||||
|
*/
|
||||||
|
@Column(name = "create_user")
|
||||||
|
private String createUser;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 更新人
|
||||||
|
*/
|
||||||
|
@Column(name = "update_user")
|
||||||
|
private String updateUser;
|
||||||
|
|
||||||
|
}
|
||||||
@@ -55,6 +55,42 @@ public class DecorationDesignInfoDO {
|
|||||||
*/
|
*/
|
||||||
private Boolean deleted;
|
private Boolean deleted;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 预计开工时间
|
||||||
|
*/
|
||||||
|
@Column(name = "construction_plan_start_time")
|
||||||
|
private Date constructionPlanStartTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 预计完工时间
|
||||||
|
*/
|
||||||
|
@Column(name = "construction_plan_end_time")
|
||||||
|
private Date constructionPlanEndTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 附件
|
||||||
|
*/
|
||||||
|
@Column(name = "construction_annex")
|
||||||
|
private String constructionAnnex;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 备注
|
||||||
|
*/
|
||||||
|
@Column(name = "construction_remark")
|
||||||
|
private String constructionRemark;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建时间
|
||||||
|
*/
|
||||||
|
@Column(name = "construction_create_time")
|
||||||
|
private Date constructionCreateTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建人
|
||||||
|
*/
|
||||||
|
@Column(name = "construction_create_user")
|
||||||
|
private String constructionCreateUser;
|
||||||
/**
|
/**
|
||||||
* @return id
|
* @return id
|
||||||
*/
|
*/
|
||||||
@@ -204,6 +240,54 @@ public class DecorationDesignInfoDO {
|
|||||||
return deleted;
|
return deleted;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Date getConstructionPlanStartTime() {
|
||||||
|
return constructionPlanStartTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setConstructionPlanStartTime(Date constructionPlanStartTime) {
|
||||||
|
this.constructionPlanStartTime = constructionPlanStartTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Date getConstructionPlanEndTime() {
|
||||||
|
return constructionPlanEndTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setConstructionPlanEndTime(Date constructionPlanEndTime) {
|
||||||
|
this.constructionPlanEndTime = constructionPlanEndTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getConstructionAnnex() {
|
||||||
|
return constructionAnnex;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setConstructionAnnex(String constructionAnnex) {
|
||||||
|
this.constructionAnnex = constructionAnnex;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getConstructionRemark() {
|
||||||
|
return constructionRemark;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setConstructionRemark(String constructionRemark) {
|
||||||
|
this.constructionRemark = constructionRemark;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Date getConstructionCreateTime() {
|
||||||
|
return constructionCreateTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setConstructionCreateTime(Date constructionCreateTime) {
|
||||||
|
this.constructionCreateTime = constructionCreateTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getConstructionCreateUser() {
|
||||||
|
return constructionCreateUser;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setConstructionCreateUser(String constructionCreateUser) {
|
||||||
|
this.constructionCreateUser = constructionCreateUser;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 设置是否删除:0.否 1.是
|
* 设置是否删除:0.否 1.是
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -0,0 +1,132 @@
|
|||||||
|
package com.cool.store.entity;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.util.Date;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import javax.persistence.*;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 平台建店表
|
||||||
|
* @TableName xfsg_platform_build
|
||||||
|
*/
|
||||||
|
@Table(name ="xfsg_platform_build")
|
||||||
|
@Data
|
||||||
|
public class PlatformBuildDO {
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
@Id
|
||||||
|
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||||
|
private Long id;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
@Column(name = "shop_id")
|
||||||
|
private Long shopId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 审核id
|
||||||
|
*/
|
||||||
|
@Column(name = "audit_id")
|
||||||
|
private Long auditId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 1-抖音,2-快手,3-美团团购,4-饿了么,5-美团外卖,6-(营帐通)
|
||||||
|
*/
|
||||||
|
@Column(name = "type")
|
||||||
|
private Integer type;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 结算人身份证正面(图片)
|
||||||
|
*/
|
||||||
|
@Column(name = "settler_id_card_front")
|
||||||
|
private String settlerIdCardFront;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 结算人身份证反面(图片)
|
||||||
|
*/
|
||||||
|
@Column(name = "settler_id_card_reverse")
|
||||||
|
private String settlerIdCardReverse;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 结算人身份证号
|
||||||
|
*/
|
||||||
|
@Column(name = "settler_id_card_no")
|
||||||
|
private String settlerIdCardNo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 结算人银行卡号
|
||||||
|
*/
|
||||||
|
@Column(name = "settler_bank_number")
|
||||||
|
private String settlerBankNumber;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 结算人银行卡预留手机号
|
||||||
|
*/
|
||||||
|
@Column(name = "settler_bank_mobile")
|
||||||
|
private String settlerBankMobile;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 结算开户银行支行
|
||||||
|
*/
|
||||||
|
@Column(name = "settler_bank_name")
|
||||||
|
private String settlerBankName;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 商户关系证明图片(营帐通非法人结算需要)
|
||||||
|
*/
|
||||||
|
@Column(name = "relationship_proof_url")
|
||||||
|
private String relationshipProofUrl;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 开户许可证(图片)(营帐通公司结算需要)
|
||||||
|
*/
|
||||||
|
@Column(name = "account_opening_permit_url")
|
||||||
|
private String accountOpeningPermitUrl;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 平台账号(快手)
|
||||||
|
*/
|
||||||
|
@Column(name = "account")
|
||||||
|
private String account;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 门店定位截图(快手&抖音)
|
||||||
|
*/
|
||||||
|
@Column(name = "store_positioning_url")
|
||||||
|
private String storePositioningUrl;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 授权书(抖音非法人结算需要)
|
||||||
|
*/
|
||||||
|
@Column(name = "authorization_url")
|
||||||
|
private String authorizationUrl;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建时间
|
||||||
|
*/
|
||||||
|
@Column(name = "create_time")
|
||||||
|
private Date createTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 更新时间
|
||||||
|
*/
|
||||||
|
@Column(name = "update_time")
|
||||||
|
private Date updateTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建人
|
||||||
|
*/
|
||||||
|
@Column(name = "create_user")
|
||||||
|
private String createUser;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 更新人
|
||||||
|
*/
|
||||||
|
@Column(name = "update_user")
|
||||||
|
private String updateUser;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,67 @@
|
|||||||
|
package com.cool.store.entity;
|
||||||
|
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.util.Date;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import javax.persistence.*;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* pos/订货系统表
|
||||||
|
* @TableName xfsg_pos_and_order_info
|
||||||
|
*/
|
||||||
|
@Table(name ="xfsg_pos_and_order_info")
|
||||||
|
@Data
|
||||||
|
public class PosAndOrderInfoDO {
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
@Id
|
||||||
|
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||||
|
private Long id;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
@Column(name = "shop_id")
|
||||||
|
private Long shopId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 1-pos 2-订货系统
|
||||||
|
*/
|
||||||
|
@Column(name = "type")
|
||||||
|
private Integer type;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 账号
|
||||||
|
*/
|
||||||
|
@Column(name = "account")
|
||||||
|
private String account;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 密码
|
||||||
|
*/
|
||||||
|
@Column(name = "password")
|
||||||
|
private String password;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 备注
|
||||||
|
*/
|
||||||
|
@Column(name = "remark")
|
||||||
|
private String remark;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建时间
|
||||||
|
*/
|
||||||
|
@Column(name = "create_time")
|
||||||
|
private Date createTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建人
|
||||||
|
*/
|
||||||
|
@Column(name = "create_user")
|
||||||
|
private String createUser;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
package com.cool.store.service;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author EDY
|
||||||
|
* @description 针对表【xfsg_build_information(建店资料表)】的数据库操作Service
|
||||||
|
* @createDate 2024-10-09 14:05:52
|
||||||
|
*/
|
||||||
|
public interface BuildInformationService {
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
package com.cool.store.service;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author EDY
|
||||||
|
* @description 针对表【xfsg_platform_build(平台建店表)】的数据库操作Service
|
||||||
|
* @createDate 2024-10-09 14:54:40
|
||||||
|
*/
|
||||||
|
public interface PlatformBuildService {
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
package com.cool.store.service;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author EDY
|
||||||
|
* @description 针对表【xfsg_pos_and_order_info(pos/订货系统表)】的数据库操作Service
|
||||||
|
* @createDate 2024-10-09 14:39:11
|
||||||
|
*/
|
||||||
|
public interface PosAndOrderInfoService {
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,20 @@
|
|||||||
|
package com.cool.store.service.impl;
|
||||||
|
|
||||||
|
|
||||||
|
import com.cool.store.service.BuildInformationService;
|
||||||
|
import com.cool.store.mapper.BuildInformationMapper;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author EDY
|
||||||
|
* @description 针对表【xfsg_build_information(建店资料表)】的数据库操作Service实现
|
||||||
|
* @createDate 2024-10-09 14:05:52
|
||||||
|
*/
|
||||||
|
@Service
|
||||||
|
public class BuildInformationServiceImpl implements BuildInformationService{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -0,0 +1,21 @@
|
|||||||
|
package com.cool.store.service.impl;
|
||||||
|
|
||||||
|
|
||||||
|
import com.cool.store.entity.PlatformBuildDO;
|
||||||
|
import com.cool.store.service.PlatformBuildService;
|
||||||
|
import com.cool.store.mapper.PlatformBuildMapper;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author EDY
|
||||||
|
* @description 针对表【xfsg_platform_build(平台建店表)】的数据库操作Service实现
|
||||||
|
* @createDate 2024-10-09 14:54:40
|
||||||
|
*/
|
||||||
|
@Service
|
||||||
|
public class PlatformBuildServiceImpl implements PlatformBuildService{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -0,0 +1,20 @@
|
|||||||
|
package com.cool.store.service.impl;
|
||||||
|
|
||||||
|
|
||||||
|
import com.cool.store.service.PosAndOrderInfoService;
|
||||||
|
import com.cool.store.mapper.PosAndOrderInfoMapper;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author EDY
|
||||||
|
* @description 针对表【xfsg_pos_and_order_info(pos/订货系统表)】的数据库操作Service实现
|
||||||
|
* @createDate 2024-10-09 14:39:11
|
||||||
|
*/
|
||||||
|
@Service
|
||||||
|
public class PosAndOrderInfoServiceImpl implements PosAndOrderInfoService{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user