Commit 559bb92b by ThomasAdv

客户旅程返回跟进人信息手机号模糊查询;addWay int->string

1 parent 7c01addf
...@@ -160,7 +160,7 @@ public class Car implements Serializable { ...@@ -160,7 +160,7 @@ public class Car implements Serializable {
* 来源 * 来源
*/ */
@Column(name = "add_way") @Column(name = "add_way")
private Integer addWay; private String addWay;
/** /**
* 创建人 * 创建人
......
...@@ -135,7 +135,7 @@ public class CarMaintenanceInsurance implements Serializable { ...@@ -135,7 +135,7 @@ public class CarMaintenanceInsurance implements Serializable {
* 来源 * 来源
*/ */
@Column(name = "add_way") @Column(name = "add_way")
private Integer addWay; private String addWay;
/** /**
* 创建人 * 创建人
......
...@@ -167,7 +167,7 @@ public class Customer implements Serializable { ...@@ -167,7 +167,7 @@ public class Customer implements Serializable {
* 来源 * 来源
*/ */
@Column(name = "add_way") @Column(name = "add_way")
private Integer addWay; private String addWay;
/** /**
* 创建人 * 创建人
......
...@@ -73,7 +73,7 @@ public class CustomerEvent implements Serializable { ...@@ -73,7 +73,7 @@ public class CustomerEvent implements Serializable {
* 来源 * 来源
*/ */
@Column(name = "add_way") @Column(name = "add_way")
private Integer addWay; private String addWay;
/** /**
* 创建人 * 创建人
......
...@@ -93,7 +93,7 @@ public class CustomerSopJourney implements Serializable { ...@@ -93,7 +93,7 @@ public class CustomerSopJourney implements Serializable {
* 来源 * 来源
*/ */
@Column(name = "add_way") @Column(name = "add_way")
private Integer addWay; private String addWay;
/** /**
* 创建人 * 创建人
......
...@@ -44,6 +44,9 @@ public class CustomerSopJourneySearch implements Serializable { ...@@ -44,6 +44,9 @@ public class CustomerSopJourneySearch implements Serializable {
@Schema(description = "客户旅程跟进人id列表") @Schema(description = "客户旅程跟进人id列表")
private List<String> sopFollowUpPersonIds; private List<String> sopFollowUpPersonIds;
@Schema(description = "客户旅程跟进人手机号")
private String sopFollowUpPersonPhone;
@Schema(description = "进入sop旅程时间-开始") @Schema(description = "进入sop旅程时间-开始")
private String sopJourneyEnterTimeBegin; private String sopJourneyEnterTimeBegin;
......
...@@ -10,7 +10,6 @@ import org.springframework.context.annotation.Configuration; ...@@ -10,7 +10,6 @@ import org.springframework.context.annotation.Configuration;
@Configuration @Configuration
public class RabbitMQConfig { public class RabbitMQConfig {
//TODO q2移除
public static final String DATA_REPORT_QUEUE_NAME = "dataReport_queue"; public static final String DATA_REPORT_QUEUE_NAME = "dataReport_queue";
public static final String DATA_REPORT_EXCHANGE_NAME = "dataReport_exchange"; public static final String DATA_REPORT_EXCHANGE_NAME = "dataReport_exchange";
public static final String DATA_REPORT_TOPIC = "dataReport.#"; public static final String DATA_REPORT_TOPIC = "dataReport.#";
......
...@@ -72,9 +72,8 @@ public class DataReportRabbitMQConsumer { ...@@ -72,9 +72,8 @@ public class DataReportRabbitMQConsumer {
List<JSONObject> jsonDatas = JSONArray.parseArray(jsonDataStr, JSONObject.class); List<JSONObject> jsonDatas = JSONArray.parseArray(jsonDataStr, JSONObject.class);
for (JSONObject jsonData : jsonDatas) { for (JSONObject jsonData : jsonDatas) {
Integer orgId = jsonData.getInteger(ModelFieldConstants.ORGID); Integer orgId = jsonData.getInteger(ModelFieldConstants.ORGID);
Integer addWay = jsonData.getInteger(ModelFieldConstants.ADD_WAY); String addWay = jsonData.getString(ModelFieldConstants.ADD_WAY);
//TODO addWay改造 if (orgId != null && StringUtils.isNotBlank(addWay)){
if (orgId != null) {
List<ModelDTO> matchModels = matchModel(jsonData); List<ModelDTO> matchModels = matchModel(jsonData);
Map<OneIdBelongEnum, String> oneIdMap = thiz.getOneId(matchModels, jsonData); Map<OneIdBelongEnum, String> oneIdMap = thiz.getOneId(matchModels, jsonData);
List<ModelDTO> valueModels = compileModelFieldsValue(matchModels, jsonData, oneIdMap); List<ModelDTO> valueModels = compileModelFieldsValue(matchModels, jsonData, oneIdMap);
......
...@@ -86,8 +86,6 @@ public class UserDemoService { ...@@ -86,8 +86,6 @@ public class UserDemoService {
public int editUser(User user) { public int editUser(User user) {
String password = user.getPassword(); String password = user.getPassword();
//todo 更新入库
return 0; return 0;
} }
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
<result column="car_average_maintenance_day" jdbcType="VARCHAR" property="carAverageMaintenanceDay" /> <result column="car_average_maintenance_day" jdbcType="VARCHAR" property="carAverageMaintenanceDay" />
<result column="car_sold_by_company" jdbcType="VARCHAR" property="carSoldByCompany" /> <result column="car_sold_by_company" jdbcType="VARCHAR" property="carSoldByCompany" />
<result column="ex_json" jdbcType="LONGVARCHAR" property="exJson" /> <result column="ex_json" jdbcType="LONGVARCHAR" property="exJson" />
<result column="add_way" jdbcType="INTEGER" property="addWay" /> <result column="add_way" jdbcType="VARCHAR" property="addWay" />
<result column="created_by" jdbcType="VARCHAR" property="createdBy" /> <result column="created_by" jdbcType="VARCHAR" property="createdBy" />
<result column="created_time" jdbcType="TIMESTAMP" property="createdTime" /> <result column="created_time" jdbcType="TIMESTAMP" property="createdTime" />
<result column="updated_by" jdbcType="VARCHAR" property="updatedBy" /> <result column="updated_by" jdbcType="VARCHAR" property="updatedBy" />
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
<result column="car_mileage" jdbcType="VARCHAR" property="carMileage" /> <result column="car_mileage" jdbcType="VARCHAR" property="carMileage" />
<result column="car_average_daily_mileage" jdbcType="VARCHAR" property="carAverageDailyMileage" /> <result column="car_average_daily_mileage" jdbcType="VARCHAR" property="carAverageDailyMileage" />
<result column="ex_json" jdbcType="LONGVARCHAR" property="exJson" /> <result column="ex_json" jdbcType="LONGVARCHAR" property="exJson" />
<result column="add_way" jdbcType="INTEGER" property="addWay" /> <result column="add_way" jdbcType="VARCHAR" property="addWay" />
<result column="created_by" jdbcType="VARCHAR" property="createdBy" /> <result column="created_by" jdbcType="VARCHAR" property="createdBy" />
<result column="created_time" jdbcType="TIMESTAMP" property="createdTime" /> <result column="created_time" jdbcType="TIMESTAMP" property="createdTime" />
<result column="updated_by" jdbcType="VARCHAR" property="updatedBy" /> <result column="updated_by" jdbcType="VARCHAR" property="updatedBy" />
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
<result column="platform" jdbcType="CHAR" property="platform" /> <result column="platform" jdbcType="CHAR" property="platform" />
<result column="extra" jdbcType="VARCHAR" property="extra" /> <result column="extra" jdbcType="VARCHAR" property="extra" />
<result column="ex_json" jdbcType="LONGVARCHAR" property="exJson" /> <result column="ex_json" jdbcType="LONGVARCHAR" property="exJson" />
<result column="add_way" jdbcType="INTEGER" property="addWay" /> <result column="add_way" jdbcType="VARCHAR" property="addWay" />
<result column="created_by" jdbcType="VARCHAR" property="createdBy" /> <result column="created_by" jdbcType="VARCHAR" property="createdBy" />
<result column="created_time" jdbcType="TIMESTAMP" property="createdTime" /> <result column="created_time" jdbcType="TIMESTAMP" property="createdTime" />
<result column="updated_by" jdbcType="VARCHAR" property="updatedBy" /> <result column="updated_by" jdbcType="VARCHAR" property="updatedBy" />
......
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
<result column="customer_company" jdbcType="VARCHAR" property="customerCompany" /> <result column="customer_company" jdbcType="VARCHAR" property="customerCompany" />
<result column="education_level" jdbcType="CHAR" property="educationLevel" /> <result column="education_level" jdbcType="CHAR" property="educationLevel" />
<result column="notes" jdbcType="VARCHAR" property="notes" /> <result column="notes" jdbcType="VARCHAR" property="notes" />
<result column="add_way" jdbcType="INTEGER" property="addWay" /> <result column="add_way" jdbcType="VARCHAR" property="addWay" />
<result column="ex_json" jdbcType="LONGVARCHAR" property="exJson" /> <result column="ex_json" jdbcType="LONGVARCHAR" property="exJson" />
<result column="created_by" jdbcType="VARCHAR" property="createdBy" /> <result column="created_by" jdbcType="VARCHAR" property="createdBy" />
<result column="created_time" jdbcType="TIMESTAMP" property="createdTime" /> <result column="created_time" jdbcType="TIMESTAMP" property="createdTime" />
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
<result column="sop_follow_up_person_aiSpeech" jdbcType="VARCHAR" property="sopFollowUpPersonAiSpeech" /> <result column="sop_follow_up_person_aiSpeech" jdbcType="VARCHAR" property="sopFollowUpPersonAiSpeech" />
<result column="sop_follow_up_person_sms" jdbcType="VARCHAR" property="sopFollowUpPersonSms" /> <result column="sop_follow_up_person_sms" jdbcType="VARCHAR" property="sopFollowUpPersonSms" />
<result column="ex_json" jdbcType="LONGVARCHAR" property="exJson" /> <result column="ex_json" jdbcType="LONGVARCHAR" property="exJson" />
<result column="add_way" jdbcType="INTEGER" property="addWay" /> <result column="add_way" jdbcType="VARCHAR" property="addWay" />
<result column="created_by" jdbcType="VARCHAR" property="createdBy" /> <result column="created_by" jdbcType="VARCHAR" property="createdBy" />
<result column="created_time" jdbcType="TIMESTAMP" property="createdTime" /> <result column="created_time" jdbcType="TIMESTAMP" property="createdTime" />
<result column="updated_by" jdbcType="VARCHAR" property="updatedBy" /> <result column="updated_by" jdbcType="VARCHAR" property="updatedBy" />
...@@ -131,6 +131,9 @@ ...@@ -131,6 +131,9 @@
#{item} #{item}
</foreach> </foreach>
</if> </if>
<if test="sopFollowUpPersonPhone != null and sopFollowUpPersonPhone != ''">
and csj.sop_follow_up_person_phone like CONCAT('%', #{sopFollowUpPersonPhone},'%')
</if>
<if test="sopJourneyEnterTimeBegin != null and sopJourneyEnterTimeBegin != ''"> <if test="sopJourneyEnterTimeBegin != null and sopJourneyEnterTimeBegin != ''">
and csj.sop_journey_enter_time &gt;= #{sopJourneyEnterTimeBegin} and csj.sop_journey_enter_time &gt;= #{sopJourneyEnterTimeBegin}
</if> </if>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!