招商加盟,客服完善

This commit is contained in:
SjS 2025-04-15 09:13:38 +08:00
parent 1d9870ac6f
commit 3e66ad9d16
6 changed files with 12 additions and 2 deletions

View File

@ -37,6 +37,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<sql id="searchCondition"> <sql id="searchCondition">
<if test="query.id != null "> and bcs.id = #{query.id}</if> <if test="query.id != null "> and bcs.id = #{query.id}</if>
<if test="query.areaId != null "> and bcs.area_id = #{query.areaId}</if> <if test="query.areaId != null "> and bcs.area_id = #{query.areaId}</if>
<if test="query.storeId != null "> and bcs.store_id = #{query.storeId}</if>
<if test="query.name != null and query.name != ''"> and bcs.name like concat('%', #{query.name}, '%')</if> <if test="query.name != null and query.name != ''"> and bcs.name like concat('%', #{query.name}, '%')</if>
<if test="query.contact != null and query.contact != ''"> and bcs.contact like concat('%',#{query.contact},'%')</if> <if test="query.contact != null and query.contact != ''"> and bcs.contact like concat('%',#{query.contact},'%')</if>
<if test="query.startTime != null "> and bcs.start_time = #{query.startTime}</if> <if test="query.startTime != null "> and bcs.start_time = #{query.startTime}</if>

View File

@ -43,6 +43,10 @@ public class MchApply extends BaseEntity
@ApiModelProperty("详细信息") @ApiModelProperty("详细信息")
private String content; private String content;
@Excel(name = "意向城市")
@ApiModelProperty("意向城市")
private String city;
@Excel(name = "反馈信息", readConverterExp = "对=外") @Excel(name = "反馈信息", readConverterExp = "对=外")
@ApiModelProperty("反馈信息") @ApiModelProperty("反馈信息")
private String callback; private String callback;

View File

@ -11,6 +11,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="name" column="name" /> <result property="name" column="name" />
<result property="mobile" column="mobile" /> <result property="mobile" column="mobile" />
<result property="content" column="content" /> <result property="content" column="content" />
<result property="city" column="city" />
<result property="remark" column="remark" /> <result property="remark" column="remark" />
<result property="callback" column="callback" /> <result property="callback" column="callback" />
<result property="verifyBy" column="verify_by" /> <result property="verifyBy" column="verify_by" />
@ -33,6 +34,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
bma.mobile, bma.mobile,
bma.content, bma.content,
bma.remark, bma.remark,
bma.city,
bma.callback, bma.callback,
bma.verify_by, bma.verify_by,
bma.verify_time, bma.verify_time,
@ -97,6 +99,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="name != null and name != ''">name,</if> <if test="name != null and name != ''">name,</if>
<if test="mobile != null and mobile != ''">mobile,</if> <if test="mobile != null and mobile != ''">mobile,</if>
<if test="content != null and content != ''">content,</if> <if test="content != null and content != ''">content,</if>
<if test="city != null and city != ''">city,</if>
<if test="remark != null">remark,</if> <if test="remark != null">remark,</if>
<if test="callback != null">callback,</if> <if test="callback != null">callback,</if>
<if test="verifyBy != null">verify_by,</if> <if test="verifyBy != null">verify_by,</if>
@ -115,6 +118,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="name != null and name != ''">#{name},</if> <if test="name != null and name != ''">#{name},</if>
<if test="mobile != null and mobile != ''">#{mobile},</if> <if test="mobile != null and mobile != ''">#{mobile},</if>
<if test="content != null and content != ''">#{content},</if> <if test="content != null and content != ''">#{content},</if>
<if test="city != null and city != ''">#{city},</if>
<if test="remark != null">#{remark},</if> <if test="remark != null">#{remark},</if>
<if test="callback != null">#{callback},</if> <if test="callback != null">#{callback},</if>
<if test="verifyBy != null">#{verifyBy},</if> <if test="verifyBy != null">#{verifyBy},</if>

View File

@ -28,7 +28,6 @@ public class AppMchApply extends BaseController {
@PostMapping @PostMapping
public AjaxResult add(@RequestBody MchApplyVO mchApply) { public AjaxResult add(@RequestBody MchApplyVO mchApply) {
mchApply.setUserId(getUserId()); mchApply.setUserId(getUserId());
mchApply.setName(getUsername());
return success(mchApplyService.insertMchApply(mchApply)); return success(mchApplyService.insertMchApply(mchApply));
} }

View File

@ -55,8 +55,9 @@ public class AdController extends BaseController
{ {
startPage(); startPage();
startOrderBy(); startOrderBy();
query.setScope(true);
query.setDeleted(false); query.setDeleted(false);
query.setUserId(getUserId());
query.setScope(true);
return getDataTable(adService.selectAdList(query)); return getDataTable(adService.selectAdList(query));
} }

View File

@ -53,6 +53,7 @@ public class CustomerServiceController extends BaseController
{ {
startPage(); startPage();
startOrderBy(); startOrderBy();
query.setStoreId(getUserId());
query.setScope(true); query.setScope(true);
List<CustomerServiceVO> list = customerServiceService.selectCustomerServiceList(query); List<CustomerServiceVO> list = customerServiceService.selectCustomerServiceList(query);
return getDataTable(list); return getDataTable(list);