feat(支持与O2系统进行数据同步): 支持地址字段同步

main v1.0.0
zk 2 weeks ago
parent ad298e6cc2
commit c6d32fdfe1

@ -35,6 +35,9 @@ public class OpenController {
if (Objects.nonNull(obj.get("phone"))) {
customerReq.setContactPhone(obj.get("phone").toString());
}
if (Objects.nonNull(obj.get("address"))) {
customerReq.setAddress(obj.get("address").toString());
}
customerReq.setStatus(1);
customerReq.setIsAuto(true);
customerReq.setSettlementCurrency("CNY");

@ -34,6 +34,10 @@ public class AysnCustomer {
*
*/
private String remark;
/**
*
*/
private String address;
/**
* ()
*/

@ -80,6 +80,7 @@ public class CustomerServiceImpl implements CustomerService {
customer.setName(req.getCustomerName());
customer.setPhone(req.getContactPhone());
customer.setRemark(req.getRemarks());
customer.setAddress(req.getAddress());
// customer.setCreateTime(crmCustomer.getCreateTime().getTime());
Map<String, Object> toMap = BeanUtil.beanToMap(customer, false, true);
long timestamp = System.currentTimeMillis();

@ -1,8 +1,8 @@
spring:
profiles:
active: local # test 本地
# active: local # test 本地
# active: dev # test 测试
# active: pro # pro 生产
active: pro # pro 生产
# 通用配置
servlet:

Loading…
Cancel
Save