Commit ba9cdc9dc35464c1484119f131a5ce87061394b4
1 parent
a0cc8a1e
update:街道字段赋值
Showing
2 changed files
with
18 additions
and
5 deletions
etrade-order/src/main/java/com/diligrp/etrade/order/api/OrderContactPersonController.java
... | ... | @@ -5,10 +5,7 @@ import cn.hutool.core.lang.Assert; |
5 | 5 | import com.diligrp.etrade.core.domain.Message; |
6 | 6 | import com.diligrp.etrade.core.domain.PageMessage; |
7 | 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 | 9 | import com.diligrp.etrade.order.service.BaseRegionService; |
13 | 10 | import com.diligrp.etrade.order.service.OrderContactPersonService; |
14 | 11 | import jakarta.annotation.Resource; |
... | ... | @@ -77,7 +74,7 @@ public class OrderContactPersonController { |
77 | 74 | * 联系人列表 |
78 | 75 | */ |
79 | 76 | @PostMapping(value = "/list") |
80 | - public PageMessage list(@RequestBody @Validated OrderContactPersonListCo co) { | |
77 | + public PageMessage<OrderContactPersonListVo> list(@RequestBody @Validated OrderContactPersonListCo co) { | |
81 | 78 | log.info("联系人列表查询 param={}", co); |
82 | 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 | 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 | 233 | @Override |
218 | 234 | public String toString() { |
219 | 235 | return "EcapContactPersonCo{" + | ... | ... |