|
|
@@ -1,5 +1,6 @@
|
|
|
package thyyxxk.webserver.service.reports;
|
|
|
|
|
|
+import com.alibaba.fastjson.JSON;
|
|
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
|
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
@@ -66,7 +67,6 @@ public class KeShiShouRuServer {
|
|
|
if (StringUtil.notBlank(param.getOpId())) {
|
|
|
renHuanCodeHeCodeRs = dao.huoQuRenYuanDeCodeHeCodeRs(param.getOpId());
|
|
|
}
|
|
|
- String huanZheBiao = "zy_patient";
|
|
|
Page<KeShiFeiiYongTongJi> page;
|
|
|
if (param.getTotal() > 0) {
|
|
|
page = new Page<>(param.getCurrentPage(), param.getPageSize(), false);
|
|
|
@@ -97,7 +97,7 @@ public class KeShiShouRuServer {
|
|
|
qw.groupBy("CONVERT(varchar(100), charge_date, 23)");
|
|
|
qp.setData(dao.getZhuYuanFeiYongXiangMuFenLeiV2(page,
|
|
|
qw,
|
|
|
- "CONVERT(varchar(100), charge_date, 23) charge_date_string,"));
|
|
|
+ " CONVERT(varchar(100), charge_date, 23) charge_date_string,"));
|
|
|
qp.setTotal(page.getTotal());
|
|
|
break;
|
|
|
case 1:
|
|
|
@@ -115,16 +115,6 @@ public class KeShiShouRuServer {
|
|
|
qp.setTotal(page.getTotal());
|
|
|
break;
|
|
|
case 3:
|
|
|
- // todo 肖蟾自定义分页插件
|
|
|
-// XcPageHelp<KeShiFeiiYongTongJi> pageHelp = new XcPageHelp<>(1, 40);
|
|
|
-// QueryWrapper<?> qw2 = new QueryWrapper<>();
|
|
|
-// qw2.ge("charge_date", "2023-02-01 00:00:00")
|
|
|
-// .le("charge_date", "2023-02-28 23:59:59");
|
|
|
-//
|
|
|
-// dao.test(pageHelp, qw2, "3100000");
|
|
|
-// if (true) {
|
|
|
-// return ResultVoUtil.fail(ExceptionEnum.LOGICAL_ERROR, "测试");
|
|
|
-// }
|
|
|
if (param.getTotal() == 0) {
|
|
|
qp = dao.getKeShiFeiYongZhuYuanTotal(keShiLieBiao, param.getStartTime(), param.getEndTime(), param.getChargeCodeMx(), renHuanCodeHeCodeRs.getCode(), renHuanCodeHeCodeRs.getCodeRs(), param.getReqDeptCode());
|
|
|
}
|