From eed2caa0ff5207d7822f1bf473cb3320886b8a49 Mon Sep 17 00:00:00 2001 From: linfso Date: Tue, 23 Apr 2024 19:55:02 +0800 Subject: [PATCH] md --- .../web/emis/EmisCustomerAddressController.java | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/emis-biz-web/src/main/java/com/xdadan/erp/web/emis/EmisCustomerAddressController.java b/emis-biz-web/src/main/java/com/xdadan/erp/web/emis/EmisCustomerAddressController.java index 7ce603d4d..323d8820b 100644 --- a/emis-biz-web/src/main/java/com/xdadan/erp/web/emis/EmisCustomerAddressController.java +++ b/emis-biz-web/src/main/java/com/xdadan/erp/web/emis/EmisCustomerAddressController.java @@ -19,14 +19,7 @@ import com.xdadan.erp.common.core.domain.entity.SysUser; import org.apache.commons.lang3.StringUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.security.access.prepost.PreAuthorize; -import org.springframework.web.bind.annotation.GetMapping; -import org.springframework.web.bind.annotation.PostMapping; -import org.springframework.web.bind.annotation.PutMapping; -import org.springframework.web.bind.annotation.DeleteMapping; -import org.springframework.web.bind.annotation.PathVariable; -import org.springframework.web.bind.annotation.RequestBody; -import org.springframework.web.bind.annotation.RequestMapping; -import org.springframework.web.bind.annotation.RestController; +import org.springframework.web.bind.annotation.*; import com.xdadan.erp.common.annotation.Log; import com.xdadan.erp.common.core.controller.BaseController; @@ -79,6 +72,14 @@ public class EmisCustomerAddressController extends BaseController return getDataTable(list); } + + @JacksonFilter(include= {"id","name","phone","country","province","city","district","countryName","provinceName","cityName","countyName","address","postCode","email","company","blDefaultFlag","orderNum","createTime","remark"},value= EmisCustomerAddress.class,type= JacksonFilter.JscksonFilterType.RESPONSE) + @RequestMapping("/getAddressById") + public AjaxResult getAddressById(@RequestParam("id") Long id) + { + return AjaxResult.success(emisCustomerAddressService.selectEmisCustomerAddressById(id)); + } + /** * 导出客户收寄件地址列表 */