| | |
| | | package com.ltkj.hosp.service.impl; |
| | | |
| | | import cn.hutool.json.JSONObject; |
| | | import cn.hutool.json.JSONUtil; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.ltkj.common.core.domain.AjaxResult; |
| | | import com.ltkj.hosp.domain.TjCustomer; |
| | |
| | | import java.util.Collections; |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * 病种+意见Service业务层处理 |
| | |
| | | } |
| | | |
| | | @Override |
| | | public AjaxResult getAsyncDataByPro(String ksmc,String strIn,String brid,int pagecount,int page,String status) { |
| | | return AjaxResult.success().put("ResultData",mapper.getAsyncDataByPro(ksmc,strIn,brid,pagecount,page,status)).put("code",0); |
| | | public AjaxResult getAsyncDataByPro(String ksmc,String strIn,String brid,int pagecount,int page) { |
| | | List<Map<String, Object>> maps = mapper.getAsyncDataByPro(ksmc, strIn, brid, pagecount, page); |
| | | JSONObject entries = JSONUtil.createObj(); |
| | | entries.putOpt("ResultCode","0"); |
| | | entries.putOpt("ResultData",maps); |
| | | JSONObject object = JSONUtil.createObj(); |
| | | object.putOpt("Response",entries); |
| | | return AjaxResult.success().put("data",object).put("code",0); |
| | | } |
| | | |
| | | @Override |
| | | public List<Map<String ,Object>> getAsyncJybgdByPro(String strIn) { |
| | | return mapper.getAsyncHybgdDataByPro(strIn); |
| | | } |
| | | |
| | | @Override |
| | | public List<Map<String, Object>> getAsyncJybgdWswByPro(String strIn) { |
| | | return mapper.getAsyncHybgdWswDataByPro(strIn); |
| | | } |
| | | } |