|
@@ -1,6 +1,7 @@
|
|
|
package thyyxxk.webserver.service.medicalinsurance;
|
|
|
|
|
|
import com.alibaba.fastjson.JSONObject;
|
|
|
+import com.baomidou.mybatisplus.core.conditions.Wrapper;
|
|
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
@@ -217,4 +218,13 @@ public class SiPsnRcdService {
|
|
|
}
|
|
|
return ResultVoUtil.fail(ExceptionEnum.LOGICAL_ERROR, result.getString(ERROR_MESSAGE));
|
|
|
}
|
|
|
+
|
|
|
+ public ResultVo<List<SlwSpcDiseRcd>> selectAllSpcSlwRcds(String begntime, String endtime) {
|
|
|
+ begntime = begntime + " 00:00:00.000";
|
|
|
+ endtime = endtime + " 23:59:59.999";
|
|
|
+ QueryWrapper<SlwSpcDiseRcd> wrapper = new QueryWrapper<>();
|
|
|
+ wrapper.apply("create_datetime>='" + begntime + "'");
|
|
|
+ wrapper.apply("create_datetime<='" + endtime + "'");
|
|
|
+ return ResultVoUtil.success(slwSpcChrRcdDao.selectList(wrapper));
|
|
|
+ }
|
|
|
}
|