This commit is contained in:
linfso 2024-04-23 19:55:02 +08:00
parent 510207af41
commit eed2caa0ff

View File

@ -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));
}
/**
* 导出客户收寄件地址列表
*/