Commit ba9cdc9dc35464c1484119f131a5ce87061394b4

Authored by fengliang
1 parent a0cc8a1e

update:街道字段赋值

etrade-order/src/main/java/com/diligrp/etrade/order/api/OrderContactPersonController.java
@@ -5,10 +5,7 @@ import cn.hutool.core.lang.Assert; @@ -5,10 +5,7 @@ import cn.hutool.core.lang.Assert;
5 import com.diligrp.etrade.core.domain.Message; 5 import com.diligrp.etrade.core.domain.Message;
6 import com.diligrp.etrade.core.domain.PageMessage; 6 import com.diligrp.etrade.core.domain.PageMessage;
7 import com.diligrp.etrade.core.util.NameUtil; 7 import com.diligrp.etrade.core.util.NameUtil;
8 -import com.diligrp.etrade.order.domain.contactPerson.BaseRegionCo;  
9 -import com.diligrp.etrade.order.domain.contactPerson.BaseRegionNextVo;  
10 -import com.diligrp.etrade.order.domain.contactPerson.OrderContactPersonCo;  
11 -import com.diligrp.etrade.order.domain.contactPerson.OrderContactPersonListCo; 8 +import com.diligrp.etrade.order.domain.contactPerson.*;
12 import com.diligrp.etrade.order.service.BaseRegionService; 9 import com.diligrp.etrade.order.service.BaseRegionService;
13 import com.diligrp.etrade.order.service.OrderContactPersonService; 10 import com.diligrp.etrade.order.service.OrderContactPersonService;
14 import jakarta.annotation.Resource; 11 import jakarta.annotation.Resource;
@@ -77,7 +74,7 @@ public class OrderContactPersonController { @@ -77,7 +74,7 @@ public class OrderContactPersonController {
77 * 联系人列表 74 * 联系人列表
78 */ 75 */
79 @PostMapping(value = "/list") 76 @PostMapping(value = "/list")
80 - public PageMessage list(@RequestBody @Validated OrderContactPersonListCo co) { 77 + public PageMessage<OrderContactPersonListVo> list(@RequestBody @Validated OrderContactPersonListCo co) {
81 log.info("联系人列表查询 param={}", co); 78 log.info("联系人列表查询 param={}", co);
82 return orderContactPersonService.page(co); 79 return orderContactPersonService.page(co);
83 } 80 }
etrade-order/src/main/java/com/diligrp/etrade/order/domain/contactPerson/OrderContactPersonCo.java
@@ -214,6 +214,22 @@ public class OrderContactPersonCo extends BaseDo { @@ -214,6 +214,22 @@ public class OrderContactPersonCo extends BaseDo {
214 this.state = state; 214 this.state = state;
215 } 215 }
216 216
  217 + public Long getStreetId() {
  218 + return streetId;
  219 + }
  220 +
  221 + public void setStreetId(Long streetId) {
  222 + this.streetId = streetId;
  223 + }
  224 +
  225 + public String getStreetName() {
  226 + return streetName;
  227 + }
  228 +
  229 + public void setStreetName(String streetName) {
  230 + this.streetName = streetName;
  231 + }
  232 +
217 @Override 233 @Override
218 public String toString() { 234 public String toString() {
219 return "EcapContactPersonCo{" + 235 return "EcapContactPersonCo{" +