package org.team57.dxyh.service.impl;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.web.bind.annotation.ResponseBody;
import org.team57.dxyh.entity.ChargeBilCw;
import org.team57.dxyh.entity.CheckListCw;
import org.team57.dxyh.entity.DrugListCw;
import org.team57.dxyh.entity.InHospitalCw;
import org.team57.dxyh.entity.LCkeckCw;
import org.team57.dxyh.entity.OperationCw;
import org.team57.dxyh.entity.PatientCw;
import org.team57.dxyh.entity.PrescriptionCw;
import org.team57.dxyh.entity.PrescriptionMXCw;
import org.team57.dxyh.entity.SumMoneyCw;
import org.team57.dxyh.entity.SurgeryCw;
import org.team57.dxyh.entity.TradingCw;
import org.team57.dxyh.entity.guafeiCW;
import org.team57.dxyh.mapper.LckeclCwDao;
import org.team57.dxyh.service.LckeclCwService;
import com.fasterxml.jackson.core.JsonProcessingException;
@Service
public class LckeclCwServiceImpl implements LckeclCwService {
@Autowired
private LckeclCwDao dao;
// 门诊检查划价开始
@Override
public int selectCount(Map map) {
// TODO Auto-generated method stub
return dao.selectCount(map);
}
@Override
public double selectMoney(String ic) {
return dao.selectMoney(ic);
}
@Override
public int updateMoney(PatientCw cw) {
// TODO Auto-generated method stub
return dao.updateMoney(cw);
}
@Override
public int updateType(int kid) {
// TODO Auto-generated method stub
return dao.updateType(kid);
}
@Override
public int insertTrading(TradingCw jiao) {
// TODO Auto-generated method stub
return dao.insertTrading(jiao);
}
@Override
public int insertChargeBil(ChargeBilCw sh) {
// TODO Auto-generated method stub
return dao.insertChargeBil(sh);
}
@Override
public int insertCheckList(CheckListCw jian) {
// TODO Auto-generated method stub
return dao.insertCheckList(jian);
}
@Override
public int MaxTrading() {
// TODO Auto-generated method stub
return dao.MaxTrading();
}
// 门诊检查划价结束
// 处方划价开始
@Override
public List<PrescriptionCw> selectChu(Map map) {
// TODO Auto-generated method stub
return dao.selectChu(map);
}
@Override
public int selectChuCount(Map map) {
// TODO Auto-generated method stub
return dao.selectChuCount(map);
}
@Override
public List<PrescriptionMXCw> selectMX(int preid) {
// TODO Auto-generated method stub
return dao.selectMX(preid);
}
@Override
public int updatechu(int prid) {
// TODO Auto-generated method stub
return dao.updatechu(prid);
}
@Override
public int insertDrugList(DrugListCw du) {
// TODO Auto-generated method stub
return dao.insertDrugList(du);
}
// 处方划价结束
@Override
public List<SumMoneyCw> suan(Map map) {
// TODO Auto-generated method stub
return dao.suan(map);
}
@Override
public List<SumMoneyCw> suan2() {
// TODO Auto-generated method stub
return dao.suan2();
}
@Override
public List<SumMoneyCw> suan3() {
// TODO Auto-generated method stub
return dao.suan3();
}
@Override
public List<SumMoneyCw> suan4() {
// TODO Auto-generated method stub
return dao.suan4();
}
@Override
public List<ChargeBilCw> selectMXzhu(Map map) {
// TODO Auto-generated method stub
return dao.selectMXzhu(map);
}
@Override
public List<DrugListCw> selectmxyao(String yId) {
// TODO Auto-generated method stub
return dao.selectmxyao(yId);
}
@Override
public int selectMXcount(Map map) {
// TODO Auto-generated method stub
return dao.selectMXcount(map);
}
@Override
public List<CheckListCw> selectmxjian(String jId) {
// TODO Auto-generated method stub
return dao.selectmxjian(jId);
}
@Override
public List<OperationCw> selectmxshou(String sId) {
// TODO Auto-generated method stub
return dao.selectmxshou(sId);
}
@Override
public List<SurgeryCw> selectshou(Map map) {
// TODO Auto-generated method stub
return dao.selectshou(map);
}
@Override
public int selectshoucount(Map map) {
// TODO Auto-generated method stub
return dao.selectshoucount(map);
}
@Override
public int updateshou(int surId) {
// TODO Auto-generated method stub
return dao.updateshou(surId);
}
@Override
public int insertshou(OperationCw op) {
// TODO Auto-generated method stub
return dao.insertshou(op);
}
@Override
public List<DrugListCw> selecticyao(String ic) {
// TODO Auto-generated method stub
return dao.selecticyao(ic);
}
@Override
public List<CheckListCw> selecticjian(String ic) {
// TODO Auto-generated method stub
return dao.selecticjian(ic);
}
@Override
public List<OperationCw> selecticshou(String ic) {
// TODO Auto-generated method stub
return dao.selecticshou(ic);
}
@Override
public double selecticzhu(String ic) {
// TODO Auto-generated method stub
return dao.selecticzhu(ic);
}
@Override
public List<InHospitalCw> selectmxzhu(String sId) {
// TODO Auto-generated method stub
return dao.selectmxzhu(sId);
}
@Override
public List<InHospitalCw> selectya() {
// TODO Auto-generated method stub
return dao.selectya();
}
@Override
public int insertzhucong(InHospitalCw in) {
// TODO Auto-generated method stub
return dao.insertzhucong(in);
}
@Override
public List<LCkeckCw> selectJianHJ(Map map) {
// TODO Auto-generated method stub
return dao.selectJianHJ(map);
}
@Override
public Map<String, Object> selectjian(Map map) {
// TODO Auto-generated method stub
return dao.selectjian(map);
}
@Override
public Map<String, Object> selectchu(Map map) {
// TODO Auto-generated method stub
return dao.selectchu(map);
}
@Override
public Map<String, Object> selectshou2(Map map) {
// TODO Auto-generated method stub
return dao.selectshou2(map);
}
@Override
public Map<String, Object> selectzhu(Map map) {
// TODO Auto-generated method stub
return dao.selectzhu(map);
}
@Override
public List<Map<String, Object>> selectMaxyao(Map map) {// 药品
// selectMaxyao(Map
// map) {
// TODO Auto-generated method stub
return dao.selectMaxyao(map);
}
@Override
public List<Map<String, Object>> selectMaxke(Map map) {
// TODO Auto-generated method stub
return dao.selectMaxke(map);
}
@Override
public List<Map<String, Object>> selectMaxjian(Map map) {
// TODO Auto-generated method stub
return dao.selectMaxjian(map);
}
@Override
public int updateMoneyjia(PatientCw cw) {
// TODO Auto-generated method stub
return dao.updateMoneyjia(cw);
}
@Override
public Map<String, Object> selectgua(Map map) {
return dao.selectgua(map);
}// 挂号费
// 检查划价开始
// 查询要划价的
public Map<String, Object> huajia(int page, int limit, String ic,
String name, String sop) throws JsonProcessingException {
Map<String, Object> map = new HashMap<String, Object>();// 分页
if (sop == null || "".equals(sop)) {
map.put("sop", "aa");
}
if ("bu".equals(sop)) {
map.put("sop", "aa");// 是否显示交费
}
if ("xian".equals(sop)) {
map.put("sop", null);
}
map.put("ic", ic);
map.put("name", name);
map.put("qian", (page - 1) * limit);// 显示页的开端
map.put("hou", page * limit);// 显示页的末尾
List<LCkeckCw> list = selectJianHJ(map);
int count = selectCount(map);
Map<String, Object> json = new HashMap<String, Object>();
json.put("code", 0);
json.put("msg", "");
json.put("count", count);
json.put("data", list);
return json;
}
// 检查划价ic
@Transact
没有合适的资源?快使用搜索试试~ 我知道了~
使用Maven整合SSM框架集和Shiro安全框架实现的医院管理系统
共1968个文件
class:546个
js:297个
java:289个
4星 · 超过85%的资源 需积分: 34 88 下载量 18 浏览量
2017-12-29
15:20:40
上传
评论 12
收藏 107.98MB ZIP 举报
温馨提示
必须配有maven,使用mysql,Myeclipse,jdk1.7,账号:admin,密码:123456,里面实现了医院的基本业务,数据表大概为50章,有基本数据,这是大学时期的毕业设计,登录管理员帐号就能使用。
资源推荐
资源详情
资源评论
收起资源包目录
使用Maven整合SSM框架集和Shiro安全框架实现的医院管理系统 (1968个子文件)
LckeclCwServiceImpl.class 27KB
HuaMoneyMenController.class 17KB
JoinPharmacyController.class 16KB
LckeclCwServiceImpl.class 15KB
JoinPharmacyController.class 14KB
HuaMoneyMenController.class 13KB
JoinPharmacyMX.class 9KB
JoinPharmacyMX.class 9KB
SeeDoctorController.class 9KB
Information.class 9KB
SeeDoctorController.class 9KB
LoginController.class 8KB
Information.class 8KB
EmpsController.class 8KB
PurchaseMX.class 8KB
PurchaseMX.class 8KB
ScheduleController.class 7KB
EmpsControllers.class 7KB
OutPharmacyController.class 7KB
PharmacyReturnController.class 7KB
HosbillController.class 7KB
TimesController.class 6KB
HosbillController.class 6KB
Hosbill.class 6KB
Hosbill.class 6KB
TimesController.class 6KB
InformationController.class 6KB
EmpsControllers.class 6KB
JPurchaseMX.class 6KB
LoginController.class 6KB
InformationController.class 6KB
PharmacyReturnController.class 6KB
Purchase.class 6KB
LckeckControllerforsss.class 6KB
Purchase.class 6KB
OutPharmacyController.class 6KB
JoinPharmacy.class 6KB
RoleController.class 6KB
Emps.class 6KB
Emps.class 6KB
RoleController.class 6KB
User.class 6KB
User.class 5KB
OutpatientsController.class 5KB
UserController.class 5KB
JoinPharmacyServiceImpl.class 5KB
PMedicineInfo.class 5KB
MedicineCheckController.class 5KB
Medical.class 5KB
HospitalIncomeController.class 5KB
OutPatient.class 5KB
JoinPharmacyServiceImpl.class 5KB
EmpsController.class 5KB
MedicineInfo.class 5KB
MedicineInfo.class 5KB
UserController.class 5KB
Prescription.class 5KB
JoinPharmacy.class 5KB
PMedicineInfo.class 5KB
MedicineCheckController.class 5KB
DReserveRoomCatalog.class 5KB
DCatalogServiceImpl.class 5KB
PharmacyCheckController.class 5KB
Prescription.class 5KB
RegistrationControllersss.class 5KB
PharmacyCheckController.class 5KB
Role.class 5KB
EmpsLH.class 5KB
EmpsLH.class 5KB
OutPatientController.class 4KB
Role.class 4KB
ResourceServiceImpl.class 4KB
ChargeBilCw.class 4KB
DCatalogServiceImpl.class 4KB
ResourceServiceImpl.class 4KB
RegistrationControllersss.class 4KB
OutPatient.class 4KB
Patient.class 4KB
DReserveRoomCatalog.class 4KB
PatientControllerLH.class 4KB
PatientControllerLH.class 4KB
Patient.class 4KB
MedicineCheck.class 4KB
MedicineCheck.class 4KB
Room.class 4KB
Medical.class 4KB
RegistrationServiceImplsss.class 4KB
DCatalogController.class 4KB
UserServiceImpl.class 4KB
Registration.class 4KB
Registration.class 4KB
HosbillLH.class 4KB
HosbillLH.class 4KB
CheckListController.class 4KB
DrugListController.class 4KB
ChargeBilCw.class 4KB
InformationLH.class 4KB
InformationLH.class 4KB
DCatalogController.class 4KB
PharmacyReturn.class 4KB
共 1968 条
- 1
- 2
- 3
- 4
- 5
- 6
- 20
资源评论
- weixin_406955932018-10-03数据库有乱码
- avmove2018-09-16登陆时报错严重: Servlet.service() for servlet [springMVC] in context with path [/hospital] threw exception [Request processing failed; nested exception is org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.binding.BindingException: Parameter '0' not found. Available parameters
- u0110172312018-09-04在登录的时候报错,org.apache.ibatis.binding.BindingException: Parameter '0' not found. Available parameters are [arg1, arg0, param1, param2]
- niuniu9929922018-06-10部署到eclipse中,显示The requested resource is not available.为什么啊???求解
- 灬呔呆2018-04-08把项目部署到linux后,使用你说的admin密码123456,显示密码错误不对呀cengjiangGH2018-05-17那你再去数据库看看
cengjiangGH
- 粉丝: 11
- 资源: 9
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功