Commit 6fe80807 by 水库浪子

修改客户画像相关BUG

1 parent 4a23f9f3
...@@ -163,7 +163,7 @@ public class Constants ...@@ -163,7 +163,7 @@ public class Constants
public static final String DEFAULT_WECOME_CORP_ADMIN="CROP_ADMIN_ROLE"; public static final String DEFAULT_WECOME_CORP_ADMIN="CROP_ADMIN_ROLE";
/**完成待办*/ /**完成待办*/
public static final String HANDLE_SUCCESS="1"; public static final String HANDLE_SUCCESS="3";
......
...@@ -24,6 +24,8 @@ public class ResourcesConfig implements WebMvcConfigurer ...@@ -24,6 +24,8 @@ public class ResourcesConfig implements WebMvcConfigurer
@Autowired @Autowired
private RepeatSubmitInterceptor repeatSubmitInterceptor; private RepeatSubmitInterceptor repeatSubmitInterceptor;
@Override @Override
public void addResourceHandlers(ResourceHandlerRegistry registry) public void addResourceHandlers(ResourceHandlerRegistry registry)
{ {
...@@ -66,4 +68,5 @@ public class ResourcesConfig implements WebMvcConfigurer ...@@ -66,4 +68,5 @@ public class ResourcesConfig implements WebMvcConfigurer
} }
\ No newline at end of file \ No newline at end of file
package com.linkwechat.wecom.domain; package com.linkwechat.wecom.domain;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data; import lombok.Data;
import java.util.Date; import java.util.Date;
...@@ -27,6 +28,7 @@ public class WeCustomerPortrait { ...@@ -27,6 +28,7 @@ public class WeCustomerPortrait {
//备注客户手机号 //备注客户手机号
private String remarkMobiles; private String remarkMobiles;
//客户生日 //客户生日
@JsonFormat(pattern="yyyy-MM-dd")
private Date birthday; private Date birthday;
//邮箱 //邮箱
private String email; private String email;
......
...@@ -318,7 +318,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" ...@@ -318,7 +318,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
wfcr.description, wfcr.description,
wfcr.id as flowerCustomerRelId, wfcr.id as flowerCustomerRelId,
wfcr.user_id, wfcr.user_id,
wc.avatar wc.avatar,
wfcr.external_userid,
wc.gender
FROM FROM
we_customer wc we_customer wc
LEFT JOIN we_flower_customer_rel wfcr on wc.external_userid=wfcr.external_userid LEFT JOIN we_flower_customer_rel wfcr on wc.external_userid=wfcr.external_userid
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!