feat:[REQ-3282] 合并代码
This commit is contained in:
parent
dd624aca0d
commit
1b6806f1bf
@ -23,9 +23,19 @@ import org.springframework.web.bind.annotation.RequestBody;
|
|||||||
url = "${axzo.service.orgmanax:http://orgmanax:8080}")
|
url = "${axzo.service.orgmanax:http://orgmanax:8080}")
|
||||||
public interface OrgUnitApi {
|
public interface OrgUnitApi {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建单位
|
||||||
|
* @param req
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
@PostMapping("/api/org/unit/create")
|
@PostMapping("/api/org/unit/create")
|
||||||
ApiResult<CreateUnitResp> create(@RequestBody @Validated CreateUnitReq req);
|
ApiResult<CreateUnitResp> create(@RequestBody @Validated CreateUnitReq req);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 更新单位
|
||||||
|
* @param req
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
@PostMapping("/api/org/unit/update")
|
@PostMapping("/api/org/unit/update")
|
||||||
ApiResult<UpdateUnitResp> update(@RequestBody @Validated UpdateUnitReq req);
|
ApiResult<UpdateUnitResp> update(@RequestBody @Validated UpdateUnitReq req);
|
||||||
|
|
||||||
|
|||||||
@ -0,0 +1,12 @@
|
|||||||
|
package cn.axzo.orgmanax.server.unit.service.impl;
|
||||||
|
|
||||||
|
import cn.axzo.orgmanax.server.unit.service.UnitService;
|
||||||
|
import lombok.RequiredArgsConstructor;
|
||||||
|
import lombok.extern.slf4j.Slf4j;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
@Slf4j
|
||||||
|
@RequiredArgsConstructor
|
||||||
|
@Service
|
||||||
|
public class UnitServiceImpl implements UnitService {
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue
Block a user