待发展客户添加了红包金额字段,公众号菜单名称调整
This commit is contained in:
parent
e63478f19a
commit
3b07740dbb
|
|
@ -35,13 +35,14 @@
|
||||||
<result column="address" property="address" jdbcType="VARCHAR" />
|
<result column="address" property="address" jdbcType="VARCHAR" />
|
||||||
<result column="meeting_rule_id" property="meetingRuleId" jdbcType="VARCHAR" />
|
<result column="meeting_rule_id" property="meetingRuleId" jdbcType="VARCHAR" />
|
||||||
<result column="full_region_name" property="fullRegionName" jdbcType="VARCHAR" />
|
<result column="full_region_name" property="fullRegionName" jdbcType="VARCHAR" />
|
||||||
|
<result column="amount" property="amount" jdbcType="VARCHAR" />
|
||||||
</resultMap>
|
</resultMap>
|
||||||
|
|
||||||
<!-- 表查询字段 -->
|
<!-- 表查询字段 -->
|
||||||
<sql id="allColumns">
|
<sql id="allColumns">
|
||||||
a.id, a.client_no, a.client_name, a.dealer_id, a.staff_id, a.phone, a.status, a.stop_time, a.province_id,
|
a.id, a.client_no, a.client_name, a.dealer_id, a.staff_id, a.phone, a.status, a.stop_time, a.province_id,
|
||||||
a.city_id, a.region, a.grow_crops, a.grow_crops_name, a.plant_area, a.create_time, a.create_user, a.create_name,
|
a.city_id, a.region, a.grow_crops, a.grow_crops_name, a.plant_area, a.create_time, a.create_user, a.create_name,
|
||||||
a.demand_desc, a.company_id, a.longitude, a.latitude, a.address, a.meeting_rule_id
|
a.demand_desc, a.company_id, a.longitude, a.latitude, a.address, a.meeting_rule_id, a.amount
|
||||||
</sql>
|
</sql>
|
||||||
|
|
||||||
<!-- 根据条件参数查询待发展客户表列表 -->
|
<!-- 根据条件参数查询待发展客户表列表 -->
|
||||||
|
|
@ -104,7 +105,7 @@
|
||||||
INSERT INTO crm_potential_client (
|
INSERT INTO crm_potential_client (
|
||||||
id, client_no, client_name, dealer_id, staff_id, phone, status, province_id, city_id, region,
|
id, client_no, client_name, dealer_id, staff_id, phone, status, province_id, city_id, region,
|
||||||
grow_crops, grow_crops_name, plant_area, create_time, create_user, create_name, demand_desc,
|
grow_crops, grow_crops_name, plant_area, create_time, create_user, create_name, demand_desc,
|
||||||
company_id, longitude, latitude, address, meeting_rule_id
|
company_id, longitude, latitude, address, meeting_rule_id, amount
|
||||||
) VALUES (
|
) VALUES (
|
||||||
#{id,jdbcType=VARCHAR},
|
#{id,jdbcType=VARCHAR},
|
||||||
#{clientNo,jdbcType=VARCHAR},
|
#{clientNo,jdbcType=VARCHAR},
|
||||||
|
|
@ -127,7 +128,8 @@
|
||||||
#{longitude,jdbcType=VARCHAR},
|
#{longitude,jdbcType=VARCHAR},
|
||||||
#{latitude,jdbcType=VARCHAR},
|
#{latitude,jdbcType=VARCHAR},
|
||||||
#{address,jdbcType=VARCHAR},
|
#{address,jdbcType=VARCHAR},
|
||||||
#{meetingRuleId,jdbcType=VARCHAR}
|
#{meetingRuleId,jdbcType=VARCHAR},
|
||||||
|
#{amount,jdbcType=VARCHAR}
|
||||||
)
|
)
|
||||||
</insert>
|
</insert>
|
||||||
|
|
||||||
|
|
@ -189,6 +191,9 @@
|
||||||
<if test="address != null">
|
<if test="address != null">
|
||||||
address = #{address,jdbcType=VARCHAR},
|
address = #{address,jdbcType=VARCHAR},
|
||||||
</if>
|
</if>
|
||||||
|
<if test="amount != null">
|
||||||
|
amount = #{amount,jdbcType=VARCHAR},
|
||||||
|
</if>
|
||||||
</set>
|
</set>
|
||||||
WHERE id = #{id}
|
WHERE id = #{id}
|
||||||
</update>
|
</update>
|
||||||
|
|
|
||||||
|
|
@ -142,4 +142,8 @@ public class PotentialClient implements java.io.Serializable {
|
||||||
@ApiModelProperty(hidden = true)
|
@ApiModelProperty(hidden = true)
|
||||||
private String fullRegionName;
|
private String fullRegionName;
|
||||||
|
|
||||||
|
/** 红包金额 */
|
||||||
|
@ApiModelProperty(value = "红包金额")
|
||||||
|
private String amount;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
@ -123,6 +123,11 @@ public class PotentialClientService {
|
||||||
updateRule.setId(meetingRuleId);
|
updateRule.setId(meetingRuleId);
|
||||||
updateRule.setUsedNum(meetingRule.getUsedNum() + 1);
|
updateRule.setUsedNum(meetingRule.getUsedNum() + 1);
|
||||||
prizeMeetingRuleService.updateInfo(updateRule, ".updateCrmPrizeMeetingRule");
|
prizeMeetingRuleService.updateInfo(updateRule, ".updateCrmPrizeMeetingRule");
|
||||||
|
// 回写金额
|
||||||
|
Map<String, Object> params1 = new HashMap<>();
|
||||||
|
params1.put("id", uuid);
|
||||||
|
params1.put("amount", amount);
|
||||||
|
this.update(params1, ".updateCrmPotentialClient");
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -81,7 +81,7 @@ public class MenuManager {
|
||||||
btn22.put("url", "https://open.weixin.qq.com/connect/oauth2/authorize?appid=" + WXMPCMD.APPID + "&redirect_uri=" + url + "wechat/wxResponse.html?response_type=code&scope=snsapi_userinfo&state=path~personal");
|
btn22.put("url", "https://open.weixin.qq.com/connect/oauth2/authorize?appid=" + WXMPCMD.APPID + "&redirect_uri=" + url + "wechat/wxResponse.html?response_type=code&scope=snsapi_userinfo&state=path~personal");
|
||||||
|
|
||||||
Map btn23 = new HashMap<>();
|
Map btn23 = new HashMap<>();
|
||||||
btn23.put("name", "销售活动");
|
btn23.put("name", "促销活动");
|
||||||
btn23.put("type", "view");
|
btn23.put("type", "view");
|
||||||
btn23.put("url", "https://open.weixin.qq.com/connect/oauth2/authorize?appid=" + WXMPCMD.APPID + "&redirect_uri=" + url + "wechat/wxResponse.html?response_type=code&scope=snsapi_userinfo&state=path~saleroom");
|
btn23.put("url", "https://open.weixin.qq.com/connect/oauth2/authorize?appid=" + WXMPCMD.APPID + "&redirect_uri=" + url + "wechat/wxResponse.html?response_type=code&scope=snsapi_userinfo&state=path~saleroom");
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue