表初始化mapper
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
package com.cool.store.mapper;
|
||||
|
||||
import com.cool.store.model.entity.HyAdvancedSettingDO;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
/**
|
||||
* @author zhangchenbiao
|
||||
* @date 2023-05-29 03:49
|
||||
*/
|
||||
public interface HyAdvancedSettingMapper {
|
||||
/**
|
||||
*
|
||||
* 默认插入方法,只会给有值的字段赋值
|
||||
* 会对传进来的字段做判空处理,如果字段为空,则使用数据库默认字段或者null
|
||||
* dateTime:2023-05-29 03:49
|
||||
*/
|
||||
int insertSelective(@Param("record") HyAdvancedSettingDO record, @Param("enterpriseId") String enterpriseId);
|
||||
|
||||
/**
|
||||
*
|
||||
* 默认更新方法,根据主键更新,不会把null值更新到数据库,避免覆盖之前有值的
|
||||
* dateTime:2023-05-29 03:49
|
||||
*/
|
||||
int updateByPrimaryKeySelective(@Param("record") HyAdvancedSettingDO record, @Param("enterpriseId") String enterpriseId);
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
package com.cool.store.mapper;
|
||||
|
||||
import com.cool.store.model.entity.HyContentInfoDO;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
/**
|
||||
* @author zhangchenbiao
|
||||
* @date 2023-05-29 03:50
|
||||
*/
|
||||
public interface HyContentInfoMapper {
|
||||
/**
|
||||
*
|
||||
* 默认插入方法,只会给有值的字段赋值
|
||||
* 会对传进来的字段做判空处理,如果字段为空,则使用数据库默认字段或者null
|
||||
* dateTime:2023-05-29 03:50
|
||||
*/
|
||||
int insertSelective(@Param("record") HyContentInfoDO record, @Param("enterpriseId") String enterpriseId);
|
||||
|
||||
/**
|
||||
*
|
||||
* 默认更新方法,根据主键更新,不会把null值更新到数据库,避免覆盖之前有值的
|
||||
* dateTime:2023-05-29 03:50
|
||||
*/
|
||||
int updateByPrimaryKeySelective(@Param("record") HyContentInfoDO record, @Param("enterpriseId") String enterpriseId);
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
package com.cool.store.mapper;
|
||||
|
||||
import com.cool.store.model.entity.HyIntendDevZoneInfoDO;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
/**
|
||||
* @author zhangchenbiao
|
||||
* @date 2023-05-29 03:50
|
||||
*/
|
||||
public interface HyIntendDevZoneInfoMapper {
|
||||
/**
|
||||
*
|
||||
* 默认插入方法,只会给有值的字段赋值
|
||||
* 会对传进来的字段做判空处理,如果字段为空,则使用数据库默认字段或者null
|
||||
* dateTime:2023-05-29 03:50
|
||||
*/
|
||||
int insertSelective(@Param("record") HyIntendDevZoneInfoDO record, @Param("enterpriseId") String enterpriseId);
|
||||
|
||||
/**
|
||||
*
|
||||
* 默认更新方法,根据主键更新,不会把null值更新到数据库,避免覆盖之前有值的
|
||||
* dateTime:2023-05-29 03:50
|
||||
*/
|
||||
int updateByPrimaryKeySelective(@Param("record") HyIntendDevZoneInfoDO record, @Param("enterpriseId") String enterpriseId);
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
package com.cool.store.mapper;
|
||||
|
||||
import com.cool.store.model.entity.HyIntendDevelopementMappingDO;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
/**
|
||||
* @author zhangchenbiao
|
||||
* @date 2023-05-29 03:50
|
||||
*/
|
||||
public interface HyIntendDevelopementMappingMapper {
|
||||
/**
|
||||
*
|
||||
* 默认插入方法,只会给有值的字段赋值
|
||||
* 会对传进来的字段做判空处理,如果字段为空,则使用数据库默认字段或者null
|
||||
* dateTime:2023-05-29 03:50
|
||||
*/
|
||||
int insertSelective(@Param("record") HyIntendDevelopementMappingDO record, @Param("enterpriseId") String enterpriseId);
|
||||
|
||||
/**
|
||||
*
|
||||
* 默认更新方法,根据主键更新,不会把null值更新到数据库,避免覆盖之前有值的
|
||||
* dateTime:2023-05-29 03:50
|
||||
*/
|
||||
int updateByPrimaryKeySelective(@Param("record") HyIntendDevelopementMappingDO record, @Param("enterpriseId") String enterpriseId);
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
package com.cool.store.mapper;
|
||||
|
||||
import com.cool.store.model.entity.HyOpenAreaInfoDO;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
/**
|
||||
* @author zhangchenbiao
|
||||
* @date 2023-05-29 03:51
|
||||
*/
|
||||
public interface HyOpenAreaInfoMapper {
|
||||
/**
|
||||
*
|
||||
* 默认插入方法,只会给有值的字段赋值
|
||||
* 会对传进来的字段做判空处理,如果字段为空,则使用数据库默认字段或者null
|
||||
* dateTime:2023-05-29 03:51
|
||||
*/
|
||||
int insertSelective(@Param("record") HyOpenAreaInfoDO record, @Param("enterpriseId") String enterpriseId);
|
||||
|
||||
/**
|
||||
*
|
||||
* 默认更新方法,根据主键更新,不会把null值更新到数据库,避免覆盖之前有值的
|
||||
* dateTime:2023-05-29 03:51
|
||||
*/
|
||||
int updateByPrimaryKeySelective(@Param("record") HyOpenAreaInfoDO record, @Param("enterpriseId") String enterpriseId);
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
package com.cool.store.mapper;
|
||||
|
||||
import com.cool.store.model.entity.HyPartnerBaseInfoDO;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
/**
|
||||
* @author zhangchenbiao
|
||||
* @date 2023-05-29 03:51
|
||||
*/
|
||||
public interface HyPartnerBaseInfoMapper {
|
||||
/**
|
||||
*
|
||||
* 默认插入方法,只会给有值的字段赋值
|
||||
* 会对传进来的字段做判空处理,如果字段为空,则使用数据库默认字段或者null
|
||||
* dateTime:2023-05-29 03:51
|
||||
*/
|
||||
int insertSelective(@Param("record") HyPartnerBaseInfoDO record, @Param("enterpriseId") String enterpriseId);
|
||||
|
||||
/**
|
||||
*
|
||||
* 默认更新方法,根据主键更新,不会把null值更新到数据库,避免覆盖之前有值的
|
||||
* dateTime:2023-05-29 03:51
|
||||
*/
|
||||
int updateByPrimaryKeySelective(@Param("record") HyPartnerBaseInfoDO record, @Param("enterpriseId") String enterpriseId);
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
package com.cool.store.mapper;
|
||||
|
||||
import com.cool.store.model.entity.HyPartnerCertificationInfoDO;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
/**
|
||||
* @author zhangchenbiao
|
||||
* @date 2023-05-29 03:51
|
||||
*/
|
||||
public interface HyPartnerCertificationInfoMapper {
|
||||
/**
|
||||
*
|
||||
* 默认插入方法,只会给有值的字段赋值
|
||||
* 会对传进来的字段做判空处理,如果字段为空,则使用数据库默认字段或者null
|
||||
* dateTime:2023-05-29 03:51
|
||||
*/
|
||||
int insertSelective(@Param("record") HyPartnerCertificationInfoDO record, @Param("enterpriseId") String enterpriseId);
|
||||
|
||||
/**
|
||||
*
|
||||
* 默认更新方法,根据主键更新,不会把null值更新到数据库,避免覆盖之前有值的
|
||||
* dateTime:2023-05-29 03:51
|
||||
*/
|
||||
int updateByPrimaryKeySelective(@Param("record") HyPartnerCertificationInfoDO record, @Param("enterpriseId") String enterpriseId);
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
package com.cool.store.mapper;
|
||||
|
||||
import com.cool.store.model.entity.HyPartnerClerkDO;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
/**
|
||||
* @author zhangchenbiao
|
||||
* @date 2023-05-29 03:51
|
||||
*/
|
||||
public interface HyPartnerClerkMapper {
|
||||
/**
|
||||
*
|
||||
* 默认插入方法,只会给有值的字段赋值
|
||||
* 会对传进来的字段做判空处理,如果字段为空,则使用数据库默认字段或者null
|
||||
* dateTime:2023-05-29 03:51
|
||||
*/
|
||||
int insertSelective(@Param("record") HyPartnerClerkDO record, @Param("enterpriseId") String enterpriseId);
|
||||
|
||||
/**
|
||||
*
|
||||
* 默认更新方法,根据主键更新,不会把null值更新到数据库,避免覆盖之前有值的
|
||||
* dateTime:2023-05-29 03:51
|
||||
*/
|
||||
int updateByPrimaryKeySelective(@Param("record") HyPartnerClerkDO record, @Param("enterpriseId") String enterpriseId);
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
package com.cool.store.mapper;
|
||||
|
||||
import com.cool.store.model.entity.HyPartnerIntentInfoDO;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
/**
|
||||
* @author zhangchenbiao
|
||||
* @date 2023-05-29 03:52
|
||||
*/
|
||||
public interface HyPartnerIntentInfoMapper {
|
||||
/**
|
||||
*
|
||||
* 默认插入方法,只会给有值的字段赋值
|
||||
* 会对传进来的字段做判空处理,如果字段为空,则使用数据库默认字段或者null
|
||||
* dateTime:2023-05-29 03:52
|
||||
*/
|
||||
int insertSelective(@Param("record") HyPartnerIntentInfoDO record, @Param("enterpriseId") String enterpriseId);
|
||||
|
||||
/**
|
||||
*
|
||||
* 默认更新方法,根据主键更新,不会把null值更新到数据库,避免覆盖之前有值的
|
||||
* dateTime:2023-05-29 03:52
|
||||
*/
|
||||
int updateByPrimaryKeySelective(@Param("record") HyPartnerIntentInfoDO record, @Param("enterpriseId") String enterpriseId);
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
package com.cool.store.mapper;
|
||||
|
||||
import com.cool.store.model.entity.HyPartnerInterviewLogDO;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
/**
|
||||
* @author zhangchenbiao
|
||||
* @date 2023-05-29 03:52
|
||||
*/
|
||||
public interface HyPartnerInterviewLogMapper {
|
||||
/**
|
||||
*
|
||||
* 默认插入方法,只会给有值的字段赋值
|
||||
* 会对传进来的字段做判空处理,如果字段为空,则使用数据库默认字段或者null
|
||||
* dateTime:2023-05-29 03:52
|
||||
*/
|
||||
int insertSelective(@Param("record") HyPartnerInterviewLogDO record, @Param("enterpriseId") String enterpriseId);
|
||||
|
||||
/**
|
||||
*
|
||||
* 默认更新方法,根据主键更新,不会把null值更新到数据库,避免覆盖之前有值的
|
||||
* dateTime:2023-05-29 03:52
|
||||
*/
|
||||
int updateByPrimaryKeySelective(@Param("record") HyPartnerInterviewLogDO record, @Param("enterpriseId") String enterpriseId);
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
package com.cool.store.mapper;
|
||||
|
||||
import com.cool.store.model.entity.HyPartnerInterviewDO;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
/**
|
||||
* @author zhangchenbiao
|
||||
* @date 2023-05-29 03:52
|
||||
*/
|
||||
public interface HyPartnerInterviewMapper {
|
||||
/**
|
||||
*
|
||||
* 默认插入方法,只会给有值的字段赋值
|
||||
* 会对传进来的字段做判空处理,如果字段为空,则使用数据库默认字段或者null
|
||||
* dateTime:2023-05-29 03:52
|
||||
*/
|
||||
int insertSelective(@Param("record") HyPartnerInterviewDO record, @Param("enterpriseId") String enterpriseId);
|
||||
|
||||
/**
|
||||
*
|
||||
* 默认更新方法,根据主键更新,不会把null值更新到数据库,避免覆盖之前有值的
|
||||
* dateTime:2023-05-29 03:52
|
||||
*/
|
||||
int updateByPrimaryKeySelective(@Param("record") HyPartnerInterviewDO record, @Param("enterpriseId") String enterpriseId);
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
package com.cool.store.mapper;
|
||||
|
||||
import com.cool.store.model.entity.HyPartnerInterviewPlanDO;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
/**
|
||||
* @author zhangchenbiao
|
||||
* @date 2023-05-29 03:52
|
||||
*/
|
||||
public interface HyPartnerInterviewPlanMapper {
|
||||
/**
|
||||
*
|
||||
* 默认插入方法,只会给有值的字段赋值
|
||||
* 会对传进来的字段做判空处理,如果字段为空,则使用数据库默认字段或者null
|
||||
* dateTime:2023-05-29 03:52
|
||||
*/
|
||||
int insertSelective(@Param("record") HyPartnerInterviewPlanDO record, @Param("enterpriseId") String enterpriseId);
|
||||
|
||||
/**
|
||||
*
|
||||
* 默认更新方法,根据主键更新,不会把null值更新到数据库,避免覆盖之前有值的
|
||||
* dateTime:2023-05-29 03:52
|
||||
*/
|
||||
int updateByPrimaryKeySelective(@Param("record") HyPartnerInterviewPlanDO record, @Param("enterpriseId") String enterpriseId);
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
package com.cool.store.mapper;
|
||||
|
||||
import com.cool.store.model.entity.HyPartnerLineInfoDO;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
/**
|
||||
* @author zhangchenbiao
|
||||
* @date 2023-05-29 03:52
|
||||
*/
|
||||
public interface HyPartnerLineInfoMapper {
|
||||
/**
|
||||
*
|
||||
* 默认插入方法,只会给有值的字段赋值
|
||||
* 会对传进来的字段做判空处理,如果字段为空,则使用数据库默认字段或者null
|
||||
* dateTime:2023-05-29 03:52
|
||||
*/
|
||||
int insertSelective(@Param("record") HyPartnerLineInfoDO record, @Param("enterpriseId") String enterpriseId);
|
||||
|
||||
/**
|
||||
*
|
||||
* 默认更新方法,根据主键更新,不会把null值更新到数据库,避免覆盖之前有值的
|
||||
* dateTime:2023-05-29 03:52
|
||||
*/
|
||||
int updateByPrimaryKeySelective(@Param("record") HyPartnerLineInfoDO record, @Param("enterpriseId") String enterpriseId);
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
package com.cool.store.mapper;
|
||||
|
||||
import com.cool.store.model.entity.HyPartnerTaskInfoLogDO;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
/**
|
||||
* @author zhangchenbiao
|
||||
* @date 2023-05-29 03:53
|
||||
*/
|
||||
public interface HyPartnerTaskInfoLogMapper {
|
||||
/**
|
||||
*
|
||||
* 默认插入方法,只会给有值的字段赋值
|
||||
* 会对传进来的字段做判空处理,如果字段为空,则使用数据库默认字段或者null
|
||||
* dateTime:2023-05-29 03:53
|
||||
*/
|
||||
int insertSelective(@Param("record") HyPartnerTaskInfoLogDO record, @Param("enterpriseId") String enterpriseId);
|
||||
|
||||
/**
|
||||
*
|
||||
* 默认更新方法,根据主键更新,不会把null值更新到数据库,避免覆盖之前有值的
|
||||
* dateTime:2023-05-29 03:53
|
||||
*/
|
||||
int updateByPrimaryKeySelective(@Param("record") HyPartnerTaskInfoLogDO record, @Param("enterpriseId") String enterpriseId);
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
package com.cool.store.mapper;
|
||||
|
||||
import com.cool.store.model.entity.HyPartnerUserInfoDO;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
/**
|
||||
* @author zhangchenbiao
|
||||
* @date 2023-05-29 03:53
|
||||
*/
|
||||
public interface HyPartnerUserInfoMapper {
|
||||
/**
|
||||
*
|
||||
* 默认插入方法,只会给有值的字段赋值
|
||||
* 会对传进来的字段做判空处理,如果字段为空,则使用数据库默认字段或者null
|
||||
* dateTime:2023-05-29 03:53
|
||||
*/
|
||||
int insertSelective(@Param("record") HyPartnerUserInfoDO record, @Param("enterpriseId") String enterpriseId);
|
||||
|
||||
/**
|
||||
*
|
||||
* 默认更新方法,根据主键更新,不会把null值更新到数据库,避免覆盖之前有值的
|
||||
* dateTime:2023-05-29 03:53
|
||||
*/
|
||||
int updateByPrimaryKeySelective(@Param("record") HyPartnerUserInfoDO record, @Param("enterpriseId") String enterpriseId);
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
package com.cool.store.mapper;
|
||||
|
||||
import com.cool.store.model.entity.HyPartnerUserPlatformBindDO;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
/**
|
||||
* @author zhangchenbiao
|
||||
* @date 2023-05-29 03:53
|
||||
*/
|
||||
public interface HyPartnerUserPlatformBindMapper {
|
||||
/**
|
||||
*
|
||||
* 默认插入方法,只会给有值的字段赋值
|
||||
* 会对传进来的字段做判空处理,如果字段为空,则使用数据库默认字段或者null
|
||||
* dateTime:2023-05-29 03:53
|
||||
*/
|
||||
int insertSelective(@Param("record") HyPartnerUserPlatformBindDO record, @Param("enterpriseId") String enterpriseId);
|
||||
|
||||
/**
|
||||
*
|
||||
* 默认更新方法,根据主键更新,不会把null值更新到数据库,避免覆盖之前有值的
|
||||
* dateTime:2023-05-29 03:53
|
||||
*/
|
||||
int updateByPrimaryKeySelective(@Param("record") HyPartnerUserPlatformBindDO record, @Param("enterpriseId") String enterpriseId);
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
package com.cool.store.mapper;
|
||||
|
||||
import com.cool.store.model.entity.HyWorkflowStageDO;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
/**
|
||||
* @author zhangchenbiao
|
||||
* @date 2023-05-29 03:53
|
||||
*/
|
||||
public interface HyWorkflowStageMapper {
|
||||
/**
|
||||
*
|
||||
* 默认插入方法,只会给有值的字段赋值
|
||||
* 会对传进来的字段做判空处理,如果字段为空,则使用数据库默认字段或者null
|
||||
* dateTime:2023-05-29 03:53
|
||||
*/
|
||||
int insertSelective(@Param("record") HyWorkflowStageDO record, @Param("enterpriseId") String enterpriseId);
|
||||
|
||||
/**
|
||||
*
|
||||
* 默认更新方法,根据主键更新,不会把null值更新到数据库,避免覆盖之前有值的
|
||||
* dateTime:2023-05-29 03:53
|
||||
*/
|
||||
int updateByPrimaryKeySelective(@Param("record") HyWorkflowStageDO record, @Param("enterpriseId") String enterpriseId);
|
||||
}
|
||||
@@ -0,0 +1,104 @@
|
||||
<?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.HyAdvancedSettingMapper">
|
||||
<resultMap id="BaseResultMap" type="com.cool.store.model.entity.HyAdvancedSettingDO">
|
||||
<id column="id" jdbcType="BIGINT" property="id" />
|
||||
<result column="partner_url" jdbcType="VARCHAR" property="partnerUrl" />
|
||||
<result column="allocation_roles" jdbcType="VARCHAR" property="allocationRoles" />
|
||||
<result column="tencent_video_account" jdbcType="VARCHAR" property="tencentVideoAccount" />
|
||||
<result column="tencent_video_key" jdbcType="VARCHAR" property="tencentVideoKey" />
|
||||
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
|
||||
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
|
||||
<result column="create_user_id" jdbcType="VARCHAR" property="createUserId" />
|
||||
<result column="update_user_id" jdbcType="VARCHAR" property="updateUserId" />
|
||||
</resultMap>
|
||||
<sql id="Base_Column_List">
|
||||
id, partner_url, allocation_roles, tencent_video_account, tencent_video_key, create_time,
|
||||
update_time, create_user_id, update_user_id
|
||||
</sql>
|
||||
<insert id="insertSelective" keyColumn="id" keyProperty="record.id" useGeneratedKeys="true">
|
||||
insert into hy_advanced_setting_${enterpriseId}
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="record.partnerUrl != null">
|
||||
partner_url,
|
||||
</if>
|
||||
<if test="record.allocationRoles != null">
|
||||
allocation_roles,
|
||||
</if>
|
||||
<if test="record.tencentVideoAccount != null">
|
||||
tencent_video_account,
|
||||
</if>
|
||||
<if test="record.tencentVideoKey != null">
|
||||
tencent_video_key,
|
||||
</if>
|
||||
<if test="record.createTime != null">
|
||||
create_time,
|
||||
</if>
|
||||
<if test="record.updateTime != null">
|
||||
update_time,
|
||||
</if>
|
||||
<if test="record.createUserId != null">
|
||||
create_user_id,
|
||||
</if>
|
||||
<if test="record.updateUserId != null">
|
||||
update_user_id,
|
||||
</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="record.partnerUrl != null">
|
||||
#{record.partnerUrl},
|
||||
</if>
|
||||
<if test="record.allocationRoles != null">
|
||||
#{record.allocationRoles},
|
||||
</if>
|
||||
<if test="record.tencentVideoAccount != null">
|
||||
#{record.tencentVideoAccount},
|
||||
</if>
|
||||
<if test="record.tencentVideoKey != null">
|
||||
#{record.tencentVideoKey},
|
||||
</if>
|
||||
<if test="record.createTime != null">
|
||||
#{record.createTime},
|
||||
</if>
|
||||
<if test="record.updateTime != null">
|
||||
#{record.updateTime},
|
||||
</if>
|
||||
<if test="record.createUserId != null">
|
||||
#{record.createUserId},
|
||||
</if>
|
||||
<if test="record.updateUserId != null">
|
||||
#{record.updateUserId},
|
||||
</if>
|
||||
</trim>
|
||||
</insert>
|
||||
<update id="updateByPrimaryKeySelective">
|
||||
update hy_advanced_setting_${enterpriseId}
|
||||
<set>
|
||||
<if test="record.partnerUrl != null">
|
||||
partner_url = #{record.partnerUrl},
|
||||
</if>
|
||||
<if test="record.allocationRoles != null">
|
||||
allocation_roles = #{record.allocationRoles},
|
||||
</if>
|
||||
<if test="record.tencentVideoAccount != null">
|
||||
tencent_video_account = #{record.tencentVideoAccount},
|
||||
</if>
|
||||
<if test="record.tencentVideoKey != null">
|
||||
tencent_video_key = #{record.tencentVideoKey},
|
||||
</if>
|
||||
<if test="record.createTime != null">
|
||||
create_time = #{record.createTime},
|
||||
</if>
|
||||
<if test="record.updateTime != null">
|
||||
update_time = #{record.updateTime},
|
||||
</if>
|
||||
<if test="record.createUserId != null">
|
||||
create_user_id = #{record.createUserId},
|
||||
</if>
|
||||
<if test="record.updateUserId != null">
|
||||
update_user_id = #{record.updateUserId},
|
||||
</if>
|
||||
</set>
|
||||
where id = #{record.id}
|
||||
</update>
|
||||
</mapper>
|
||||
@@ -0,0 +1,139 @@
|
||||
<?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.HyContentInfoMapper">
|
||||
<resultMap id="BaseResultMap" type="com.cool.store.model.entity.HyContentInfoDO">
|
||||
<id column="id" jdbcType="BIGINT" property="id" />
|
||||
<result column="content_title" jdbcType="VARCHAR" property="contentTitle" />
|
||||
<result column="subject" jdbcType="VARCHAR" property="subject" />
|
||||
<result column="content_type" jdbcType="VARCHAR" property="contentType" />
|
||||
<result column="cover" jdbcType="VARCHAR" property="cover" />
|
||||
<result column="status" jdbcType="TINYINT" property="status" />
|
||||
<result column="deleted" jdbcType="TINYINT" property="deleted" />
|
||||
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
|
||||
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
|
||||
<result column="create_user_id" jdbcType="VARCHAR" property="createUserId" />
|
||||
<result column="update_user_id" jdbcType="VARCHAR" property="updateUserId" />
|
||||
</resultMap>
|
||||
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.cool.store.model.entity.HyContentInfoDO">
|
||||
<result column="content" jdbcType="LONGVARCHAR" property="content" />
|
||||
</resultMap>
|
||||
<sql id="Base_Column_List">
|
||||
id, content_title, subject, content_type, cover, status, deleted, create_time, update_time,
|
||||
create_user_id, update_user_id
|
||||
</sql>
|
||||
<sql id="Blob_Column_List">
|
||||
content
|
||||
</sql>
|
||||
<insert id="insertSelective" keyColumn="id" keyProperty="record.id" useGeneratedKeys="true">
|
||||
insert into hy_content_info_${enterpriseId}
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="record.contentTitle != null">
|
||||
content_title,
|
||||
</if>
|
||||
<if test="record.subject != null">
|
||||
subject,
|
||||
</if>
|
||||
<if test="record.contentType != null">
|
||||
content_type,
|
||||
</if>
|
||||
<if test="record.cover != null">
|
||||
cover,
|
||||
</if>
|
||||
<if test="record.status != null">
|
||||
status,
|
||||
</if>
|
||||
<if test="record.deleted != null">
|
||||
deleted,
|
||||
</if>
|
||||
<if test="record.createTime != null">
|
||||
create_time,
|
||||
</if>
|
||||
<if test="record.updateTime != null">
|
||||
update_time,
|
||||
</if>
|
||||
<if test="record.createUserId != null">
|
||||
create_user_id,
|
||||
</if>
|
||||
<if test="record.updateUserId != null">
|
||||
update_user_id,
|
||||
</if>
|
||||
<if test="record.content != null">
|
||||
content,
|
||||
</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="record.contentTitle != null">
|
||||
#{record.contentTitle},
|
||||
</if>
|
||||
<if test="record.subject != null">
|
||||
#{record.subject},
|
||||
</if>
|
||||
<if test="record.contentType != null">
|
||||
#{record.contentType},
|
||||
</if>
|
||||
<if test="record.cover != null">
|
||||
#{record.cover},
|
||||
</if>
|
||||
<if test="record.status != null">
|
||||
#{record.status},
|
||||
</if>
|
||||
<if test="record.deleted != null">
|
||||
#{record.deleted},
|
||||
</if>
|
||||
<if test="record.createTime != null">
|
||||
#{record.createTime},
|
||||
</if>
|
||||
<if test="record.updateTime != null">
|
||||
#{record.updateTime},
|
||||
</if>
|
||||
<if test="record.createUserId != null">
|
||||
#{record.createUserId},
|
||||
</if>
|
||||
<if test="record.updateUserId != null">
|
||||
#{record.updateUserId},
|
||||
</if>
|
||||
<if test="record.content != null">
|
||||
#{record.content},
|
||||
</if>
|
||||
</trim>
|
||||
</insert>
|
||||
<update id="updateByPrimaryKeySelective">
|
||||
update hy_content_info_${enterpriseId}
|
||||
<set>
|
||||
<if test="record.contentTitle != null">
|
||||
content_title = #{record.contentTitle},
|
||||
</if>
|
||||
<if test="record.subject != null">
|
||||
subject = #{record.subject},
|
||||
</if>
|
||||
<if test="record.contentType != null">
|
||||
content_type = #{record.contentType},
|
||||
</if>
|
||||
<if test="record.cover != null">
|
||||
cover = #{record.cover},
|
||||
</if>
|
||||
<if test="record.status != null">
|
||||
status = #{record.status},
|
||||
</if>
|
||||
<if test="record.deleted != null">
|
||||
deleted = #{record.deleted},
|
||||
</if>
|
||||
<if test="record.createTime != null">
|
||||
create_time = #{record.createTime},
|
||||
</if>
|
||||
<if test="record.updateTime != null">
|
||||
update_time = #{record.updateTime},
|
||||
</if>
|
||||
<if test="record.createUserId != null">
|
||||
create_user_id = #{record.createUserId},
|
||||
</if>
|
||||
<if test="record.updateUserId != null">
|
||||
update_user_id = #{record.updateUserId},
|
||||
</if>
|
||||
<if test="record.content != null">
|
||||
content = #{record.content},
|
||||
</if>
|
||||
</set>
|
||||
where id = #{record.id}
|
||||
</update>
|
||||
</mapper>
|
||||
@@ -0,0 +1,114 @@
|
||||
<?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.HyIntendDevZoneInfoMapper">
|
||||
<resultMap id="BaseResultMap" type="com.cool.store.model.entity.HyIntendDevZoneInfoDO">
|
||||
<id column="id" jdbcType="BIGINT" property="id" />
|
||||
<result column="zone_name" jdbcType="VARCHAR" property="zoneName" />
|
||||
<result column="associated_region_id" jdbcType="VARCHAR" property="associatedRegionId" />
|
||||
<result column="type" jdbcType="VARCHAR" property="type" />
|
||||
<result column="last_allot_user_id" jdbcType="VARCHAR" property="lastAllotUserId" />
|
||||
<result column="deleted" jdbcType="TINYINT" property="deleted" />
|
||||
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
|
||||
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
|
||||
<result column="create_user_id" jdbcType="VARCHAR" property="createUserId" />
|
||||
<result column="update_user_id" jdbcType="VARCHAR" property="updateUserId" />
|
||||
</resultMap>
|
||||
<sql id="Base_Column_List">
|
||||
id, zone_name, associated_region_id, type, last_allot_user_id, deleted, create_time,
|
||||
update_time, create_user_id, update_user_id
|
||||
</sql>
|
||||
<insert id="insertSelective" keyColumn="id" keyProperty="record.id" useGeneratedKeys="true">
|
||||
insert into hy_intend_dev_zone_info_${enterpriseId}
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="record.zoneName != null">
|
||||
zone_name,
|
||||
</if>
|
||||
<if test="record.associatedRegionId != null">
|
||||
associated_region_id,
|
||||
</if>
|
||||
<if test="record.type != null">
|
||||
type,
|
||||
</if>
|
||||
<if test="record.lastAllotUserId != null">
|
||||
last_allot_user_id,
|
||||
</if>
|
||||
<if test="record.deleted != null">
|
||||
deleted,
|
||||
</if>
|
||||
<if test="record.createTime != null">
|
||||
create_time,
|
||||
</if>
|
||||
<if test="record.updateTime != null">
|
||||
update_time,
|
||||
</if>
|
||||
<if test="record.createUserId != null">
|
||||
create_user_id,
|
||||
</if>
|
||||
<if test="record.updateUserId != null">
|
||||
update_user_id,
|
||||
</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="record.zoneName != null">
|
||||
#{record.zoneName},
|
||||
</if>
|
||||
<if test="record.associatedRegionId != null">
|
||||
#{record.associatedRegionId},
|
||||
</if>
|
||||
<if test="record.type != null">
|
||||
#{record.type},
|
||||
</if>
|
||||
<if test="record.lastAllotUserId != null">
|
||||
#{record.lastAllotUserId},
|
||||
</if>
|
||||
<if test="record.deleted != null">
|
||||
#{record.deleted},
|
||||
</if>
|
||||
<if test="record.createTime != null">
|
||||
#{record.createTime},
|
||||
</if>
|
||||
<if test="record.updateTime != null">
|
||||
#{record.updateTime},
|
||||
</if>
|
||||
<if test="record.createUserId != null">
|
||||
#{record.createUserId},
|
||||
</if>
|
||||
<if test="record.updateUserId != null">
|
||||
#{record.updateUserId},
|
||||
</if>
|
||||
</trim>
|
||||
</insert>
|
||||
<update id="updateByPrimaryKeySelective">
|
||||
update hy_intend_dev_zone_info_${enterpriseId}
|
||||
<set>
|
||||
<if test="record.zoneName != null">
|
||||
zone_name = #{record.zoneName},
|
||||
</if>
|
||||
<if test="record.associatedRegionId != null">
|
||||
associated_region_id = #{record.associatedRegionId},
|
||||
</if>
|
||||
<if test="record.type != null">
|
||||
type = #{record.type},
|
||||
</if>
|
||||
<if test="record.lastAllotUserId != null">
|
||||
last_allot_user_id = #{record.lastAllotUserId},
|
||||
</if>
|
||||
<if test="record.deleted != null">
|
||||
deleted = #{record.deleted},
|
||||
</if>
|
||||
<if test="record.createTime != null">
|
||||
create_time = #{record.createTime},
|
||||
</if>
|
||||
<if test="record.updateTime != null">
|
||||
update_time = #{record.updateTime},
|
||||
</if>
|
||||
<if test="record.createUserId != null">
|
||||
create_user_id = #{record.createUserId},
|
||||
</if>
|
||||
<if test="record.updateUserId != null">
|
||||
update_user_id = #{record.updateUserId},
|
||||
</if>
|
||||
</set>
|
||||
where id = #{record.id}
|
||||
</update>
|
||||
</mapper>
|
||||
@@ -0,0 +1,73 @@
|
||||
<?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.HyIntendDevelopementMappingMapper">
|
||||
<resultMap id="BaseResultMap" type="com.cool.store.model.entity.HyIntendDevelopementMappingDO">
|
||||
<id column="id" jdbcType="BIGINT" property="id" />
|
||||
<result column="mapping_id" jdbcType="VARCHAR" property="mappingId" />
|
||||
<result column="open_area_mapping_id" jdbcType="VARCHAR" property="openAreaMappingId" />
|
||||
<result column="type" jdbcType="VARCHAR" property="type" />
|
||||
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
|
||||
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
|
||||
</resultMap>
|
||||
<sql id="Base_Column_List">
|
||||
id, mapping_id, open_area_mapping_id, type, create_time, update_time
|
||||
</sql>
|
||||
<insert id="insertSelective" keyColumn="id" keyProperty="record.id" useGeneratedKeys="true">
|
||||
insert into hy_intend_developement_mapping_${enterpriseId}
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="record.mappingId != null">
|
||||
mapping_id,
|
||||
</if>
|
||||
<if test="record.openAreaMappingId != null">
|
||||
open_area_mapping_id,
|
||||
</if>
|
||||
<if test="record.type != null">
|
||||
type,
|
||||
</if>
|
||||
<if test="record.createTime != null">
|
||||
create_time,
|
||||
</if>
|
||||
<if test="record.updateTime != null">
|
||||
update_time,
|
||||
</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="record.mappingId != null">
|
||||
#{record.mappingId},
|
||||
</if>
|
||||
<if test="record.openAreaMappingId != null">
|
||||
#{record.openAreaMappingId},
|
||||
</if>
|
||||
<if test="record.type != null">
|
||||
#{record.type},
|
||||
</if>
|
||||
<if test="record.createTime != null">
|
||||
#{record.createTime},
|
||||
</if>
|
||||
<if test="record.updateTime != null">
|
||||
#{record.updateTime},
|
||||
</if>
|
||||
</trim>
|
||||
</insert>
|
||||
<update id="updateByPrimaryKeySelective">
|
||||
update hy_intend_developement_mapping_${enterpriseId}
|
||||
<set>
|
||||
<if test="record.mappingId != null">
|
||||
mapping_id = #{record.mappingId},
|
||||
</if>
|
||||
<if test="record.openAreaMappingId != null">
|
||||
open_area_mapping_id = #{record.openAreaMappingId},
|
||||
</if>
|
||||
<if test="record.type != null">
|
||||
type = #{record.type},
|
||||
</if>
|
||||
<if test="record.createTime != null">
|
||||
create_time = #{record.createTime},
|
||||
</if>
|
||||
<if test="record.updateTime != null">
|
||||
update_time = #{record.updateTime},
|
||||
</if>
|
||||
</set>
|
||||
where id = #{record.id}
|
||||
</update>
|
||||
</mapper>
|
||||
@@ -0,0 +1,124 @@
|
||||
<?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.HyOpenAreaInfoMapper">
|
||||
<resultMap id="BaseResultMap" type="com.cool.store.model.entity.HyOpenAreaInfoDO">
|
||||
<id column="id" jdbcType="BIGINT" property="id" />
|
||||
<result column="parent_id" jdbcType="BIGINT" property="parentId" />
|
||||
<result column="area_name" jdbcType="VARCHAR" property="areaName" />
|
||||
<result column="area_path" jdbcType="VARCHAR" property="areaPath" />
|
||||
<result column="background_banner" jdbcType="VARCHAR" property="backgroundBanner" />
|
||||
<result column="detail_banner" jdbcType="VARCHAR" property="detailBanner" />
|
||||
<result column="area_status" jdbcType="VARCHAR" property="areaStatus" />
|
||||
<result column="deleted" jdbcType="TINYINT" property="deleted" />
|
||||
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
|
||||
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
|
||||
<result column="update_user_id" jdbcType="VARCHAR" property="updateUserId" />
|
||||
</resultMap>
|
||||
<sql id="Base_Column_List">
|
||||
id, parent_id, area_name, area_path, background_banner, detail_banner, area_status,
|
||||
deleted, create_time, update_time, update_user_id
|
||||
</sql>
|
||||
<insert id="insertSelective" keyColumn="id" keyProperty="record.id" useGeneratedKeys="true">
|
||||
insert into hy_open_area_info_${enterpriseId}
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="record.parentId != null">
|
||||
parent_id,
|
||||
</if>
|
||||
<if test="record.areaName != null">
|
||||
area_name,
|
||||
</if>
|
||||
<if test="record.areaPath != null">
|
||||
area_path,
|
||||
</if>
|
||||
<if test="record.backgroundBanner != null">
|
||||
background_banner,
|
||||
</if>
|
||||
<if test="record.detailBanner != null">
|
||||
detail_banner,
|
||||
</if>
|
||||
<if test="record.areaStatus != null">
|
||||
area_status,
|
||||
</if>
|
||||
<if test="record.deleted != null">
|
||||
deleted,
|
||||
</if>
|
||||
<if test="record.createTime != null">
|
||||
create_time,
|
||||
</if>
|
||||
<if test="record.updateTime != null">
|
||||
update_time,
|
||||
</if>
|
||||
<if test="record.updateUserId != null">
|
||||
update_user_id,
|
||||
</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="record.parentId != null">
|
||||
#{record.parentId},
|
||||
</if>
|
||||
<if test="record.areaName != null">
|
||||
#{record.areaName},
|
||||
</if>
|
||||
<if test="record.areaPath != null">
|
||||
#{record.areaPath},
|
||||
</if>
|
||||
<if test="record.backgroundBanner != null">
|
||||
#{record.backgroundBanner},
|
||||
</if>
|
||||
<if test="record.detailBanner != null">
|
||||
#{record.detailBanner},
|
||||
</if>
|
||||
<if test="record.areaStatus != null">
|
||||
#{record.areaStatus},
|
||||
</if>
|
||||
<if test="record.deleted != null">
|
||||
#{record.deleted},
|
||||
</if>
|
||||
<if test="record.createTime != null">
|
||||
#{record.createTime},
|
||||
</if>
|
||||
<if test="record.updateTime != null">
|
||||
#{record.updateTime},
|
||||
</if>
|
||||
<if test="record.updateUserId != null">
|
||||
#{record.updateUserId},
|
||||
</if>
|
||||
</trim>
|
||||
</insert>
|
||||
<update id="updateByPrimaryKeySelective">
|
||||
update hy_open_area_info_${enterpriseId}
|
||||
<set>
|
||||
<if test="record.parentId != null">
|
||||
parent_id = #{record.parentId},
|
||||
</if>
|
||||
<if test="record.areaName != null">
|
||||
area_name = #{record.areaName},
|
||||
</if>
|
||||
<if test="record.areaPath != null">
|
||||
area_path = #{record.areaPath},
|
||||
</if>
|
||||
<if test="record.backgroundBanner != null">
|
||||
background_banner = #{record.backgroundBanner},
|
||||
</if>
|
||||
<if test="record.detailBanner != null">
|
||||
detail_banner = #{record.detailBanner},
|
||||
</if>
|
||||
<if test="record.areaStatus != null">
|
||||
area_status = #{record.areaStatus},
|
||||
</if>
|
||||
<if test="record.deleted != null">
|
||||
deleted = #{record.deleted},
|
||||
</if>
|
||||
<if test="record.createTime != null">
|
||||
create_time = #{record.createTime},
|
||||
</if>
|
||||
<if test="record.updateTime != null">
|
||||
update_time = #{record.updateTime},
|
||||
</if>
|
||||
<if test="record.updateUserId != null">
|
||||
update_user_id = #{record.updateUserId},
|
||||
</if>
|
||||
</set>
|
||||
where id = #{record.id}
|
||||
</update>
|
||||
</mapper>
|
||||
@@ -0,0 +1,205 @@
|
||||
<?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.HyPartnerBaseInfoMapper">
|
||||
<resultMap id="BaseResultMap" type="com.cool.store.model.entity.HyPartnerBaseInfoDO">
|
||||
<id column="id" jdbcType="BIGINT" property="id" />
|
||||
<result column="partner_id" jdbcType="VARCHAR" property="partnerId" />
|
||||
<result column="partner_line_id" jdbcType="BIGINT" property="partnerLineId" />
|
||||
<result column="mobile" jdbcType="VARCHAR" property="mobile" />
|
||||
<result column="username" jdbcType="VARCHAR" property="username" />
|
||||
<result column="sex" jdbcType="BIT" property="sex" />
|
||||
<result column="nation" jdbcType="VARCHAR" property="nation" />
|
||||
<result column="birthdate" jdbcType="DATE" property="birthdate" />
|
||||
<result column="id_card" jdbcType="VARCHAR" property="idCard" />
|
||||
<result column="id_card_photo_front" jdbcType="VARCHAR" property="idCardPhotoFront" />
|
||||
<result column="id_card_photo_black" jdbcType="VARCHAR" property="idCardPhotoBlack" />
|
||||
<result column="live_address" jdbcType="VARCHAR" property="liveAddress" />
|
||||
<result column="user_portrait" jdbcType="VARCHAR" property="userPortrait" />
|
||||
<result column="status" jdbcType="TINYINT" property="status" />
|
||||
<result column="latest_log_message" jdbcType="VARCHAR" property="latestLogMessage" />
|
||||
<result column="pass_reason" jdbcType="VARCHAR" property="passReason" />
|
||||
<result column="certify_file" jdbcType="VARCHAR" property="certifyFile" />
|
||||
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
|
||||
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
|
||||
</resultMap>
|
||||
<sql id="Base_Column_List">
|
||||
id, partner_id, partner_line_id, mobile, username, sex, nation, birthdate, id_card,
|
||||
id_card_photo_front, id_card_photo_black, live_address, user_portrait, status, latest_log_message,
|
||||
pass_reason, certify_file, create_time, update_time
|
||||
</sql>
|
||||
<insert id="insertSelective" keyColumn="id" keyProperty="record.id" useGeneratedKeys="true">
|
||||
insert into hy_partner_base_info_${enterpriseId}
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="record.partnerId != null">
|
||||
partner_id,
|
||||
</if>
|
||||
<if test="record.partnerLineId != null">
|
||||
partner_line_id,
|
||||
</if>
|
||||
<if test="record.mobile != null">
|
||||
mobile,
|
||||
</if>
|
||||
<if test="record.username != null">
|
||||
username,
|
||||
</if>
|
||||
<if test="record.sex != null">
|
||||
sex,
|
||||
</if>
|
||||
<if test="record.nation != null">
|
||||
nation,
|
||||
</if>
|
||||
<if test="record.birthdate != null">
|
||||
birthdate,
|
||||
</if>
|
||||
<if test="record.idCard != null">
|
||||
id_card,
|
||||
</if>
|
||||
<if test="record.idCardPhotoFront != null">
|
||||
id_card_photo_front,
|
||||
</if>
|
||||
<if test="record.idCardPhotoBlack != null">
|
||||
id_card_photo_black,
|
||||
</if>
|
||||
<if test="record.liveAddress != null">
|
||||
live_address,
|
||||
</if>
|
||||
<if test="record.userPortrait != null">
|
||||
user_portrait,
|
||||
</if>
|
||||
<if test="record.status != null">
|
||||
status,
|
||||
</if>
|
||||
<if test="record.latestLogMessage != null">
|
||||
latest_log_message,
|
||||
</if>
|
||||
<if test="record.passReason != null">
|
||||
pass_reason,
|
||||
</if>
|
||||
<if test="record.certifyFile != null">
|
||||
certify_file,
|
||||
</if>
|
||||
<if test="record.createTime != null">
|
||||
create_time,
|
||||
</if>
|
||||
<if test="record.updateTime != null">
|
||||
update_time,
|
||||
</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="record.partnerId != null">
|
||||
#{record.partnerId},
|
||||
</if>
|
||||
<if test="record.partnerLineId != null">
|
||||
#{record.partnerLineId},
|
||||
</if>
|
||||
<if test="record.mobile != null">
|
||||
#{record.mobile},
|
||||
</if>
|
||||
<if test="record.username != null">
|
||||
#{record.username},
|
||||
</if>
|
||||
<if test="record.sex != null">
|
||||
#{record.sex},
|
||||
</if>
|
||||
<if test="record.nation != null">
|
||||
#{record.nation},
|
||||
</if>
|
||||
<if test="record.birthdate != null">
|
||||
#{record.birthdate},
|
||||
</if>
|
||||
<if test="record.idCard != null">
|
||||
#{record.idCard},
|
||||
</if>
|
||||
<if test="record.idCardPhotoFront != null">
|
||||
#{record.idCardPhotoFront},
|
||||
</if>
|
||||
<if test="record.idCardPhotoBlack != null">
|
||||
#{record.idCardPhotoBlack},
|
||||
</if>
|
||||
<if test="record.liveAddress != null">
|
||||
#{record.liveAddress},
|
||||
</if>
|
||||
<if test="record.userPortrait != null">
|
||||
#{record.userPortrait},
|
||||
</if>
|
||||
<if test="record.status != null">
|
||||
#{record.status},
|
||||
</if>
|
||||
<if test="record.latestLogMessage != null">
|
||||
#{record.latestLogMessage},
|
||||
</if>
|
||||
<if test="record.passReason != null">
|
||||
#{record.passReason},
|
||||
</if>
|
||||
<if test="record.certifyFile != null">
|
||||
#{record.certifyFile},
|
||||
</if>
|
||||
<if test="record.createTime != null">
|
||||
#{record.createTime},
|
||||
</if>
|
||||
<if test="record.updateTime != null">
|
||||
#{record.updateTime},
|
||||
</if>
|
||||
</trim>
|
||||
</insert>
|
||||
<update id="updateByPrimaryKeySelective">
|
||||
update hy_partner_base_info_${enterpriseId}
|
||||
<set>
|
||||
<if test="record.partnerId != null">
|
||||
partner_id = #{record.partnerId},
|
||||
</if>
|
||||
<if test="record.partnerLineId != null">
|
||||
partner_line_id = #{record.partnerLineId},
|
||||
</if>
|
||||
<if test="record.mobile != null">
|
||||
mobile = #{record.mobile},
|
||||
</if>
|
||||
<if test="record.username != null">
|
||||
username = #{record.username},
|
||||
</if>
|
||||
<if test="record.sex != null">
|
||||
sex = #{record.sex},
|
||||
</if>
|
||||
<if test="record.nation != null">
|
||||
nation = #{record.nation},
|
||||
</if>
|
||||
<if test="record.birthdate != null">
|
||||
birthdate = #{record.birthdate},
|
||||
</if>
|
||||
<if test="record.idCard != null">
|
||||
id_card = #{record.idCard},
|
||||
</if>
|
||||
<if test="record.idCardPhotoFront != null">
|
||||
id_card_photo_front = #{record.idCardPhotoFront},
|
||||
</if>
|
||||
<if test="record.idCardPhotoBlack != null">
|
||||
id_card_photo_black = #{record.idCardPhotoBlack},
|
||||
</if>
|
||||
<if test="record.liveAddress != null">
|
||||
live_address = #{record.liveAddress},
|
||||
</if>
|
||||
<if test="record.userPortrait != null">
|
||||
user_portrait = #{record.userPortrait},
|
||||
</if>
|
||||
<if test="record.status != null">
|
||||
status = #{record.status},
|
||||
</if>
|
||||
<if test="record.latestLogMessage != null">
|
||||
latest_log_message = #{record.latestLogMessage},
|
||||
</if>
|
||||
<if test="record.passReason != null">
|
||||
pass_reason = #{record.passReason},
|
||||
</if>
|
||||
<if test="record.certifyFile != null">
|
||||
certify_file = #{record.certifyFile},
|
||||
</if>
|
||||
<if test="record.createTime != null">
|
||||
create_time = #{record.createTime},
|
||||
</if>
|
||||
<if test="record.updateTime != null">
|
||||
update_time = #{record.updateTime},
|
||||
</if>
|
||||
</set>
|
||||
where id = #{record.id}
|
||||
</update>
|
||||
</mapper>
|
||||
@@ -0,0 +1,227 @@
|
||||
<?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.HyPartnerCertificationInfoMapper">
|
||||
<resultMap id="BaseResultMap" type="com.cool.store.model.entity.HyPartnerCertificationInfoDO">
|
||||
<id column="id" jdbcType="BIGINT" property="id" />
|
||||
<result column="partner_id" jdbcType="VARCHAR" property="partnerId" />
|
||||
<result column="partner_line_id" jdbcType="BIGINT" property="partnerLineId" />
|
||||
<result column="partner_interview_id" jdbcType="BIGINT" property="partnerInterviewId" />
|
||||
<result column="partnership" jdbcType="VARCHAR" property="partnership" />
|
||||
<result column="want_sign_time" jdbcType="TIMESTAMP" property="wantSignTime" />
|
||||
<result column="data_source" jdbcType="TINYINT" property="dataSource" />
|
||||
<result column="partner_fee" jdbcType="VARCHAR" property="partnerFee" />
|
||||
<result column="security_fund" jdbcType="VARCHAR" property="securityFund" />
|
||||
<result column="technical_service_fee" jdbcType="VARCHAR" property="technicalServiceFee" />
|
||||
<result column="intention_money" jdbcType="VARCHAR" property="intentionMoney" />
|
||||
<result column="intention_signer_username" jdbcType="VARCHAR" property="intentionSignerUsername" />
|
||||
<result column="intention_signer_mobile" jdbcType="VARCHAR" property="intentionSignerMobile" />
|
||||
<result column="intention_edu" jdbcType="VARCHAR" property="intentionEdu" />
|
||||
<result column="real_control_username" jdbcType="VARCHAR" property="realControlUsername" />
|
||||
<result column="real_control_idcard" jdbcType="VARCHAR" property="realControlIdcard" />
|
||||
<result column="signer_real_control_relation" jdbcType="VARCHAR" property="signerRealControlRelation" />
|
||||
<result column="signer_other_real_control_relation" jdbcType="VARCHAR" property="signerOtherRealControlRelation" />
|
||||
<result column="signer_real_control_relation_cert" jdbcType="VARCHAR" property="signerRealControlRelationCert" />
|
||||
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
|
||||
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
|
||||
</resultMap>
|
||||
<sql id="Base_Column_List">
|
||||
id, partner_id, partner_line_id, partner_interview_id, partnership, want_sign_time,
|
||||
data_source, partner_fee, security_fund, technical_service_fee, intention_money,
|
||||
intention_signer_username, intention_signer_mobile, intention_edu, real_control_username,
|
||||
real_control_idcard, signer_real_control_relation, signer_other_real_control_relation,
|
||||
signer_real_control_relation_cert, create_time, update_time
|
||||
</sql>
|
||||
<insert id="insertSelective" keyColumn="id" keyProperty="record.id" useGeneratedKeys="true">
|
||||
insert into hy_partner_certification_info_${enterpriseId}
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="record.partnerId != null">
|
||||
partner_id,
|
||||
</if>
|
||||
<if test="record.partnerLineId != null">
|
||||
partner_line_id,
|
||||
</if>
|
||||
<if test="record.partnerInterviewId != null">
|
||||
partner_interview_id,
|
||||
</if>
|
||||
<if test="record.partnership != null">
|
||||
partnership,
|
||||
</if>
|
||||
<if test="record.wantSignTime != null">
|
||||
want_sign_time,
|
||||
</if>
|
||||
<if test="record.dataSource != null">
|
||||
data_source,
|
||||
</if>
|
||||
<if test="record.partnerFee != null">
|
||||
partner_fee,
|
||||
</if>
|
||||
<if test="record.securityFund != null">
|
||||
security_fund,
|
||||
</if>
|
||||
<if test="record.technicalServiceFee != null">
|
||||
technical_service_fee,
|
||||
</if>
|
||||
<if test="record.intentionMoney != null">
|
||||
intention_money,
|
||||
</if>
|
||||
<if test="record.intentionSignerUsername != null">
|
||||
intention_signer_username,
|
||||
</if>
|
||||
<if test="record.intentionSignerMobile != null">
|
||||
intention_signer_mobile,
|
||||
</if>
|
||||
<if test="record.intentionEdu != null">
|
||||
intention_edu,
|
||||
</if>
|
||||
<if test="record.realControlUsername != null">
|
||||
real_control_username,
|
||||
</if>
|
||||
<if test="record.realControlIdcard != null">
|
||||
real_control_idcard,
|
||||
</if>
|
||||
<if test="record.signerRealControlRelation != null">
|
||||
signer_real_control_relation,
|
||||
</if>
|
||||
<if test="record.signerOtherRealControlRelation != null">
|
||||
signer_other_real_control_relation,
|
||||
</if>
|
||||
<if test="record.signerRealControlRelationCert != null">
|
||||
signer_real_control_relation_cert,
|
||||
</if>
|
||||
<if test="record.createTime != null">
|
||||
create_time,
|
||||
</if>
|
||||
<if test="record.updateTime != null">
|
||||
update_time,
|
||||
</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="record.partnerId != null">
|
||||
#{record.partnerId},
|
||||
</if>
|
||||
<if test="record.partnerLineId != null">
|
||||
#{record.partnerLineId},
|
||||
</if>
|
||||
<if test="record.partnerInterviewId != null">
|
||||
#{record.partnerInterviewId},
|
||||
</if>
|
||||
<if test="record.partnership != null">
|
||||
#{record.partnership},
|
||||
</if>
|
||||
<if test="record.wantSignTime != null">
|
||||
#{record.wantSignTime},
|
||||
</if>
|
||||
<if test="record.dataSource != null">
|
||||
#{record.dataSource},
|
||||
</if>
|
||||
<if test="record.partnerFee != null">
|
||||
#{record.partnerFee},
|
||||
</if>
|
||||
<if test="record.securityFund != null">
|
||||
#{record.securityFund},
|
||||
</if>
|
||||
<if test="record.technicalServiceFee != null">
|
||||
#{record.technicalServiceFee},
|
||||
</if>
|
||||
<if test="record.intentionMoney != null">
|
||||
#{record.intentionMoney},
|
||||
</if>
|
||||
<if test="record.intentionSignerUsername != null">
|
||||
#{record.intentionSignerUsername},
|
||||
</if>
|
||||
<if test="record.intentionSignerMobile != null">
|
||||
#{record.intentionSignerMobile},
|
||||
</if>
|
||||
<if test="record.intentionEdu != null">
|
||||
#{record.intentionEdu},
|
||||
</if>
|
||||
<if test="record.realControlUsername != null">
|
||||
#{record.realControlUsername},
|
||||
</if>
|
||||
<if test="record.realControlIdcard != null">
|
||||
#{record.realControlIdcard},
|
||||
</if>
|
||||
<if test="record.signerRealControlRelation != null">
|
||||
#{record.signerRealControlRelation},
|
||||
</if>
|
||||
<if test="record.signerOtherRealControlRelation != null">
|
||||
#{record.signerOtherRealControlRelation},
|
||||
</if>
|
||||
<if test="record.signerRealControlRelationCert != null">
|
||||
#{record.signerRealControlRelationCert},
|
||||
</if>
|
||||
<if test="record.createTime != null">
|
||||
#{record.createTime},
|
||||
</if>
|
||||
<if test="record.updateTime != null">
|
||||
#{record.updateTime},
|
||||
</if>
|
||||
</trim>
|
||||
</insert>
|
||||
<update id="updateByPrimaryKeySelective">
|
||||
update hy_partner_certification_info_${enterpriseId}
|
||||
<set>
|
||||
<if test="record.partnerId != null">
|
||||
partner_id = #{record.partnerId},
|
||||
</if>
|
||||
<if test="record.partnerLineId != null">
|
||||
partner_line_id = #{record.partnerLineId},
|
||||
</if>
|
||||
<if test="record.partnerInterviewId != null">
|
||||
partner_interview_id = #{record.partnerInterviewId},
|
||||
</if>
|
||||
<if test="record.partnership != null">
|
||||
partnership = #{record.partnership},
|
||||
</if>
|
||||
<if test="record.wantSignTime != null">
|
||||
want_sign_time = #{record.wantSignTime},
|
||||
</if>
|
||||
<if test="record.dataSource != null">
|
||||
data_source = #{record.dataSource},
|
||||
</if>
|
||||
<if test="record.partnerFee != null">
|
||||
partner_fee = #{record.partnerFee},
|
||||
</if>
|
||||
<if test="record.securityFund != null">
|
||||
security_fund = #{record.securityFund},
|
||||
</if>
|
||||
<if test="record.technicalServiceFee != null">
|
||||
technical_service_fee = #{record.technicalServiceFee},
|
||||
</if>
|
||||
<if test="record.intentionMoney != null">
|
||||
intention_money = #{record.intentionMoney},
|
||||
</if>
|
||||
<if test="record.intentionSignerUsername != null">
|
||||
intention_signer_username = #{record.intentionSignerUsername},
|
||||
</if>
|
||||
<if test="record.intentionSignerMobile != null">
|
||||
intention_signer_mobile = #{record.intentionSignerMobile},
|
||||
</if>
|
||||
<if test="record.intentionEdu != null">
|
||||
intention_edu = #{record.intentionEdu},
|
||||
</if>
|
||||
<if test="record.realControlUsername != null">
|
||||
real_control_username = #{record.realControlUsername},
|
||||
</if>
|
||||
<if test="record.realControlIdcard != null">
|
||||
real_control_idcard = #{record.realControlIdcard},
|
||||
</if>
|
||||
<if test="record.signerRealControlRelation != null">
|
||||
signer_real_control_relation = #{record.signerRealControlRelation},
|
||||
</if>
|
||||
<if test="record.signerOtherRealControlRelation != null">
|
||||
signer_other_real_control_relation = #{record.signerOtherRealControlRelation},
|
||||
</if>
|
||||
<if test="record.signerRealControlRelationCert != null">
|
||||
signer_real_control_relation_cert = #{record.signerRealControlRelationCert},
|
||||
</if>
|
||||
<if test="record.createTime != null">
|
||||
create_time = #{record.createTime},
|
||||
</if>
|
||||
<if test="record.updateTime != null">
|
||||
update_time = #{record.updateTime},
|
||||
</if>
|
||||
</set>
|
||||
where id = #{record.id}
|
||||
</update>
|
||||
</mapper>
|
||||
@@ -0,0 +1,104 @@
|
||||
<?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.HyPartnerClerkMapper">
|
||||
<resultMap id="BaseResultMap" type="com.cool.store.model.entity.HyPartnerClerkDO">
|
||||
<id column="id" jdbcType="BIGINT" property="id" />
|
||||
<result column="partner_line_id" jdbcType="BIGINT" property="partnerLineId" />
|
||||
<result column="partner_id" jdbcType="VARCHAR" property="partnerId" />
|
||||
<result column="username" jdbcType="VARCHAR" property="username" />
|
||||
<result column="relationship" jdbcType="VARCHAR" property="relationship" />
|
||||
<result column="age" jdbcType="INTEGER" property="age" />
|
||||
<result column="choose_reason" jdbcType="VARCHAR" property="chooseReason" />
|
||||
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
|
||||
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
|
||||
</resultMap>
|
||||
<sql id="Base_Column_List">
|
||||
id, partner_line_id, partner_id, username, relationship, age, choose_reason, create_time,
|
||||
update_time
|
||||
</sql>
|
||||
<insert id="insertSelective" keyColumn="id" keyProperty="record.id" useGeneratedKeys="true">
|
||||
insert into hy_partner_clerk_${enterpriseId}
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="record.partnerLineId != null">
|
||||
partner_line_id,
|
||||
</if>
|
||||
<if test="record.partnerId != null">
|
||||
partner_id,
|
||||
</if>
|
||||
<if test="record.username != null">
|
||||
username,
|
||||
</if>
|
||||
<if test="record.relationship != null">
|
||||
relationship,
|
||||
</if>
|
||||
<if test="record.age != null">
|
||||
age,
|
||||
</if>
|
||||
<if test="record.chooseReason != null">
|
||||
choose_reason,
|
||||
</if>
|
||||
<if test="record.createTime != null">
|
||||
create_time,
|
||||
</if>
|
||||
<if test="record.updateTime != null">
|
||||
update_time,
|
||||
</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="record.partnerLineId != null">
|
||||
#{record.partnerLineId},
|
||||
</if>
|
||||
<if test="record.partnerId != null">
|
||||
#{record.partnerId},
|
||||
</if>
|
||||
<if test="record.username != null">
|
||||
#{record.username},
|
||||
</if>
|
||||
<if test="record.relationship != null">
|
||||
#{record.relationship},
|
||||
</if>
|
||||
<if test="record.age != null">
|
||||
#{record.age},
|
||||
</if>
|
||||
<if test="record.chooseReason != null">
|
||||
#{record.chooseReason},
|
||||
</if>
|
||||
<if test="record.createTime != null">
|
||||
#{record.createTime},
|
||||
</if>
|
||||
<if test="record.updateTime != null">
|
||||
#{record.updateTime},
|
||||
</if>
|
||||
</trim>
|
||||
</insert>
|
||||
<update id="updateByPrimaryKeySelective">
|
||||
update hy_partner_clerk_${enterpriseId}
|
||||
<set>
|
||||
<if test="record.partnerLineId != null">
|
||||
partner_line_id = #{record.partnerLineId},
|
||||
</if>
|
||||
<if test="record.partnerId != null">
|
||||
partner_id = #{record.partnerId},
|
||||
</if>
|
||||
<if test="record.username != null">
|
||||
username = #{record.username},
|
||||
</if>
|
||||
<if test="record.relationship != null">
|
||||
relationship = #{record.relationship},
|
||||
</if>
|
||||
<if test="record.age != null">
|
||||
age = #{record.age},
|
||||
</if>
|
||||
<if test="record.chooseReason != null">
|
||||
choose_reason = #{record.chooseReason},
|
||||
</if>
|
||||
<if test="record.createTime != null">
|
||||
create_time = #{record.createTime},
|
||||
</if>
|
||||
<if test="record.updateTime != null">
|
||||
update_time = #{record.updateTime},
|
||||
</if>
|
||||
</set>
|
||||
where id = #{record.id}
|
||||
</update>
|
||||
</mapper>
|
||||
@@ -0,0 +1,246 @@
|
||||
<?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.HyPartnerIntentInfoMapper">
|
||||
<resultMap id="BaseResultMap" type="com.cool.store.model.entity.HyPartnerIntentInfoDO">
|
||||
<id column="id" jdbcType="BIGINT" property="id" />
|
||||
<result column="partner_id" jdbcType="VARCHAR" property="partnerId" />
|
||||
<result column="partner_line_id" jdbcType="BIGINT" property="partnerLineId" />
|
||||
<result column="live_area" jdbcType="VARCHAR" property="liveArea" />
|
||||
<result column="want_shop_area" jdbcType="VARCHAR" property="wantShopArea" />
|
||||
<result column="accept_adjust_type" jdbcType="TINYINT" property="acceptAdjustType" />
|
||||
<result column="is_have_want_shop" jdbcType="TINYINT" property="isHaveWantShop" />
|
||||
<result column="want_shop_info" jdbcType="VARCHAR" property="wantShopInfo" />
|
||||
<result column="max_budget" jdbcType="VARCHAR" property="maxBudget" />
|
||||
<result column="money_source" jdbcType="VARCHAR" property="moneySource" />
|
||||
<result column="money_prove" jdbcType="VARCHAR" property="moneyProve" />
|
||||
<result column="education" jdbcType="VARCHAR" property="education" />
|
||||
<result column="work_year" jdbcType="VARCHAR" property="workYear" />
|
||||
<result column="is_have_work_exp" jdbcType="TINYINT" property="isHaveWorkExp" />
|
||||
<result column="work_exp" jdbcType="VARCHAR" property="workExp" />
|
||||
<result column="is_consumer" jdbcType="TINYINT" property="isConsumer" />
|
||||
<result column="other_band" jdbcType="VARCHAR" property="otherBand" />
|
||||
<result column="brand_strength" jdbcType="VARCHAR" property="brandStrength" />
|
||||
<result column="need_improve" jdbcType="VARCHAR" property="needImprove" />
|
||||
<result column="strength" jdbcType="VARCHAR" property="strength" />
|
||||
<result column="weakness" jdbcType="VARCHAR" property="weakness" />
|
||||
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
|
||||
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
|
||||
</resultMap>
|
||||
<sql id="Base_Column_List">
|
||||
id, partner_id, partner_line_id, live_area, want_shop_area, accept_adjust_type, is_have_want_shop,
|
||||
want_shop_info, max_budget, money_source, money_prove, education, work_year, is_have_work_exp,
|
||||
work_exp, is_consumer, other_band, brand_strength, need_improve, strength, weakness,
|
||||
create_time, update_time
|
||||
</sql>
|
||||
<insert id="insertSelective" keyColumn="id" keyProperty="record.id" useGeneratedKeys="true">
|
||||
insert into hy_partner_intent_info_${enterpriseId}
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="record.partnerId != null">
|
||||
partner_id,
|
||||
</if>
|
||||
<if test="record.partnerLineId != null">
|
||||
partner_line_id,
|
||||
</if>
|
||||
<if test="record.liveArea != null">
|
||||
live_area,
|
||||
</if>
|
||||
<if test="record.wantShopArea != null">
|
||||
want_shop_area,
|
||||
</if>
|
||||
<if test="record.acceptAdjustType != null">
|
||||
accept_adjust_type,
|
||||
</if>
|
||||
<if test="record.isHaveWantShop != null">
|
||||
is_have_want_shop,
|
||||
</if>
|
||||
<if test="record.wantShopInfo != null">
|
||||
want_shop_info,
|
||||
</if>
|
||||
<if test="record.maxBudget != null">
|
||||
max_budget,
|
||||
</if>
|
||||
<if test="record.moneySource != null">
|
||||
money_source,
|
||||
</if>
|
||||
<if test="record.moneyProve != null">
|
||||
money_prove,
|
||||
</if>
|
||||
<if test="record.education != null">
|
||||
education,
|
||||
</if>
|
||||
<if test="record.workYear != null">
|
||||
work_year,
|
||||
</if>
|
||||
<if test="record.isHaveWorkExp != null">
|
||||
is_have_work_exp,
|
||||
</if>
|
||||
<if test="record.workExp != null">
|
||||
work_exp,
|
||||
</if>
|
||||
<if test="record.isConsumer != null">
|
||||
is_consumer,
|
||||
</if>
|
||||
<if test="record.otherBand != null">
|
||||
other_band,
|
||||
</if>
|
||||
<if test="record.brandStrength != null">
|
||||
brand_strength,
|
||||
</if>
|
||||
<if test="record.needImprove != null">
|
||||
need_improve,
|
||||
</if>
|
||||
<if test="record.strength != null">
|
||||
strength,
|
||||
</if>
|
||||
<if test="record.weakness != null">
|
||||
weakness,
|
||||
</if>
|
||||
<if test="record.createTime != null">
|
||||
create_time,
|
||||
</if>
|
||||
<if test="record.updateTime != null">
|
||||
update_time,
|
||||
</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="record.partnerId != null">
|
||||
#{record.partnerId},
|
||||
</if>
|
||||
<if test="record.partnerLineId != null">
|
||||
#{record.partnerLineId},
|
||||
</if>
|
||||
<if test="record.liveArea != null">
|
||||
#{record.liveArea},
|
||||
</if>
|
||||
<if test="record.wantShopArea != null">
|
||||
#{record.wantShopArea},
|
||||
</if>
|
||||
<if test="record.acceptAdjustType != null">
|
||||
#{record.acceptAdjustType},
|
||||
</if>
|
||||
<if test="record.isHaveWantShop != null">
|
||||
#{record.isHaveWantShop},
|
||||
</if>
|
||||
<if test="record.wantShopInfo != null">
|
||||
#{record.wantShopInfo},
|
||||
</if>
|
||||
<if test="record.maxBudget != null">
|
||||
#{record.maxBudget},
|
||||
</if>
|
||||
<if test="record.moneySource != null">
|
||||
#{record.moneySource},
|
||||
</if>
|
||||
<if test="record.moneyProve != null">
|
||||
#{record.moneyProve},
|
||||
</if>
|
||||
<if test="record.education != null">
|
||||
#{record.education},
|
||||
</if>
|
||||
<if test="record.workYear != null">
|
||||
#{record.workYear},
|
||||
</if>
|
||||
<if test="record.isHaveWorkExp != null">
|
||||
#{record.isHaveWorkExp},
|
||||
</if>
|
||||
<if test="record.workExp != null">
|
||||
#{record.workExp},
|
||||
</if>
|
||||
<if test="record.isConsumer != null">
|
||||
#{record.isConsumer},
|
||||
</if>
|
||||
<if test="record.otherBand != null">
|
||||
#{record.otherBand},
|
||||
</if>
|
||||
<if test="record.brandStrength != null">
|
||||
#{record.brandStrength},
|
||||
</if>
|
||||
<if test="record.needImprove != null">
|
||||
#{record.needImprove},
|
||||
</if>
|
||||
<if test="record.strength != null">
|
||||
#{record.strength},
|
||||
</if>
|
||||
<if test="record.weakness != null">
|
||||
#{record.weakness},
|
||||
</if>
|
||||
<if test="record.createTime != null">
|
||||
#{record.createTime},
|
||||
</if>
|
||||
<if test="record.updateTime != null">
|
||||
#{record.updateTime},
|
||||
</if>
|
||||
</trim>
|
||||
</insert>
|
||||
<update id="updateByPrimaryKeySelective">
|
||||
update hy_partner_intent_info_${enterpriseId}
|
||||
<set>
|
||||
<if test="record.partnerId != null">
|
||||
partner_id = #{record.partnerId},
|
||||
</if>
|
||||
<if test="record.partnerLineId != null">
|
||||
partner_line_id = #{record.partnerLineId},
|
||||
</if>
|
||||
<if test="record.liveArea != null">
|
||||
live_area = #{record.liveArea},
|
||||
</if>
|
||||
<if test="record.wantShopArea != null">
|
||||
want_shop_area = #{record.wantShopArea},
|
||||
</if>
|
||||
<if test="record.acceptAdjustType != null">
|
||||
accept_adjust_type = #{record.acceptAdjustType},
|
||||
</if>
|
||||
<if test="record.isHaveWantShop != null">
|
||||
is_have_want_shop = #{record.isHaveWantShop},
|
||||
</if>
|
||||
<if test="record.wantShopInfo != null">
|
||||
want_shop_info = #{record.wantShopInfo},
|
||||
</if>
|
||||
<if test="record.maxBudget != null">
|
||||
max_budget = #{record.maxBudget},
|
||||
</if>
|
||||
<if test="record.moneySource != null">
|
||||
money_source = #{record.moneySource},
|
||||
</if>
|
||||
<if test="record.moneyProve != null">
|
||||
money_prove = #{record.moneyProve},
|
||||
</if>
|
||||
<if test="record.education != null">
|
||||
education = #{record.education},
|
||||
</if>
|
||||
<if test="record.workYear != null">
|
||||
work_year = #{record.workYear},
|
||||
</if>
|
||||
<if test="record.isHaveWorkExp != null">
|
||||
is_have_work_exp = #{record.isHaveWorkExp},
|
||||
</if>
|
||||
<if test="record.workExp != null">
|
||||
work_exp = #{record.workExp},
|
||||
</if>
|
||||
<if test="record.isConsumer != null">
|
||||
is_consumer = #{record.isConsumer},
|
||||
</if>
|
||||
<if test="record.otherBand != null">
|
||||
other_band = #{record.otherBand},
|
||||
</if>
|
||||
<if test="record.brandStrength != null">
|
||||
brand_strength = #{record.brandStrength},
|
||||
</if>
|
||||
<if test="record.needImprove != null">
|
||||
need_improve = #{record.needImprove},
|
||||
</if>
|
||||
<if test="record.strength != null">
|
||||
strength = #{record.strength},
|
||||
</if>
|
||||
<if test="record.weakness != null">
|
||||
weakness = #{record.weakness},
|
||||
</if>
|
||||
<if test="record.createTime != null">
|
||||
create_time = #{record.createTime},
|
||||
</if>
|
||||
<if test="record.updateTime != null">
|
||||
update_time = #{record.updateTime},
|
||||
</if>
|
||||
</set>
|
||||
where id = #{record.id}
|
||||
</update>
|
||||
</mapper>
|
||||
@@ -0,0 +1,88 @@
|
||||
<?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.HyPartnerInterviewLogMapper">
|
||||
<resultMap id="BaseResultMap" type="com.cool.store.model.entity.HyPartnerInterviewLogDO">
|
||||
<id column="id" jdbcType="BIGINT" property="id" />
|
||||
<result column="partner_line_id" jdbcType="BIGINT" property="partnerLineId" />
|
||||
<result column="partner_interview_id" jdbcType="BIGINT" property="partnerInterviewId" />
|
||||
<result column="message" jdbcType="VARCHAR" property="message" />
|
||||
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
|
||||
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
|
||||
</resultMap>
|
||||
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.cool.store.model.entity.HyPartnerInterviewLogDO">
|
||||
<result column="change_before_cpoy" jdbcType="LONGVARCHAR" property="changeBeforeCpoy" />
|
||||
</resultMap>
|
||||
<sql id="Base_Column_List">
|
||||
id, partner_line_id, partner_interview_id, message, create_time, update_time
|
||||
</sql>
|
||||
<sql id="Blob_Column_List">
|
||||
change_before_cpoy
|
||||
</sql>
|
||||
<insert id="insertSelective" keyColumn="id" keyProperty="record.id" useGeneratedKeys="true">
|
||||
insert into hy_partner_interview_log_${enterpriseId}
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="record.partnerLineId != null">
|
||||
partner_line_id,
|
||||
</if>
|
||||
<if test="record.partnerInterviewId != null">
|
||||
partner_interview_id,
|
||||
</if>
|
||||
<if test="record.message != null">
|
||||
message,
|
||||
</if>
|
||||
<if test="record.createTime != null">
|
||||
create_time,
|
||||
</if>
|
||||
<if test="record.updateTime != null">
|
||||
update_time,
|
||||
</if>
|
||||
<if test="record.changeBeforeCpoy != null">
|
||||
change_before_cpoy,
|
||||
</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="record.partnerLineId != null">
|
||||
#{record.partnerLineId},
|
||||
</if>
|
||||
<if test="record.partnerInterviewId != null">
|
||||
#{record.partnerInterviewId},
|
||||
</if>
|
||||
<if test="record.message != null">
|
||||
#{record.message},
|
||||
</if>
|
||||
<if test="record.createTime != null">
|
||||
#{record.createTime},
|
||||
</if>
|
||||
<if test="record.updateTime != null">
|
||||
#{record.updateTime},
|
||||
</if>
|
||||
<if test="record.changeBeforeCpoy != null">
|
||||
#{record.changeBeforeCpoy},
|
||||
</if>
|
||||
</trim>
|
||||
</insert>
|
||||
<update id="updateByPrimaryKeySelective">
|
||||
update hy_partner_interview_log_${enterpriseId}
|
||||
<set>
|
||||
<if test="record.partnerLineId != null">
|
||||
partner_line_id = #{record.partnerLineId},
|
||||
</if>
|
||||
<if test="record.partnerInterviewId != null">
|
||||
partner_interview_id = #{record.partnerInterviewId},
|
||||
</if>
|
||||
<if test="record.message != null">
|
||||
message = #{record.message},
|
||||
</if>
|
||||
<if test="record.createTime != null">
|
||||
create_time = #{record.createTime},
|
||||
</if>
|
||||
<if test="record.updateTime != null">
|
||||
update_time = #{record.updateTime},
|
||||
</if>
|
||||
<if test="record.changeBeforeCpoy != null">
|
||||
change_before_cpoy = #{record.changeBeforeCpoy},
|
||||
</if>
|
||||
</set>
|
||||
where id = #{record.id}
|
||||
</update>
|
||||
</mapper>
|
||||
@@ -0,0 +1,205 @@
|
||||
<?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.HyPartnerInterviewMapper">
|
||||
<resultMap id="BaseResultMap" type="com.cool.store.model.entity.HyPartnerInterviewDO">
|
||||
<id column="id" jdbcType="BIGINT" property="id" />
|
||||
<result column="status" jdbcType="TINYINT" property="status" />
|
||||
<result column="partner_line_id" jdbcType="BIGINT" property="partnerLineId" />
|
||||
<result column="interview_arrangement_id" jdbcType="BIGINT" property="interviewArrangementId" />
|
||||
<result column="partner_id" jdbcType="VARCHAR" property="partnerId" />
|
||||
<result column="deadline" jdbcType="TIMESTAMP" property="deadline" />
|
||||
<result column="interviewer" jdbcType="VARCHAR" property="interviewer" />
|
||||
<result column="recorder" jdbcType="VARCHAR" property="recorder" />
|
||||
<result column="process_info" jdbcType="VARCHAR" property="processInfo" />
|
||||
<result column="record_time" jdbcType="TIMESTAMP" property="recordTime" />
|
||||
<result column="summary" jdbcType="VARCHAR" property="summary" />
|
||||
<result column="auth_code" jdbcType="VARCHAR" property="authCode" />
|
||||
<result column="pass_file_url" jdbcType="VARCHAR" property="passFileUrl" />
|
||||
<result column="expiry_date" jdbcType="TIMESTAMP" property="expiryDate" />
|
||||
<result column="latest_log_message" jdbcType="VARCHAR" property="latestLogMessage" />
|
||||
<result column="pass_reason" jdbcType="VARCHAR" property="passReason" />
|
||||
<result column="certify_file" jdbcType="VARCHAR" property="certifyFile" />
|
||||
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
|
||||
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
|
||||
</resultMap>
|
||||
<sql id="Base_Column_List">
|
||||
id, status, partner_line_id, interview_arrangement_id, partner_id, deadline, interviewer,
|
||||
recorder, process_info, record_time, summary, auth_code, pass_file_url, expiry_date,
|
||||
latest_log_message, pass_reason, certify_file, create_time, update_time
|
||||
</sql>
|
||||
<insert id="insertSelective" keyColumn="id" keyProperty="record.id" useGeneratedKeys="true">
|
||||
insert into hy_partner_interview_${enterpriseId}
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="record.status != null">
|
||||
status,
|
||||
</if>
|
||||
<if test="record.partnerLineId != null">
|
||||
partner_line_id,
|
||||
</if>
|
||||
<if test="record.interviewArrangementId != null">
|
||||
interview_arrangement_id,
|
||||
</if>
|
||||
<if test="record.partnerId != null">
|
||||
partner_id,
|
||||
</if>
|
||||
<if test="record.deadline != null">
|
||||
deadline,
|
||||
</if>
|
||||
<if test="record.interviewer != null">
|
||||
interviewer,
|
||||
</if>
|
||||
<if test="record.recorder != null">
|
||||
recorder,
|
||||
</if>
|
||||
<if test="record.processInfo != null">
|
||||
process_info,
|
||||
</if>
|
||||
<if test="record.recordTime != null">
|
||||
record_time,
|
||||
</if>
|
||||
<if test="record.summary != null">
|
||||
summary,
|
||||
</if>
|
||||
<if test="record.authCode != null">
|
||||
auth_code,
|
||||
</if>
|
||||
<if test="record.passFileUrl != null">
|
||||
pass_file_url,
|
||||
</if>
|
||||
<if test="record.expiryDate != null">
|
||||
expiry_date,
|
||||
</if>
|
||||
<if test="record.latestLogMessage != null">
|
||||
latest_log_message,
|
||||
</if>
|
||||
<if test="record.passReason != null">
|
||||
pass_reason,
|
||||
</if>
|
||||
<if test="record.certifyFile != null">
|
||||
certify_file,
|
||||
</if>
|
||||
<if test="record.createTime != null">
|
||||
create_time,
|
||||
</if>
|
||||
<if test="record.updateTime != null">
|
||||
update_time,
|
||||
</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="record.status != null">
|
||||
#{record.status},
|
||||
</if>
|
||||
<if test="record.partnerLineId != null">
|
||||
#{record.partnerLineId},
|
||||
</if>
|
||||
<if test="record.interviewArrangementId != null">
|
||||
#{record.interviewArrangementId},
|
||||
</if>
|
||||
<if test="record.partnerId != null">
|
||||
#{record.partnerId},
|
||||
</if>
|
||||
<if test="record.deadline != null">
|
||||
#{record.deadline},
|
||||
</if>
|
||||
<if test="record.interviewer != null">
|
||||
#{record.interviewer},
|
||||
</if>
|
||||
<if test="record.recorder != null">
|
||||
#{record.recorder},
|
||||
</if>
|
||||
<if test="record.processInfo != null">
|
||||
#{record.processInfo},
|
||||
</if>
|
||||
<if test="record.recordTime != null">
|
||||
#{record.recordTime},
|
||||
</if>
|
||||
<if test="record.summary != null">
|
||||
#{record.summary},
|
||||
</if>
|
||||
<if test="record.authCode != null">
|
||||
#{record.authCode},
|
||||
</if>
|
||||
<if test="record.passFileUrl != null">
|
||||
#{record.passFileUrl},
|
||||
</if>
|
||||
<if test="record.expiryDate != null">
|
||||
#{record.expiryDate},
|
||||
</if>
|
||||
<if test="record.latestLogMessage != null">
|
||||
#{record.latestLogMessage},
|
||||
</if>
|
||||
<if test="record.passReason != null">
|
||||
#{record.passReason},
|
||||
</if>
|
||||
<if test="record.certifyFile != null">
|
||||
#{record.certifyFile},
|
||||
</if>
|
||||
<if test="record.createTime != null">
|
||||
#{record.createTime},
|
||||
</if>
|
||||
<if test="record.updateTime != null">
|
||||
#{record.updateTime},
|
||||
</if>
|
||||
</trim>
|
||||
</insert>
|
||||
<update id="updateByPrimaryKeySelective">
|
||||
update hy_partner_interview_${enterpriseId}
|
||||
<set>
|
||||
<if test="record.status != null">
|
||||
status = #{record.status},
|
||||
</if>
|
||||
<if test="record.partnerLineId != null">
|
||||
partner_line_id = #{record.partnerLineId},
|
||||
</if>
|
||||
<if test="record.interviewArrangementId != null">
|
||||
interview_arrangement_id = #{record.interviewArrangementId},
|
||||
</if>
|
||||
<if test="record.partnerId != null">
|
||||
partner_id = #{record.partnerId},
|
||||
</if>
|
||||
<if test="record.deadline != null">
|
||||
deadline = #{record.deadline},
|
||||
</if>
|
||||
<if test="record.interviewer != null">
|
||||
interviewer = #{record.interviewer},
|
||||
</if>
|
||||
<if test="record.recorder != null">
|
||||
recorder = #{record.recorder},
|
||||
</if>
|
||||
<if test="record.processInfo != null">
|
||||
process_info = #{record.processInfo},
|
||||
</if>
|
||||
<if test="record.recordTime != null">
|
||||
record_time = #{record.recordTime},
|
||||
</if>
|
||||
<if test="record.summary != null">
|
||||
summary = #{record.summary},
|
||||
</if>
|
||||
<if test="record.authCode != null">
|
||||
auth_code = #{record.authCode},
|
||||
</if>
|
||||
<if test="record.passFileUrl != null">
|
||||
pass_file_url = #{record.passFileUrl},
|
||||
</if>
|
||||
<if test="record.expiryDate != null">
|
||||
expiry_date = #{record.expiryDate},
|
||||
</if>
|
||||
<if test="record.latestLogMessage != null">
|
||||
latest_log_message = #{record.latestLogMessage},
|
||||
</if>
|
||||
<if test="record.passReason != null">
|
||||
pass_reason = #{record.passReason},
|
||||
</if>
|
||||
<if test="record.certifyFile != null">
|
||||
certify_file = #{record.certifyFile},
|
||||
</if>
|
||||
<if test="record.createTime != null">
|
||||
create_time = #{record.createTime},
|
||||
</if>
|
||||
<if test="record.updateTime != null">
|
||||
update_time = #{record.updateTime},
|
||||
</if>
|
||||
</set>
|
||||
where id = #{record.id}
|
||||
</update>
|
||||
</mapper>
|
||||
@@ -0,0 +1,175 @@
|
||||
<?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.HyPartnerInterviewPlanMapper">
|
||||
<resultMap id="BaseResultMap" type="com.cool.store.model.entity.HyPartnerInterviewPlanDO">
|
||||
<id column="id" jdbcType="BIGINT" property="id" />
|
||||
<result column="partner_line_id" jdbcType="BIGINT" property="partnerLineId" />
|
||||
<result column="partner_id" jdbcType="VARCHAR" property="partnerId" />
|
||||
<result column="interview_date" jdbcType="DATE" property="interviewDate" />
|
||||
<result column="start_time" jdbcType="TIMESTAMP" property="startTime" />
|
||||
<result column="end_time" jdbcType="TIMESTAMP" property="endTime" />
|
||||
<result column="is_partner_interview" jdbcType="TINYINT" property="isPartnerInterview" />
|
||||
<result column="actual_start_time" jdbcType="TIMESTAMP" property="actualStartTime" />
|
||||
<result column="actual_end_time" jdbcType="TIMESTAMP" property="actualEndTime" />
|
||||
<result column="room_id" jdbcType="VARCHAR" property="roomId" />
|
||||
<result column="room_password" jdbcType="VARCHAR" property="roomPassword" />
|
||||
<result column="interviewer" jdbcType="VARCHAR" property="interviewer" />
|
||||
<result column="room_status" jdbcType="TINYINT" property="roomStatus" />
|
||||
<result column="deleted" jdbcType="BIT" property="deleted" />
|
||||
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
|
||||
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
|
||||
</resultMap>
|
||||
<sql id="Base_Column_List">
|
||||
id, partner_line_id, partner_id, interview_date, start_time, end_time, is_partner_interview,
|
||||
actual_start_time, actual_end_time, room_id, room_password, interviewer, room_status,
|
||||
deleted, create_time, update_time
|
||||
</sql>
|
||||
<insert id="insertSelective" keyColumn="id" keyProperty="record.id" useGeneratedKeys="true">
|
||||
insert into hy_partner_interview_plan_${enterpriseId}
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="record.partnerLineId != null">
|
||||
partner_line_id,
|
||||
</if>
|
||||
<if test="record.partnerId != null">
|
||||
partner_id,
|
||||
</if>
|
||||
<if test="record.interviewDate != null">
|
||||
interview_date,
|
||||
</if>
|
||||
<if test="record.startTime != null">
|
||||
start_time,
|
||||
</if>
|
||||
<if test="record.endTime != null">
|
||||
end_time,
|
||||
</if>
|
||||
<if test="record.isPartnerInterview != null">
|
||||
is_partner_interview,
|
||||
</if>
|
||||
<if test="record.actualStartTime != null">
|
||||
actual_start_time,
|
||||
</if>
|
||||
<if test="record.actualEndTime != null">
|
||||
actual_end_time,
|
||||
</if>
|
||||
<if test="record.roomId != null">
|
||||
room_id,
|
||||
</if>
|
||||
<if test="record.roomPassword != null">
|
||||
room_password,
|
||||
</if>
|
||||
<if test="record.interviewer != null">
|
||||
interviewer,
|
||||
</if>
|
||||
<if test="record.roomStatus != null">
|
||||
room_status,
|
||||
</if>
|
||||
<if test="record.deleted != null">
|
||||
deleted,
|
||||
</if>
|
||||
<if test="record.createTime != null">
|
||||
create_time,
|
||||
</if>
|
||||
<if test="record.updateTime != null">
|
||||
update_time,
|
||||
</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="record.partnerLineId != null">
|
||||
#{record.partnerLineId},
|
||||
</if>
|
||||
<if test="record.partnerId != null">
|
||||
#{record.partnerId},
|
||||
</if>
|
||||
<if test="record.interviewDate != null">
|
||||
#{record.interviewDate},
|
||||
</if>
|
||||
<if test="record.startTime != null">
|
||||
#{record.startTime},
|
||||
</if>
|
||||
<if test="record.endTime != null">
|
||||
#{record.endTime},
|
||||
</if>
|
||||
<if test="record.isPartnerInterview != null">
|
||||
#{record.isPartnerInterview},
|
||||
</if>
|
||||
<if test="record.actualStartTime != null">
|
||||
#{record.actualStartTime},
|
||||
</if>
|
||||
<if test="record.actualEndTime != null">
|
||||
#{record.actualEndTime},
|
||||
</if>
|
||||
<if test="record.roomId != null">
|
||||
#{record.roomId},
|
||||
</if>
|
||||
<if test="record.roomPassword != null">
|
||||
#{record.roomPassword},
|
||||
</if>
|
||||
<if test="record.interviewer != null">
|
||||
#{record.interviewer},
|
||||
</if>
|
||||
<if test="record.roomStatus != null">
|
||||
#{record.roomStatus},
|
||||
</if>
|
||||
<if test="record.deleted != null">
|
||||
#{record.deleted},
|
||||
</if>
|
||||
<if test="record.createTime != null">
|
||||
#{record.createTime},
|
||||
</if>
|
||||
<if test="record.updateTime != null">
|
||||
#{record.updateTime},
|
||||
</if>
|
||||
</trim>
|
||||
</insert>
|
||||
<update id="updateByPrimaryKeySelective">
|
||||
update hy_partner_interview_plan_${enterpriseId}
|
||||
<set>
|
||||
<if test="record.partnerLineId != null">
|
||||
partner_line_id = #{record.partnerLineId},
|
||||
</if>
|
||||
<if test="record.partnerId != null">
|
||||
partner_id = #{record.partnerId},
|
||||
</if>
|
||||
<if test="record.interviewDate != null">
|
||||
interview_date = #{record.interviewDate},
|
||||
</if>
|
||||
<if test="record.startTime != null">
|
||||
start_time = #{record.startTime},
|
||||
</if>
|
||||
<if test="record.endTime != null">
|
||||
end_time = #{record.endTime},
|
||||
</if>
|
||||
<if test="record.isPartnerInterview != null">
|
||||
is_partner_interview = #{record.isPartnerInterview},
|
||||
</if>
|
||||
<if test="record.actualStartTime != null">
|
||||
actual_start_time = #{record.actualStartTime},
|
||||
</if>
|
||||
<if test="record.actualEndTime != null">
|
||||
actual_end_time = #{record.actualEndTime},
|
||||
</if>
|
||||
<if test="record.roomId != null">
|
||||
room_id = #{record.roomId},
|
||||
</if>
|
||||
<if test="record.roomPassword != null">
|
||||
room_password = #{record.roomPassword},
|
||||
</if>
|
||||
<if test="record.interviewer != null">
|
||||
interviewer = #{record.interviewer},
|
||||
</if>
|
||||
<if test="record.roomStatus != null">
|
||||
room_status = #{record.roomStatus},
|
||||
</if>
|
||||
<if test="record.deleted != null">
|
||||
deleted = #{record.deleted},
|
||||
</if>
|
||||
<if test="record.createTime != null">
|
||||
create_time = #{record.createTime},
|
||||
</if>
|
||||
<if test="record.updateTime != null">
|
||||
update_time = #{record.updateTime},
|
||||
</if>
|
||||
</set>
|
||||
where id = #{record.id}
|
||||
</update>
|
||||
</mapper>
|
||||
@@ -0,0 +1,196 @@
|
||||
<?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.HyPartnerLineInfoMapper">
|
||||
<resultMap id="BaseResultMap" type="com.cool.store.model.entity.HyPartnerLineInfoDO">
|
||||
<id column="id" jdbcType="BIGINT" property="id" />
|
||||
<result column="partner_id" jdbcType="VARCHAR" property="partnerId" />
|
||||
<result column="workflow_stage" jdbcType="VARCHAR" property="workflowStage" />
|
||||
<result column="workflow_status" jdbcType="VARCHAR" property="workflowStatus" />
|
||||
<result column="line_status" jdbcType="TINYINT" property="lineStatus" />
|
||||
<result column="investment_manager" jdbcType="VARCHAR" property="investmentManager" />
|
||||
<result column="development_director" jdbcType="VARCHAR" property="developmentDirector" />
|
||||
<result column="development_manager" jdbcType="VARCHAR" property="developmentManager" />
|
||||
<result column="deadline" jdbcType="TIMESTAMP" property="deadline" />
|
||||
<result column="pass_reason" jdbcType="VARCHAR" property="passReason" />
|
||||
<result column="reject_public_reason" jdbcType="VARCHAR" property="rejectPublicReason" />
|
||||
<result column="reject_real_reason" jdbcType="VARCHAR" property="rejectRealReason" />
|
||||
<result column="certify_file" jdbcType="VARCHAR" property="certifyFile" />
|
||||
<result column="deleted" jdbcType="BIT" property="deleted" />
|
||||
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
|
||||
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
|
||||
<result column="close_time" jdbcType="TIMESTAMP" property="closeTime" />
|
||||
<result column="close_user_id" jdbcType="VARCHAR" property="closeUserId" />
|
||||
</resultMap>
|
||||
<sql id="Base_Column_List">
|
||||
id, partner_id, workflow_stage, workflow_status, line_status, investment_manager,
|
||||
development_director, development_manager, deadline, pass_reason, reject_public_reason,
|
||||
reject_real_reason, certify_file, deleted, create_time, update_time, close_time,
|
||||
close_user_id
|
||||
</sql>
|
||||
<insert id="insertSelective" keyColumn="id" keyProperty="record.id" useGeneratedKeys="true">
|
||||
insert into hy_partner_line_info_${enterpriseId}
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="record.partnerId != null">
|
||||
partner_id,
|
||||
</if>
|
||||
<if test="record.workflowStage != null">
|
||||
workflow_stage,
|
||||
</if>
|
||||
<if test="record.workflowStatus != null">
|
||||
workflow_status,
|
||||
</if>
|
||||
<if test="record.lineStatus != null">
|
||||
line_status,
|
||||
</if>
|
||||
<if test="record.investmentManager != null">
|
||||
investment_manager,
|
||||
</if>
|
||||
<if test="record.developmentDirector != null">
|
||||
development_director,
|
||||
</if>
|
||||
<if test="record.developmentManager != null">
|
||||
development_manager,
|
||||
</if>
|
||||
<if test="record.deadline != null">
|
||||
deadline,
|
||||
</if>
|
||||
<if test="record.passReason != null">
|
||||
pass_reason,
|
||||
</if>
|
||||
<if test="record.rejectPublicReason != null">
|
||||
reject_public_reason,
|
||||
</if>
|
||||
<if test="record.rejectRealReason != null">
|
||||
reject_real_reason,
|
||||
</if>
|
||||
<if test="record.certifyFile != null">
|
||||
certify_file,
|
||||
</if>
|
||||
<if test="record.deleted != null">
|
||||
deleted,
|
||||
</if>
|
||||
<if test="record.createTime != null">
|
||||
create_time,
|
||||
</if>
|
||||
<if test="record.updateTime != null">
|
||||
update_time,
|
||||
</if>
|
||||
<if test="record.closeTime != null">
|
||||
close_time,
|
||||
</if>
|
||||
<if test="record.closeUserId != null">
|
||||
close_user_id,
|
||||
</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="record.partnerId != null">
|
||||
#{record.partnerId},
|
||||
</if>
|
||||
<if test="record.workflowStage != null">
|
||||
#{record.workflowStage},
|
||||
</if>
|
||||
<if test="record.workflowStatus != null">
|
||||
#{record.workflowStatus},
|
||||
</if>
|
||||
<if test="record.lineStatus != null">
|
||||
#{record.lineStatus},
|
||||
</if>
|
||||
<if test="record.investmentManager != null">
|
||||
#{record.investmentManager},
|
||||
</if>
|
||||
<if test="record.developmentDirector != null">
|
||||
#{record.developmentDirector},
|
||||
</if>
|
||||
<if test="record.developmentManager != null">
|
||||
#{record.developmentManager},
|
||||
</if>
|
||||
<if test="record.deadline != null">
|
||||
#{record.deadline},
|
||||
</if>
|
||||
<if test="record.passReason != null">
|
||||
#{record.passReason},
|
||||
</if>
|
||||
<if test="record.rejectPublicReason != null">
|
||||
#{record.rejectPublicReason},
|
||||
</if>
|
||||
<if test="record.rejectRealReason != null">
|
||||
#{record.rejectRealReason},
|
||||
</if>
|
||||
<if test="record.certifyFile != null">
|
||||
#{record.certifyFile},
|
||||
</if>
|
||||
<if test="record.deleted != null">
|
||||
#{record.deleted},
|
||||
</if>
|
||||
<if test="record.createTime != null">
|
||||
#{record.createTime},
|
||||
</if>
|
||||
<if test="record.updateTime != null">
|
||||
#{record.updateTime},
|
||||
</if>
|
||||
<if test="record.closeTime != null">
|
||||
#{record.closeTime},
|
||||
</if>
|
||||
<if test="record.closeUserId != null">
|
||||
#{record.closeUserId},
|
||||
</if>
|
||||
</trim>
|
||||
</insert>
|
||||
<update id="updateByPrimaryKeySelective">
|
||||
update hy_partner_line_info_${enterpriseId}
|
||||
<set>
|
||||
<if test="record.partnerId != null">
|
||||
partner_id = #{record.partnerId},
|
||||
</if>
|
||||
<if test="record.workflowStage != null">
|
||||
workflow_stage = #{record.workflowStage},
|
||||
</if>
|
||||
<if test="record.workflowStatus != null">
|
||||
workflow_status = #{record.workflowStatus},
|
||||
</if>
|
||||
<if test="record.lineStatus != null">
|
||||
line_status = #{record.lineStatus},
|
||||
</if>
|
||||
<if test="record.investmentManager != null">
|
||||
investment_manager = #{record.investmentManager},
|
||||
</if>
|
||||
<if test="record.developmentDirector != null">
|
||||
development_director = #{record.developmentDirector},
|
||||
</if>
|
||||
<if test="record.developmentManager != null">
|
||||
development_manager = #{record.developmentManager},
|
||||
</if>
|
||||
<if test="record.deadline != null">
|
||||
deadline = #{record.deadline},
|
||||
</if>
|
||||
<if test="record.passReason != null">
|
||||
pass_reason = #{record.passReason},
|
||||
</if>
|
||||
<if test="record.rejectPublicReason != null">
|
||||
reject_public_reason = #{record.rejectPublicReason},
|
||||
</if>
|
||||
<if test="record.rejectRealReason != null">
|
||||
reject_real_reason = #{record.rejectRealReason},
|
||||
</if>
|
||||
<if test="record.certifyFile != null">
|
||||
certify_file = #{record.certifyFile},
|
||||
</if>
|
||||
<if test="record.deleted != null">
|
||||
deleted = #{record.deleted},
|
||||
</if>
|
||||
<if test="record.createTime != null">
|
||||
create_time = #{record.createTime},
|
||||
</if>
|
||||
<if test="record.updateTime != null">
|
||||
update_time = #{record.updateTime},
|
||||
</if>
|
||||
<if test="record.closeTime != null">
|
||||
close_time = #{record.closeTime},
|
||||
</if>
|
||||
<if test="record.closeUserId != null">
|
||||
close_user_id = #{record.closeUserId},
|
||||
</if>
|
||||
</set>
|
||||
where id = #{record.id}
|
||||
</update>
|
||||
</mapper>
|
||||
@@ -0,0 +1,129 @@
|
||||
<?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.HyPartnerTaskInfoLogMapper">
|
||||
<resultMap id="BaseResultMap" type="com.cool.store.model.entity.HyPartnerTaskInfoLogDO">
|
||||
<id column="id" jdbcType="BIGINT" property="id" />
|
||||
<result column="partner_line_id" jdbcType="BIGINT" property="partnerLineId" />
|
||||
<result column="operate_user_id" jdbcType="VARCHAR" property="operateUserId" />
|
||||
<result column="operate_username" jdbcType="VARCHAR" property="operateUsername" />
|
||||
<result column="workflow_stage" jdbcType="VARCHAR" property="workflowStage" />
|
||||
<result column="workflow_status" jdbcType="VARCHAR" property="workflowStatus" />
|
||||
<result column="message" jdbcType="VARCHAR" property="message" />
|
||||
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
|
||||
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
|
||||
<result column="partner_id" jdbcType="BIGINT" property="partnerId" />
|
||||
</resultMap>
|
||||
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.cool.store.model.entity.HyPartnerTaskInfoLogDO">
|
||||
<result column="field_copy" jdbcType="LONGVARCHAR" property="fieldCopy" />
|
||||
</resultMap>
|
||||
<sql id="Base_Column_List">
|
||||
id, partner_line_id, operate_user_id, operate_username, workflow_stage, workflow_status,
|
||||
message, create_time, update_time, partner_id
|
||||
</sql>
|
||||
<sql id="Blob_Column_List">
|
||||
field_copy
|
||||
</sql>
|
||||
<insert id="insertSelective" keyColumn="id" keyProperty="record.id" useGeneratedKeys="true">
|
||||
insert into hy_partner_task_info_log_${enterpriseId}
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="record.partnerLineId != null">
|
||||
partner_line_id,
|
||||
</if>
|
||||
<if test="record.operateUserId != null">
|
||||
operate_user_id,
|
||||
</if>
|
||||
<if test="record.operateUsername != null">
|
||||
operate_username,
|
||||
</if>
|
||||
<if test="record.workflowStage != null">
|
||||
workflow_stage,
|
||||
</if>
|
||||
<if test="record.workflowStatus != null">
|
||||
workflow_status,
|
||||
</if>
|
||||
<if test="record.message != null">
|
||||
message,
|
||||
</if>
|
||||
<if test="record.createTime != null">
|
||||
create_time,
|
||||
</if>
|
||||
<if test="record.updateTime != null">
|
||||
update_time,
|
||||
</if>
|
||||
<if test="record.partnerId != null">
|
||||
partner_id,
|
||||
</if>
|
||||
<if test="record.fieldCopy != null">
|
||||
field_copy,
|
||||
</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="record.partnerLineId != null">
|
||||
#{record.partnerLineId},
|
||||
</if>
|
||||
<if test="record.operateUserId != null">
|
||||
#{record.operateUserId},
|
||||
</if>
|
||||
<if test="record.operateUsername != null">
|
||||
#{record.operateUsername},
|
||||
</if>
|
||||
<if test="record.workflowStage != null">
|
||||
#{record.workflowStage},
|
||||
</if>
|
||||
<if test="record.workflowStatus != null">
|
||||
#{record.workflowStatus},
|
||||
</if>
|
||||
<if test="record.message != null">
|
||||
#{record.message},
|
||||
</if>
|
||||
<if test="record.createTime != null">
|
||||
#{record.createTime},
|
||||
</if>
|
||||
<if test="record.updateTime != null">
|
||||
#{record.updateTime},
|
||||
</if>
|
||||
<if test="record.partnerId != null">
|
||||
#{record.partnerId},
|
||||
</if>
|
||||
<if test="record.fieldCopy != null">
|
||||
#{record.fieldCopy},
|
||||
</if>
|
||||
</trim>
|
||||
</insert>
|
||||
<update id="updateByPrimaryKeySelective">
|
||||
update hy_partner_task_info_log_${enterpriseId}
|
||||
<set>
|
||||
<if test="record.partnerLineId != null">
|
||||
partner_line_id = #{record.partnerLineId},
|
||||
</if>
|
||||
<if test="record.operateUserId != null">
|
||||
operate_user_id = #{record.operateUserId},
|
||||
</if>
|
||||
<if test="record.operateUsername != null">
|
||||
operate_username = #{record.operateUsername},
|
||||
</if>
|
||||
<if test="record.workflowStage != null">
|
||||
workflow_stage = #{record.workflowStage},
|
||||
</if>
|
||||
<if test="record.workflowStatus != null">
|
||||
workflow_status = #{record.workflowStatus},
|
||||
</if>
|
||||
<if test="record.message != null">
|
||||
message = #{record.message},
|
||||
</if>
|
||||
<if test="record.createTime != null">
|
||||
create_time = #{record.createTime},
|
||||
</if>
|
||||
<if test="record.updateTime != null">
|
||||
update_time = #{record.updateTime},
|
||||
</if>
|
||||
<if test="record.partnerId != null">
|
||||
partner_id = #{record.partnerId},
|
||||
</if>
|
||||
<if test="record.fieldCopy != null">
|
||||
field_copy = #{record.fieldCopy},
|
||||
</if>
|
||||
</set>
|
||||
where id = #{record.id}
|
||||
</update>
|
||||
</mapper>
|
||||
@@ -0,0 +1,124 @@
|
||||
<?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.HyPartnerUserInfoMapper">
|
||||
<resultMap id="BaseResultMap" type="com.cool.store.model.entity.HyPartnerUserInfoDO">
|
||||
<id column="id" jdbcType="BIGINT" property="id" />
|
||||
<result column="partner_id" jdbcType="VARCHAR" property="partnerId" />
|
||||
<result column="mobile" jdbcType="VARCHAR" property="mobile" />
|
||||
<result column="username" jdbcType="VARCHAR" property="username" />
|
||||
<result column="live_area" jdbcType="VARCHAR" property="liveArea" />
|
||||
<result column="want_shop_area" jdbcType="VARCHAR" property="wantShopArea" />
|
||||
<result column="accept_adjust_type" jdbcType="TINYINT" property="acceptAdjustType" />
|
||||
<result column="invite_code" jdbcType="VARCHAR" property="inviteCode" />
|
||||
<result column="is_write_partner_know" jdbcType="TINYINT" property="isWritePartnerKnow" />
|
||||
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
|
||||
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
|
||||
</resultMap>
|
||||
<sql id="Base_Column_List">
|
||||
id, partner_id, mobile, username, live_area, want_shop_area, accept_adjust_type,
|
||||
invite_code, is_write_partner_know, create_time, update_time
|
||||
</sql>
|
||||
<insert id="insertSelective" keyColumn="id" keyProperty="record.id" useGeneratedKeys="true">
|
||||
insert into hy_partner_user_info_${enterpriseId}
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="record.partnerId != null">
|
||||
partner_id,
|
||||
</if>
|
||||
<if test="record.mobile != null">
|
||||
mobile,
|
||||
</if>
|
||||
<if test="record.username != null">
|
||||
username,
|
||||
</if>
|
||||
<if test="record.liveArea != null">
|
||||
live_area,
|
||||
</if>
|
||||
<if test="record.wantShopArea != null">
|
||||
want_shop_area,
|
||||
</if>
|
||||
<if test="record.acceptAdjustType != null">
|
||||
accept_adjust_type,
|
||||
</if>
|
||||
<if test="record.inviteCode != null">
|
||||
invite_code,
|
||||
</if>
|
||||
<if test="record.isWritePartnerKnow != null">
|
||||
is_write_partner_know,
|
||||
</if>
|
||||
<if test="record.createTime != null">
|
||||
create_time,
|
||||
</if>
|
||||
<if test="record.updateTime != null">
|
||||
update_time,
|
||||
</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="record.partnerId != null">
|
||||
#{record.partnerId},
|
||||
</if>
|
||||
<if test="record.mobile != null">
|
||||
#{record.mobile},
|
||||
</if>
|
||||
<if test="record.username != null">
|
||||
#{record.username},
|
||||
</if>
|
||||
<if test="record.liveArea != null">
|
||||
#{record.liveArea},
|
||||
</if>
|
||||
<if test="record.wantShopArea != null">
|
||||
#{record.wantShopArea},
|
||||
</if>
|
||||
<if test="record.acceptAdjustType != null">
|
||||
#{record.acceptAdjustType},
|
||||
</if>
|
||||
<if test="record.inviteCode != null">
|
||||
#{record.inviteCode},
|
||||
</if>
|
||||
<if test="record.isWritePartnerKnow != null">
|
||||
#{record.isWritePartnerKnow},
|
||||
</if>
|
||||
<if test="record.createTime != null">
|
||||
#{record.createTime},
|
||||
</if>
|
||||
<if test="record.updateTime != null">
|
||||
#{record.updateTime},
|
||||
</if>
|
||||
</trim>
|
||||
</insert>
|
||||
<update id="updateByPrimaryKeySelective">
|
||||
update hy_partner_user_info_${enterpriseId}
|
||||
<set>
|
||||
<if test="record.partnerId != null">
|
||||
partner_id = #{record.partnerId},
|
||||
</if>
|
||||
<if test="record.mobile != null">
|
||||
mobile = #{record.mobile},
|
||||
</if>
|
||||
<if test="record.username != null">
|
||||
username = #{record.username},
|
||||
</if>
|
||||
<if test="record.liveArea != null">
|
||||
live_area = #{record.liveArea},
|
||||
</if>
|
||||
<if test="record.wantShopArea != null">
|
||||
want_shop_area = #{record.wantShopArea},
|
||||
</if>
|
||||
<if test="record.acceptAdjustType != null">
|
||||
accept_adjust_type = #{record.acceptAdjustType},
|
||||
</if>
|
||||
<if test="record.inviteCode != null">
|
||||
invite_code = #{record.inviteCode},
|
||||
</if>
|
||||
<if test="record.isWritePartnerKnow != null">
|
||||
is_write_partner_know = #{record.isWritePartnerKnow},
|
||||
</if>
|
||||
<if test="record.createTime != null">
|
||||
create_time = #{record.createTime},
|
||||
</if>
|
||||
<if test="record.updateTime != null">
|
||||
update_time = #{record.updateTime},
|
||||
</if>
|
||||
</set>
|
||||
where id = #{record.id}
|
||||
</update>
|
||||
</mapper>
|
||||
@@ -0,0 +1,83 @@
|
||||
<?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.HyPartnerUserPlatformBindMapper">
|
||||
<resultMap id="BaseResultMap" type="com.cool.store.model.entity.HyPartnerUserPlatformBindDO">
|
||||
<id column="id" jdbcType="BIGINT" property="id" />
|
||||
<result column="platform_type" jdbcType="VARCHAR" property="platformType" />
|
||||
<result column="platform_user_id" jdbcType="VARCHAR" property="platformUserId" />
|
||||
<result column="bind_time" jdbcType="TIMESTAMP" property="bindTime" />
|
||||
<result column="partner_id" jdbcType="VARCHAR" property="partnerId" />
|
||||
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
|
||||
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
|
||||
</resultMap>
|
||||
<sql id="Base_Column_List">
|
||||
id, platform_type, platform_user_id, bind_time, partner_id, create_time, update_time
|
||||
</sql>
|
||||
<insert id="insertSelective" keyColumn="id" keyProperty="record.id" useGeneratedKeys="true">
|
||||
insert into hy_partner_user_platform_bind_${enterpriseId}
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="record.platformType != null">
|
||||
platform_type,
|
||||
</if>
|
||||
<if test="record.platformUserId != null">
|
||||
platform_user_id,
|
||||
</if>
|
||||
<if test="record.bindTime != null">
|
||||
bind_time,
|
||||
</if>
|
||||
<if test="record.partnerId != null">
|
||||
partner_id,
|
||||
</if>
|
||||
<if test="record.createTime != null">
|
||||
create_time,
|
||||
</if>
|
||||
<if test="record.updateTime != null">
|
||||
update_time,
|
||||
</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="record.platformType != null">
|
||||
#{record.platformType},
|
||||
</if>
|
||||
<if test="record.platformUserId != null">
|
||||
#{record.platformUserId},
|
||||
</if>
|
||||
<if test="record.bindTime != null">
|
||||
#{record.bindTime},
|
||||
</if>
|
||||
<if test="record.partnerId != null">
|
||||
#{record.partnerId},
|
||||
</if>
|
||||
<if test="record.createTime != null">
|
||||
#{record.createTime},
|
||||
</if>
|
||||
<if test="record.updateTime != null">
|
||||
#{record.updateTime},
|
||||
</if>
|
||||
</trim>
|
||||
</insert>
|
||||
<update id="updateByPrimaryKeySelective">
|
||||
update hy_partner_user_platform_bind_${enterpriseId}
|
||||
<set>
|
||||
<if test="record.platformType != null">
|
||||
platform_type = #{record.platformType},
|
||||
</if>
|
||||
<if test="record.platformUserId != null">
|
||||
platform_user_id = #{record.platformUserId},
|
||||
</if>
|
||||
<if test="record.bindTime != null">
|
||||
bind_time = #{record.bindTime},
|
||||
</if>
|
||||
<if test="record.partnerId != null">
|
||||
partner_id = #{record.partnerId},
|
||||
</if>
|
||||
<if test="record.createTime != null">
|
||||
create_time = #{record.createTime},
|
||||
</if>
|
||||
<if test="record.updateTime != null">
|
||||
update_time = #{record.updateTime},
|
||||
</if>
|
||||
</set>
|
||||
where id = #{record.id}
|
||||
</update>
|
||||
</mapper>
|
||||
@@ -0,0 +1,73 @@
|
||||
<?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.HyWorkflowStageMapper">
|
||||
<resultMap id="BaseResultMap" type="com.cool.store.model.entity.HyWorkflowStageDO">
|
||||
<id column="id" jdbcType="BIGINT" property="id" />
|
||||
<result column="stage_code" jdbcType="VARCHAR" property="stageCode" />
|
||||
<result column="stage_name" jdbcType="VARCHAR" property="stageName" />
|
||||
<result column="stage_order" jdbcType="TINYINT" property="stageOrder" />
|
||||
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
|
||||
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
|
||||
</resultMap>
|
||||
<sql id="Base_Column_List">
|
||||
id, stage_code, stage_name, stage_order, create_time, update_time
|
||||
</sql>
|
||||
<insert id="insertSelective" keyColumn="id" keyProperty="record.id" useGeneratedKeys="true">
|
||||
insert into hy_workflow_stage_${enterpriseId}
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="record.stageCode != null">
|
||||
stage_code,
|
||||
</if>
|
||||
<if test="record.stageName != null">
|
||||
stage_name,
|
||||
</if>
|
||||
<if test="record.stageOrder != null">
|
||||
stage_order,
|
||||
</if>
|
||||
<if test="record.createTime != null">
|
||||
create_time,
|
||||
</if>
|
||||
<if test="record.updateTime != null">
|
||||
update_time,
|
||||
</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="record.stageCode != null">
|
||||
#{record.stageCode},
|
||||
</if>
|
||||
<if test="record.stageName != null">
|
||||
#{record.stageName},
|
||||
</if>
|
||||
<if test="record.stageOrder != null">
|
||||
#{record.stageOrder},
|
||||
</if>
|
||||
<if test="record.createTime != null">
|
||||
#{record.createTime},
|
||||
</if>
|
||||
<if test="record.updateTime != null">
|
||||
#{record.updateTime},
|
||||
</if>
|
||||
</trim>
|
||||
</insert>
|
||||
<update id="updateByPrimaryKeySelective">
|
||||
update hy_workflow_stage_${enterpriseId}
|
||||
<set>
|
||||
<if test="record.stageCode != null">
|
||||
stage_code = #{record.stageCode},
|
||||
</if>
|
||||
<if test="record.stageName != null">
|
||||
stage_name = #{record.stageName},
|
||||
</if>
|
||||
<if test="record.stageOrder != null">
|
||||
stage_order = #{record.stageOrder},
|
||||
</if>
|
||||
<if test="record.createTime != null">
|
||||
create_time = #{record.createTime},
|
||||
</if>
|
||||
<if test="record.updateTime != null">
|
||||
update_time = #{record.updateTime},
|
||||
</if>
|
||||
</set>
|
||||
where id = #{record.id}
|
||||
</update>
|
||||
</mapper>
|
||||
@@ -0,0 +1,47 @@
|
||||
package com.cool.store.model.entity;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author zhangchenbiao
|
||||
* @date 2023-05-29 03:49
|
||||
*/
|
||||
@Data
|
||||
@Builder
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
public class HyAdvancedSettingDO implements Serializable {
|
||||
@ApiModelProperty("")
|
||||
private Long id;
|
||||
|
||||
@ApiModelProperty("链接地址")
|
||||
private String partnerUrl;
|
||||
|
||||
@ApiModelProperty("线索分配 职位 ,1,12,33,")
|
||||
private String allocationRoles;
|
||||
|
||||
@ApiModelProperty("腾讯会议账号")
|
||||
private String tencentVideoAccount;
|
||||
|
||||
@ApiModelProperty("腾讯会议秘钥")
|
||||
private String tencentVideoKey;
|
||||
|
||||
@ApiModelProperty("创建时间")
|
||||
private Date createTime;
|
||||
|
||||
@ApiModelProperty("更新时间")
|
||||
private Date updateTime;
|
||||
|
||||
@ApiModelProperty("新建人ID")
|
||||
private String createUserId;
|
||||
|
||||
@ApiModelProperty("更新人ID")
|
||||
private String updateUserId;
|
||||
}
|
||||
@@ -0,0 +1,56 @@
|
||||
package com.cool.store.model.entity;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author zhangchenbiao
|
||||
* @date 2023-05-29 03:50
|
||||
*/
|
||||
@Data
|
||||
@Builder
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
public class HyContentInfoDO implements Serializable {
|
||||
@ApiModelProperty("")
|
||||
private Long id;
|
||||
|
||||
@ApiModelProperty("内容标题")
|
||||
private String contentTitle;
|
||||
|
||||
@ApiModelProperty("栏目CODE")
|
||||
private String subject;
|
||||
|
||||
@ApiModelProperty("类型 image-图文 video-视频")
|
||||
private String contentType;
|
||||
|
||||
@ApiModelProperty("封面URL")
|
||||
private String cover;
|
||||
|
||||
@ApiModelProperty("状态 0-启用 1-禁用")
|
||||
private Integer status;
|
||||
|
||||
@ApiModelProperty("删除标志 0-正常 1-删除")
|
||||
private Integer deleted;
|
||||
|
||||
@ApiModelProperty("创建时间")
|
||||
private Date createTime;
|
||||
|
||||
@ApiModelProperty("更新时间")
|
||||
private Date updateTime;
|
||||
|
||||
@ApiModelProperty("新建人ID")
|
||||
private String createUserId;
|
||||
|
||||
@ApiModelProperty("更新人ID")
|
||||
private String updateUserId;
|
||||
|
||||
@ApiModelProperty("图文内容或者视频文件URL")
|
||||
private String content;
|
||||
}
|
||||
@@ -0,0 +1,50 @@
|
||||
package com.cool.store.model.entity;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author zhangchenbiao
|
||||
* @date 2023-05-29 03:50
|
||||
*/
|
||||
@Data
|
||||
@Builder
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
public class HyIntendDevZoneInfoDO implements Serializable {
|
||||
@ApiModelProperty("")
|
||||
private Long id;
|
||||
|
||||
@ApiModelProperty("区域名称")
|
||||
private String zoneName;
|
||||
|
||||
@ApiModelProperty("关联区域ID 酷店掌系统区域ID")
|
||||
private String associatedRegionId;
|
||||
|
||||
@ApiModelProperty("区分意向区域OR开发区域 intend-意向区域 developement-开发区域")
|
||||
private String type;
|
||||
|
||||
@ApiModelProperty("最近的分配人ID")
|
||||
private String lastAllotUserId;
|
||||
|
||||
@ApiModelProperty("删除标志 0-正常 1-删除")
|
||||
private Integer deleted;
|
||||
|
||||
@ApiModelProperty("创建时间")
|
||||
private Date createTime;
|
||||
|
||||
@ApiModelProperty("更新时间")
|
||||
private Date updateTime;
|
||||
|
||||
@ApiModelProperty("新建人ID")
|
||||
private String createUserId;
|
||||
|
||||
@ApiModelProperty("更新人ID")
|
||||
private String updateUserId;
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
package com.cool.store.model.entity;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author zhangchenbiao
|
||||
* @date 2023-05-29 03:50
|
||||
*/
|
||||
@Data
|
||||
@Builder
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
public class HyIntendDevelopementMappingDO implements Serializable {
|
||||
@ApiModelProperty("")
|
||||
private Long id;
|
||||
|
||||
@ApiModelProperty("hy_intend_developement_zone_info.id")
|
||||
private String mappingId;
|
||||
|
||||
@ApiModelProperty("hy_open_area_info.id或者区域ID")
|
||||
private String openAreaMappingId;
|
||||
|
||||
@ApiModelProperty("区分意向区域OR开发区域 intend-意向区域 developement-开发区域")
|
||||
private String type;
|
||||
|
||||
@ApiModelProperty("创建时间")
|
||||
private Date createTime;
|
||||
|
||||
@ApiModelProperty("更新时间")
|
||||
private Date updateTime;
|
||||
}
|
||||
@@ -0,0 +1,53 @@
|
||||
package com.cool.store.model.entity;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author zhangchenbiao
|
||||
* @date 2023-05-29 03:51
|
||||
*/
|
||||
@Data
|
||||
@Builder
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
public class HyOpenAreaInfoDO implements Serializable {
|
||||
@ApiModelProperty("")
|
||||
private Long id;
|
||||
|
||||
@ApiModelProperty("parent.id")
|
||||
private Long parentId;
|
||||
|
||||
@ApiModelProperty("区域名称")
|
||||
private String areaName;
|
||||
|
||||
@ApiModelProperty("区域路径")
|
||||
private String areaPath;
|
||||
|
||||
@ApiModelProperty("背景图URL 重点区域时候必填")
|
||||
private String backgroundBanner;
|
||||
|
||||
@ApiModelProperty("详情banner URL 重点区域时候必填")
|
||||
private String detailBanner;
|
||||
|
||||
@ApiModelProperty("状态 open-开放 keyOpen-重点开放 notOpen-未开放 saturated-已饱和")
|
||||
private String areaStatus;
|
||||
|
||||
@ApiModelProperty("删除标志 0-正常 1-删除")
|
||||
private Integer deleted;
|
||||
|
||||
@ApiModelProperty("创建时间")
|
||||
private Date createTime;
|
||||
|
||||
@ApiModelProperty("更新时间")
|
||||
private Date updateTime;
|
||||
|
||||
@ApiModelProperty("更新人")
|
||||
private String updateUserId;
|
||||
}
|
||||
@@ -0,0 +1,77 @@
|
||||
package com.cool.store.model.entity;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author zhangchenbiao
|
||||
* @date 2023-05-29 03:51
|
||||
*/
|
||||
@Data
|
||||
@Builder
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
public class HyPartnerBaseInfoDO implements Serializable {
|
||||
@ApiModelProperty("")
|
||||
private Long id;
|
||||
|
||||
@ApiModelProperty("hy_partner_user_info.partner_id")
|
||||
private String partnerId;
|
||||
|
||||
@ApiModelProperty("hy_partner_line_info.id")
|
||||
private Long partnerLineId;
|
||||
|
||||
@ApiModelProperty("手机号")
|
||||
private String mobile;
|
||||
|
||||
@ApiModelProperty("姓名")
|
||||
private String username;
|
||||
|
||||
@ApiModelProperty("1男 2女")
|
||||
private Boolean sex;
|
||||
|
||||
@ApiModelProperty("民族")
|
||||
private String nation;
|
||||
|
||||
@ApiModelProperty("出生日期")
|
||||
private Date birthdate;
|
||||
|
||||
@ApiModelProperty("身份证")
|
||||
private String idCard;
|
||||
|
||||
@ApiModelProperty("身份证正面")
|
||||
private String idCardPhotoFront;
|
||||
|
||||
@ApiModelProperty("身份证反面")
|
||||
private String idCardPhotoBlack;
|
||||
|
||||
@ApiModelProperty("住址")
|
||||
private String liveAddress;
|
||||
|
||||
@ApiModelProperty("用户画像")
|
||||
private String userPortrait;
|
||||
|
||||
@ApiModelProperty("0待提交、1待审核、2已通过、3未通过")
|
||||
private Integer status;
|
||||
|
||||
@ApiModelProperty("最近的日志消息")
|
||||
private String latestLogMessage;
|
||||
|
||||
@ApiModelProperty("通过原因")
|
||||
private String passReason;
|
||||
|
||||
@ApiModelProperty("证明文件或凭证")
|
||||
private String certifyFile;
|
||||
|
||||
@ApiModelProperty("创建时间")
|
||||
private Date createTime;
|
||||
|
||||
@ApiModelProperty("更新时间")
|
||||
private Date updateTime;
|
||||
}
|
||||
@@ -0,0 +1,83 @@
|
||||
package com.cool.store.model.entity;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author zhangchenbiao
|
||||
* @date 2023-05-29 03:51
|
||||
*/
|
||||
@Data
|
||||
@Builder
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
public class HyPartnerCertificationInfoDO implements Serializable {
|
||||
@ApiModelProperty("")
|
||||
private Long id;
|
||||
|
||||
@ApiModelProperty("hy_partner_user_info.partner_id")
|
||||
private String partnerId;
|
||||
|
||||
@ApiModelProperty("hy_partner_line_info.id")
|
||||
private Long partnerLineId;
|
||||
|
||||
@ApiModelProperty("hy_partner_interview.id")
|
||||
private Long partnerInterviewId;
|
||||
|
||||
@ApiModelProperty("合作关系:1总部下属;2小区代直营;3县代直营;4县代下属;5区代直营;6区代下属")
|
||||
private String partnership;
|
||||
|
||||
@ApiModelProperty("意向签约时间")
|
||||
private Date wantSignTime;
|
||||
|
||||
@ApiModelProperty("数据来源")
|
||||
private Integer dataSource;
|
||||
|
||||
@ApiModelProperty("加盟费")
|
||||
private String partnerFee;
|
||||
|
||||
@ApiModelProperty("保证金")
|
||||
private String securityFund;
|
||||
|
||||
@ApiModelProperty("技术服务费")
|
||||
private String technicalServiceFee;
|
||||
|
||||
@ApiModelProperty("意向金金额")
|
||||
private String intentionMoney;
|
||||
|
||||
@ApiModelProperty("意向签约人姓名")
|
||||
private String intentionSignerUsername;
|
||||
|
||||
@ApiModelProperty("意向签约人手机号")
|
||||
private String intentionSignerMobile;
|
||||
|
||||
@ApiModelProperty("意向签约人学历")
|
||||
private String intentionEdu;
|
||||
|
||||
@ApiModelProperty("实控人姓名")
|
||||
private String realControlUsername;
|
||||
|
||||
@ApiModelProperty("实控人身份证")
|
||||
private String realControlIdcard;
|
||||
|
||||
@ApiModelProperty("签约人与实控人关系")
|
||||
private String signerRealControlRelation;
|
||||
|
||||
@ApiModelProperty("其他实控人与签约人关系")
|
||||
private String signerOtherRealControlRelation;
|
||||
|
||||
@ApiModelProperty("实控人与签约人关系证明")
|
||||
private String signerRealControlRelationCert;
|
||||
|
||||
@ApiModelProperty("创建时间")
|
||||
private Date createTime;
|
||||
|
||||
@ApiModelProperty("更新时间")
|
||||
private Date updateTime;
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
package com.cool.store.model.entity;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author zhangchenbiao
|
||||
* @date 2023-05-29 03:51
|
||||
*/
|
||||
@Data
|
||||
@Builder
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
public class HyPartnerClerkDO implements Serializable {
|
||||
@ApiModelProperty("")
|
||||
private Long id;
|
||||
|
||||
@ApiModelProperty("hy_partner_line_info.id")
|
||||
private Long partnerLineId;
|
||||
|
||||
@ApiModelProperty("hy_partner_user_info.partner_id")
|
||||
private String partnerId;
|
||||
|
||||
@ApiModelProperty("伙伴姓名")
|
||||
private String username;
|
||||
|
||||
@ApiModelProperty("关系")
|
||||
private String relationship;
|
||||
|
||||
@ApiModelProperty("年龄")
|
||||
private Integer age;
|
||||
|
||||
@ApiModelProperty("选择原因")
|
||||
private String chooseReason;
|
||||
|
||||
@ApiModelProperty("创建时间")
|
||||
private Date createTime;
|
||||
|
||||
@ApiModelProperty("更新时间")
|
||||
private Date updateTime;
|
||||
}
|
||||
@@ -0,0 +1,89 @@
|
||||
package com.cool.store.model.entity;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author zhangchenbiao
|
||||
* @date 2023-05-29 03:52
|
||||
*/
|
||||
@Data
|
||||
@Builder
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
public class HyPartnerIntentInfoDO implements Serializable {
|
||||
@ApiModelProperty("")
|
||||
private Long id;
|
||||
|
||||
@ApiModelProperty("hy_partner_user_info.partner_id")
|
||||
private String partnerId;
|
||||
|
||||
@ApiModelProperty("hy_partner_line_info.id")
|
||||
private Long partnerLineId;
|
||||
|
||||
@ApiModelProperty("常驻区域")
|
||||
private String liveArea;
|
||||
|
||||
@ApiModelProperty("意向开店区域")
|
||||
private String wantShopArea;
|
||||
|
||||
@ApiModelProperty("0不接受调剂、1全国调剂、2省内调剂、3市内调剂")
|
||||
private Integer acceptAdjustType;
|
||||
|
||||
@ApiModelProperty("是否有意向铺位")
|
||||
private Integer isHaveWantShop;
|
||||
|
||||
@ApiModelProperty("意向铺位信息,json字段,最多5个")
|
||||
private String wantShopInfo;
|
||||
|
||||
@ApiModelProperty("最大预算")
|
||||
private String maxBudget;
|
||||
|
||||
@ApiModelProperty("资金来源 1自有资金;2借贷资金;3部分自有、部分借代;4部分自有、部分亲友借代")
|
||||
private String moneySource;
|
||||
|
||||
@ApiModelProperty("资金证明")
|
||||
private String moneyProve;
|
||||
|
||||
@ApiModelProperty("学历")
|
||||
private String education;
|
||||
|
||||
@ApiModelProperty("工作年限")
|
||||
private String workYear;
|
||||
|
||||
@ApiModelProperty("是否具有工作经验")
|
||||
private Integer isHaveWorkExp;
|
||||
|
||||
@ApiModelProperty("工作或经商经验")
|
||||
private String workExp;
|
||||
|
||||
@ApiModelProperty("是否是消费者")
|
||||
private Integer isConsumer;
|
||||
|
||||
@ApiModelProperty("其他品牌")
|
||||
private String otherBand;
|
||||
|
||||
@ApiModelProperty("品牌优势")
|
||||
private String brandStrength;
|
||||
|
||||
@ApiModelProperty("需要改进")
|
||||
private String needImprove;
|
||||
|
||||
@ApiModelProperty("优势")
|
||||
private String strength;
|
||||
|
||||
@ApiModelProperty("劣势")
|
||||
private String weakness;
|
||||
|
||||
@ApiModelProperty("创建时间")
|
||||
private Date createTime;
|
||||
|
||||
@ApiModelProperty("更新时间")
|
||||
private Date updateTime;
|
||||
}
|
||||
@@ -0,0 +1,77 @@
|
||||
package com.cool.store.model.entity;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author zhangchenbiao
|
||||
* @date 2023-05-29 03:52
|
||||
*/
|
||||
@Data
|
||||
@Builder
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
public class HyPartnerInterviewDO implements Serializable {
|
||||
@ApiModelProperty("")
|
||||
private Long id;
|
||||
|
||||
@ApiModelProperty("预约状态 0 待预约;1待面试;2已开始;3待审核;4审批中;5审批通过;6拒绝")
|
||||
private Integer status;
|
||||
|
||||
@ApiModelProperty("hy_partner_line_info.id")
|
||||
private Long partnerLineId;
|
||||
|
||||
@ApiModelProperty("hy_partner_interview_arrangement.id")
|
||||
private Long interviewArrangementId;
|
||||
|
||||
@ApiModelProperty("hy_partner_user_info.partner_id")
|
||||
private String partnerId;
|
||||
|
||||
@ApiModelProperty("截止时间")
|
||||
private Date deadline;
|
||||
|
||||
@ApiModelProperty("面试官")
|
||||
private String interviewer;
|
||||
|
||||
@ApiModelProperty("记录人")
|
||||
private String recorder;
|
||||
|
||||
@ApiModelProperty("过程信息")
|
||||
private String processInfo;
|
||||
|
||||
@ApiModelProperty("记录时间")
|
||||
private Date recordTime;
|
||||
|
||||
@ApiModelProperty("面试总结")
|
||||
private String summary;
|
||||
|
||||
@ApiModelProperty("授权码")
|
||||
private String authCode;
|
||||
|
||||
@ApiModelProperty("函文件url")
|
||||
private String passFileUrl;
|
||||
|
||||
@ApiModelProperty("有效期")
|
||||
private Date expiryDate;
|
||||
|
||||
@ApiModelProperty("最近的日志消息")
|
||||
private String latestLogMessage;
|
||||
|
||||
@ApiModelProperty("通过原因")
|
||||
private String passReason;
|
||||
|
||||
@ApiModelProperty("证明文件或凭证")
|
||||
private String certifyFile;
|
||||
|
||||
@ApiModelProperty("创建时间")
|
||||
private Date createTime;
|
||||
|
||||
@ApiModelProperty("更新时间")
|
||||
private Date updateTime;
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
package com.cool.store.model.entity;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author zhangchenbiao
|
||||
* @date 2023-05-29 03:52
|
||||
*/
|
||||
@Data
|
||||
@Builder
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
public class HyPartnerInterviewLogDO implements Serializable {
|
||||
@ApiModelProperty("")
|
||||
private Long id;
|
||||
|
||||
@ApiModelProperty("hy_partner_line_info.id")
|
||||
private Long partnerLineId;
|
||||
|
||||
@ApiModelProperty("hy_partner_interview.id")
|
||||
private Long partnerInterviewId;
|
||||
|
||||
@ApiModelProperty("日志消息")
|
||||
private String message;
|
||||
|
||||
@ApiModelProperty("创建时间")
|
||||
private Date createTime;
|
||||
|
||||
@ApiModelProperty("更新时间")
|
||||
private Date updateTime;
|
||||
|
||||
@ApiModelProperty("更改前副本,重新预约时才有值")
|
||||
private String changeBeforeCpoy;
|
||||
}
|
||||
@@ -0,0 +1,68 @@
|
||||
package com.cool.store.model.entity;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author zhangchenbiao
|
||||
* @date 2023-05-29 03:52
|
||||
*/
|
||||
@Data
|
||||
@Builder
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
public class HyPartnerInterviewPlanDO implements Serializable {
|
||||
@ApiModelProperty("")
|
||||
private Long id;
|
||||
|
||||
@ApiModelProperty("hy_partner_line_info.id")
|
||||
private Long partnerLineId;
|
||||
|
||||
@ApiModelProperty("hy_partner_user_info.partner_id")
|
||||
private String partnerId;
|
||||
|
||||
@ApiModelProperty("面试日期")
|
||||
private Date interviewDate;
|
||||
|
||||
@ApiModelProperty("面试开始时间")
|
||||
private Date startTime;
|
||||
|
||||
@ApiModelProperty("面试结束时间")
|
||||
private Date endTime;
|
||||
|
||||
@ApiModelProperty("0未参加,1参加")
|
||||
private Integer isPartnerInterview;
|
||||
|
||||
@ApiModelProperty("实际开始时间")
|
||||
private Date actualStartTime;
|
||||
|
||||
@ApiModelProperty("实际结束时间")
|
||||
private Date actualEndTime;
|
||||
|
||||
@ApiModelProperty("房间号")
|
||||
private String roomId;
|
||||
|
||||
@ApiModelProperty("房间密码")
|
||||
private String roomPassword;
|
||||
|
||||
@ApiModelProperty("面试官")
|
||||
private String interviewer;
|
||||
|
||||
@ApiModelProperty("房间状态:0待开放;1已开放; 2已关闭")
|
||||
private Integer roomStatus;
|
||||
|
||||
@ApiModelProperty("删除标识")
|
||||
private Boolean deleted;
|
||||
|
||||
@ApiModelProperty("创建时间")
|
||||
private Date createTime;
|
||||
|
||||
@ApiModelProperty("更新时间")
|
||||
private Date updateTime;
|
||||
}
|
||||
@@ -0,0 +1,74 @@
|
||||
package com.cool.store.model.entity;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author zhangchenbiao
|
||||
* @date 2023-05-29 03:52
|
||||
*/
|
||||
@Data
|
||||
@Builder
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
public class HyPartnerLineInfoDO implements Serializable {
|
||||
@ApiModelProperty("")
|
||||
private Long id;
|
||||
|
||||
@ApiModelProperty("hy_partner_user_info.partner_id")
|
||||
private String partnerId;
|
||||
|
||||
@ApiModelProperty("流程阶段:1意向申请审核;2预约面试时间;3加盟资格面试;4分配选址开发经理;5商圈点位评估;6上传店铺租赁信息;7完善加盟签约信息;8支付加盟费用;9签订加盟合同")
|
||||
private String workflowStage;
|
||||
|
||||
@ApiModelProperty("流程子状态")
|
||||
private String workflowStatus;
|
||||
|
||||
@ApiModelProperty("线索状态:0公海线索;1跟进中;2合作中;3黑名单")
|
||||
private Integer lineStatus;
|
||||
|
||||
@ApiModelProperty("招商经理")
|
||||
private String investmentManager;
|
||||
|
||||
@ApiModelProperty("开发主管")
|
||||
private String developmentDirector;
|
||||
|
||||
@ApiModelProperty("开发经理")
|
||||
private String developmentManager;
|
||||
|
||||
@ApiModelProperty("截止时间")
|
||||
private Date deadline;
|
||||
|
||||
@ApiModelProperty("通过原因")
|
||||
private String passReason;
|
||||
|
||||
@ApiModelProperty("公开拒绝原因")
|
||||
private String rejectPublicReason;
|
||||
|
||||
@ApiModelProperty("真实拒绝原因")
|
||||
private String rejectRealReason;
|
||||
|
||||
@ApiModelProperty("证明文件或凭证")
|
||||
private String certifyFile;
|
||||
|
||||
@ApiModelProperty("删除标识")
|
||||
private Boolean deleted;
|
||||
|
||||
@ApiModelProperty("创建时间")
|
||||
private Date createTime;
|
||||
|
||||
@ApiModelProperty("更新时间")
|
||||
private Date updateTime;
|
||||
|
||||
@ApiModelProperty("结束跟进时间")
|
||||
private Date closeTime;
|
||||
|
||||
@ApiModelProperty("结束跟进人员ID")
|
||||
private String closeUserId;
|
||||
}
|
||||
@@ -0,0 +1,53 @@
|
||||
package com.cool.store.model.entity;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author zhangchenbiao
|
||||
* @date 2023-05-29 03:53
|
||||
*/
|
||||
@Data
|
||||
@Builder
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
public class HyPartnerTaskInfoLogDO implements Serializable {
|
||||
@ApiModelProperty("")
|
||||
private Long id;
|
||||
|
||||
@ApiModelProperty("hy_partner_line_info.id")
|
||||
private Long partnerLineId;
|
||||
|
||||
@ApiModelProperty("操作人id")
|
||||
private String operateUserId;
|
||||
|
||||
@ApiModelProperty("操作人姓名")
|
||||
private String operateUsername;
|
||||
|
||||
@ApiModelProperty("流程阶段:意向申请审核、预约面试时间、加盟资格面试、分配选址开发经理、商圈点位评估、上传店铺租赁信息、完善加盟签约信息、支付加盟费用、签订加盟合同")
|
||||
private String workflowStage;
|
||||
|
||||
@ApiModelProperty("流程子状态")
|
||||
private String workflowStatus;
|
||||
|
||||
@ApiModelProperty("备注")
|
||||
private String message;
|
||||
|
||||
@ApiModelProperty("创建时间")
|
||||
private Date createTime;
|
||||
|
||||
@ApiModelProperty("更新时间")
|
||||
private Date updateTime;
|
||||
|
||||
@ApiModelProperty("hy_partner_user_info.partner_id")
|
||||
private Long partnerId;
|
||||
|
||||
@ApiModelProperty("字段备份")
|
||||
private String fieldCopy;
|
||||
}
|
||||
@@ -0,0 +1,53 @@
|
||||
package com.cool.store.model.entity;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author zhangchenbiao
|
||||
* @date 2023-05-29 03:53
|
||||
*/
|
||||
@Data
|
||||
@Builder
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
public class HyPartnerUserInfoDO implements Serializable {
|
||||
@ApiModelProperty("")
|
||||
private Long id;
|
||||
|
||||
@ApiModelProperty("hy_partner_user_info.partner_id")
|
||||
private String partnerId;
|
||||
|
||||
@ApiModelProperty("手机号")
|
||||
private String mobile;
|
||||
|
||||
@ApiModelProperty("申请人姓名")
|
||||
private String username;
|
||||
|
||||
@ApiModelProperty("常驻区域")
|
||||
private String liveArea;
|
||||
|
||||
@ApiModelProperty("意向开店区域")
|
||||
private String wantShopArea;
|
||||
|
||||
@ApiModelProperty("0不接受调剂、1全国调剂、2省内调剂、3市内调剂")
|
||||
private Integer acceptAdjustType;
|
||||
|
||||
@ApiModelProperty("邀请码")
|
||||
private String inviteCode;
|
||||
|
||||
@ApiModelProperty("是否填写加盟需知")
|
||||
private Integer isWritePartnerKnow;
|
||||
|
||||
@ApiModelProperty("创建时间")
|
||||
private Date createTime;
|
||||
|
||||
@ApiModelProperty("更新时间")
|
||||
private Date updateTime;
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
package com.cool.store.model.entity;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author zhangchenbiao
|
||||
* @date 2023-05-29 03:53
|
||||
*/
|
||||
@Data
|
||||
@Builder
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
public class HyPartnerUserPlatformBindDO implements Serializable {
|
||||
@ApiModelProperty("")
|
||||
private Long id;
|
||||
|
||||
@ApiModelProperty("平台类型:wechat、douyin、weibo")
|
||||
private String platformType;
|
||||
|
||||
@ApiModelProperty("平台内用户标识")
|
||||
private String platformUserId;
|
||||
|
||||
@ApiModelProperty("绑定时间")
|
||||
private Date bindTime;
|
||||
|
||||
@ApiModelProperty("hy_partner_user_info.partner_id")
|
||||
private String partnerId;
|
||||
|
||||
@ApiModelProperty("创建时间")
|
||||
private Date createTime;
|
||||
|
||||
@ApiModelProperty("更新时间")
|
||||
private Date updateTime;
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
package com.cool.store.model.entity;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author zhangchenbiao
|
||||
* @date 2023-05-29 03:53
|
||||
*/
|
||||
@Data
|
||||
@Builder
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
public class HyWorkflowStageDO implements Serializable {
|
||||
@ApiModelProperty("")
|
||||
private Long id;
|
||||
|
||||
@ApiModelProperty("阶段code")
|
||||
private String stageCode;
|
||||
|
||||
@ApiModelProperty("阶段name")
|
||||
private String stageName;
|
||||
|
||||
@ApiModelProperty("阶段顺序")
|
||||
private Integer stageOrder;
|
||||
|
||||
@ApiModelProperty("创建时间")
|
||||
private Date createTime;
|
||||
|
||||
@ApiModelProperty("更新时间")
|
||||
private Date updateTime;
|
||||
}
|
||||
Reference in New Issue
Block a user