|
@ -7,6 +7,7 @@ import org.dromara.system.api.RemotePostService; |
|
|
import org.dromara.system.api.domain.vo.RemotePostVo; |
|
|
import org.dromara.system.api.domain.vo.RemotePostVo; |
|
|
import org.dromara.system.domain.bo.SysPostBo; |
|
|
import org.dromara.system.domain.bo.SysPostBo; |
|
|
import org.dromara.system.domain.vo.SysPostVo; |
|
|
import org.dromara.system.domain.vo.SysPostVo; |
|
|
|
|
|
import org.dromara.system.service.IAiLabelService; |
|
|
import org.dromara.system.service.ISysPostService; |
|
|
import org.dromara.system.service.ISysPostService; |
|
|
|
|
|
|
|
|
import org.springframework.stereotype.Service; |
|
|
import org.springframework.stereotype.Service; |
|
@ -27,6 +28,8 @@ public class RemotePostServiceImpl implements RemotePostService { |
|
|
|
|
|
|
|
|
private final ISysPostService sysPostService; |
|
|
private final ISysPostService sysPostService; |
|
|
|
|
|
|
|
|
|
|
|
private final IAiLabelService aiLabelService; |
|
|
|
|
|
|
|
|
@Override |
|
|
@Override |
|
|
public List<RemotePostVo> listPost() { |
|
|
public List<RemotePostVo> listPost() { |
|
|
List<SysPostVo> sysPostVos = sysPostService.selectPostList(new SysPostBo()); |
|
|
List<SysPostVo> sysPostVos = sysPostService.selectPostList(new SysPostBo()); |
|
@ -46,4 +49,9 @@ public class RemotePostServiceImpl implements RemotePostService { |
|
|
public String getPostCode(String labelCode) { |
|
|
public String getPostCode(String labelCode) { |
|
|
return sysPostService.getPostCode(labelCode); |
|
|
return sysPostService.getPostCode(labelCode); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
|
public String getFlowCode(String labelCode) { |
|
|
|
|
|
return aiLabelService.getFlowCode(labelCode); |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|