lidongdong
2023-10-20 6e6d59978da38f1b933bffbfa3e6518d3d2d8d0f
修改商家服务
3个文件已修改
88 ■■■■■ 已修改文件
springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/convenient/JinhuiConvenientMerchantVO.java 26 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
springcloud_k8s_panzhihuazhihuishequ/service_jinhui_community/src/main/java/com/panzhihua/service_jinhui_community/entity/JinhuiConvenientMerchant.java 15 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
springcloud_k8s_panzhihuazhihuishequ/service_jinhui_community/src/main/resources/mapper/JinhuiComConvenientMerchantsMapper.xml 47 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/convenient/JinhuiConvenientMerchantVO.java
@@ -36,9 +36,6 @@
    @ApiModelProperty("联系人")
    private String contacts;
    @ApiModelProperty("负责人身份证号码")
    private String idCard;
    @ApiModelProperty("咨询电话")
    private String phone;
@@ -68,23 +65,6 @@
    @ApiModelProperty("营业状态")
    private Integer businessStatus;
    @ApiModelProperty("总咨询量")
    private Integer consultationVolume;
    @ApiModelProperty("月咨询量")
    private Integer monthConsultationVolume;
    @ApiModelProperty("日咨询量")
    private Integer dayConsultationVolume;
    @ApiModelProperty("总浏览量")
    private Integer viewNum;
    @ApiModelProperty("月浏览量")
    private Integer monthViewNum;
    @ApiModelProperty("日总浏览量")
    private Integer dayViewNum;
    @ApiModelProperty("商家绑定账户")
    private String account;
@@ -98,8 +78,6 @@
    @ApiModelProperty("所属社区名称")
    private String communityName;
    @ApiModelProperty("服务范围,多个服务类型','拼接")
    private String serviceScope;
    @ApiModelProperty("服务类型id列表")
    private List<String> serviceIds;
@@ -107,11 +85,7 @@
    @ApiModelProperty("该商家存有商品,最多返回两条")
    private List<ConvenientProductVO> productVOList;
    @ApiModelProperty("服务范围")
    private Integer serviceRange;
    @ApiModelProperty("手机号")
    private String mobilePhone;
    @ApiModelProperty("店铺销量")
    private Integer sale;
springcloud_k8s_panzhihuazhihuishequ/service_jinhui_community/src/main/java/com/panzhihua/service_jinhui_community/entity/JinhuiConvenientMerchant.java
@@ -46,10 +46,6 @@
     */
    private String contacts;
    /**
     * 身份证号码
     */
    private String idCard;
    /**
     * 咨询电话
     */
    private String phone;
@@ -126,17 +122,6 @@
     */
    private Long updatedBy;
    private String areaCode;
    /**
     * 服务范围
     */
    private Integer serviceRange;
    /**
     * 手机号
     */
    private String mobilePhone;
    /**
     * 店铺销量
springcloud_k8s_panzhihuazhihuishequ/service_jinhui_community/src/main/resources/mapper/JinhuiComConvenientMerchantsMapper.xml
@@ -10,7 +10,6 @@
        <id column="community_name" property="communityName" />
        <id column="logo" property="logo" />
        <id column="contacts" property="contacts" />
        <id column="id_card" property="idCard" />
        <id column="phone" property="phone" />
        <id column="address" property="address" />
        <id column="address" property="address" />
@@ -30,18 +29,15 @@
        <id column="created_by" property="createdBy" />
        <id column="updated_at" property="updatedAt" />
        <id column="updated_by" property="updatedBy" />
        <id column="area_code" property="areaCode" />
        <id column="service_range" property="serviceRange" />
        <id column="mobile_phone" property="mobilePhone" />
        <id column="audit_type" property="auditType" />
        <id column="audit_opinion" property="auditOpinion" />
    </resultMap>
    <!-- 通用查询结果列 -->
    <sql id="Base_Column_List">
        id,`name`,community_id,community_name,logo,contacts,id_card,phone,address,lat,lon,begin_at,end_at,
        id,`name`,community_id,community_name,logo,contacts,phone,address,lat,lon,begin_at,end_at,
        period,introduction,business_status,user_id,consultation_volume,is_del,created_at,created_by,updated_at,
        updated_by,area_code,service_range,mobile_phone,detailed_address
        updated_by,detailed_address
    </sql>
    <select id="pageMerchant" resultType="com.panzhihua.common.model.vos.community.convenient.JinhuiConvenientMerchantVO">
        SELECT ccm.*, su.account, su.status AS accountStatus
@@ -53,9 +49,6 @@
        </if>
        <if test="item.communityId != null and item.communityId != 0">
            AND ccm.community_id = ${item.communityId}
        </if>
        <if test="item.areaCode != null and item.areaCode != ''">
            AND ccm.area_code = ${item.areaCode}
        </if>
        <if test="item.businessStatus != null">
            AND ccm.business_status = #{item.businessStatus}
@@ -102,9 +95,6 @@
            </if>
            <if test="item.contacts != null and item.contacts != '' ">
                contacts,
            </if>
            <if test="item.idCard != null and item.idCard != '' ">
                id_card,
            </if>
            <if test="item.phone != null and item.phone != '' ">
                phone,
@@ -154,15 +144,6 @@
            <if test="item.updatedBy != null and item.updatedBy != '' ">
                updated_by,
            </if>
            <if test="item.areaCode != null and item.areaCode != '' ">
                area_code,
            </if>
            <if test="item.mobilePhone != null and item.mobilePhone != '' ">
                mobile_phone,
            </if>
            <if test="item.serviceRange != null and item.serviceRange != '' ">
                service_range,
            </if>
            <if test="item.sale != null and item.sale != '' ">
                sale,
            </if>
@@ -196,9 +177,6 @@
            </if>
            <if test="item.contacts != null and item.contacts != '' ">
                #{item.contacts},
            </if>
            <if test="item.idCard != null and item.idCard != '' ">
                #{item.idCard},
            </if>
            <if test="item.phone != null and item.phone != '' ">
                #{item.phone},
@@ -248,15 +226,6 @@
            <if test="item.updatedBy != null and item.updatedBy != '' ">
                #{item.updatedBy},
            </if>
            <if test="item.areaCode != null and item.areaCode != '' ">
                #{item.areaCode},
            </if>
            <if test="item.mobilePhone != null and item.mobilePhone != '' ">
                #{item.mobilePhone},
            </if>
            <if test="item.serviceRange != null and item.serviceRange != '' ">
                #{item.serviceRange},
            </if>
            <if test="item.sale != null and item.sale != '' ">
                #{item.sale},
            </if>
@@ -293,9 +262,6 @@
            </if>
            <if test="item.contacts != null and item.contacts != '' ">
                contacts=#{item.contacts},
            </if>
            <if test="item.idCard != null and item.idCard != '' ">
                id_card=#{item.idCard},
            </if>
            <if test="item.phone != null and item.phone != '' ">
                phone=#{item.phone},
@@ -344,15 +310,6 @@
            </if>
            <if test="item.updatedBy != null and item.updatedBy != '' ">
                updated_by=#{item.updatedBy},
            </if>
            <if test="item.areaCode != null and item.areaCode != '' ">
                area_code=#{item.areaCode},
            </if>
            <if test="item.mobilePhone != null and item.mobilePhone != '' ">
                mobile_phone=#{item.mobilePhone},
            </if>
            <if test="item.serviceRange != null and item.serviceRange != '' ">
                service_range=#{item.serviceRange},
            </if>
            <if test="item.sale != null and item.sale != '' ">
                sale=#{item.sale},