|
|
|
@ -4,7 +4,6 @@ import cn.hutool.core.date.DateUtil;
|
|
|
|
|
import cn.hutool.core.util.ObjUtil;
|
|
|
|
|
import cn.hutool.core.util.StrUtil;
|
|
|
|
|
import com.alibaba.fastjson.JSONObject;
|
|
|
|
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
|
|
|
|
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
|
|
|
|
|
import com.dsic.gj_erp.annotation.AuthFunction;
|
|
|
|
|
import com.dsic.gj_erp.bean.ResultBean;
|
|
|
|
@ -26,9 +25,7 @@ import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
|
|
|
|
import javax.servlet.http.HttpServletRequest;
|
|
|
|
|
import java.lang.reflect.Field;
|
|
|
|
|
import java.util.HashMap;
|
|
|
|
|
import java.util.List;
|
|
|
|
|
import java.util.Map;
|
|
|
|
|
|
|
|
|
|
@RestController
|
|
|
|
|
@RequestMapping("zyjh")
|
|
|
|
@ -216,7 +213,7 @@ public class ZyjhController {
|
|
|
|
|
.le(DmYdjh::getSljhrq, date)
|
|
|
|
|
.eq(StrUtil.isNotEmpty(search.getZt()),DmYdjh::getZt, search.getZt())
|
|
|
|
|
.eq(StrUtil.isNotEmpty(search.getDcch()),DmYdjh::getDcCh, search.getDcch())
|
|
|
|
|
.eq(StrUtil.isNotEmpty(search.getPl()),DmYdjh::getDcPl, search.getPl())
|
|
|
|
|
.eq(StrUtil.isNotEmpty(search.getDcPl()),DmYdjh::getDcPl, search.getDcPl())
|
|
|
|
|
.eq(StrUtil.isNotEmpty(search.getKw()),DmYdjh::getKw, search.getKw())
|
|
|
|
|
);
|
|
|
|
|
return new ResultBean<>(list);
|
|
|
|
@ -246,7 +243,10 @@ public class ZyjhController {
|
|
|
|
|
return new ResultBean<>(ycldwService.ycldwList(type));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@GetMapping("dw")
|
|
|
|
|
public ResultBean<?> dw(String type){
|
|
|
|
|
return new ResultBean<>(ycldwService.list(Wrappers.<Ycldw>lambdaQuery().eq(Ycldw::getType,type)));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|