|
|
|
@ -5,9 +5,12 @@ import com.baomidou.mybatisplus.core.toolkit.Wrappers;
|
|
|
|
|
import com.dsic.gj_erp.bean.ResultBean;
|
|
|
|
|
import com.dsic.gj_erp.bean.jhgk.DmYdjh;
|
|
|
|
|
import com.dsic.gj_erp.bean.jhgk.DmYdjhLj;
|
|
|
|
|
import com.dsic.gj_erp.bean.zyjh.DmYppyz;
|
|
|
|
|
import com.dsic.gj_erp.service.jcsj.impl.DmDwxxpService;
|
|
|
|
|
import com.dsic.gj_erp.service.jhgk.DmYdjhLjService;
|
|
|
|
|
import com.dsic.gj_erp.service.jhgk.DmYdjhService;
|
|
|
|
|
import com.dsic.gj_erp.service.zyjh.DmYppyzService;
|
|
|
|
|
import com.dsic.gj_erp.service.zyjh.ZyjhService;
|
|
|
|
|
import lombok.AllArgsConstructor;
|
|
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
|
|
|
@ -18,10 +21,15 @@ import java.util.List;
|
|
|
|
|
@AllArgsConstructor
|
|
|
|
|
public class GetXXXController {
|
|
|
|
|
|
|
|
|
|
private final ZyjhService zyjhService;
|
|
|
|
|
private final DmDwxxpService dmDwxxpService;
|
|
|
|
|
private final DmYdjhService dmYdjhService;
|
|
|
|
|
private final DmYdjhLjService ydjhLjService;
|
|
|
|
|
|
|
|
|
|
@GetMapping("getYppyz")
|
|
|
|
|
public ResultBean<?> getYppyz(String zyq){
|
|
|
|
|
return new ResultBean<>(zyjhService.getWppljAndPpyz(zyq));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@PostMapping("getYdjhlj")
|
|
|
|
|
public ResultBean<?> getYdjhlj(@RequestBody DmYdjhLj lj){
|
|
|
|
|
List<DmYdjhLj> list = ydjhLjService.list(Wrappers.<DmYdjhLj>lambdaQuery()
|
|
|
|
@ -33,7 +41,6 @@ public class GetXXXController {
|
|
|
|
|
|
|
|
|
|
@GetMapping("tq")
|
|
|
|
|
public ResultBean<?> tqFromYdjh(){
|
|
|
|
|
|
|
|
|
|
return new ResultBean<>(dmDwxxpService.getDwxxForSelect());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|