|
|
@@ -10,6 +10,7 @@ import com.dk.mdm.model.query.mst.StaffQuery;
|
|
|
import com.dk.common.model.response.mst.StaffResponse;
|
|
|
import com.dk.mdm.model.vo.mst.StaffVO;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
+import lombok.extern.slf4j.Slf4j;
|
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
@@ -29,6 +30,7 @@ import java.util.List;
|
|
|
@Api(tags = "员工API接口")
|
|
|
@RestController
|
|
|
@RequestMapping("/mst/staff")
|
|
|
+@Slf4j
|
|
|
public class StaffController {
|
|
|
|
|
|
public BaseService<Staff> getService() {
|
|
|
@@ -184,6 +186,7 @@ public class StaffController {
|
|
|
@PostMapping({"/feign_get_experience"})
|
|
|
ResponseResultVO<StaffResponse> getFeignExperience(@RequestBody StaffQuery staffQuery) {
|
|
|
ResponseResultVO<PageList<StaffResponse>> pageListResponseResultVO = staffService.selectByCond(staffQuery);
|
|
|
+ log.info("feign_get_experience" + pageListResponseResultVO.toString());
|
|
|
return ResponseResultUtil.success(pageListResponseResultVO.getData().getList().get(0));
|
|
|
}
|
|
|
|