Commit b99204f06e60a59e3bcbfb54e6e639bc438a882d

Authored by jiangjiazhi
1 parent 53db73325f

增加统计

Showing 1 changed file with 5 additions and 1 deletions

platform-biz-patient-service/src/main/java/com/lyms/platform/biz/dal/IPatientDao.java View file @ b99204f
... ... @@ -4,7 +4,9 @@
4 4 import com.lyms.platform.common.dao.operator.Page;
5 5 import com.lyms.platform.pojo.Patients;
6 6 import com.lyms.platform.pojo.PuerperaModel;
  7 +import com.mongodb.Mongo;
7 8  
  9 +import java.util.HashMap;
8 10 import java.util.List;
9 11  
10 12 /**
... ... @@ -31,6 +33,8 @@
31 33  
32 34 void findAndModify(MongoQuery query,Patients obj);
33 35  
34   - void updatePatientOneCol(String id, String colName, Object colValue);
  36 + void updatePatientOneCol(String id, Object colValue);
  37 +
  38 + List<HashMap> aggregateOne(MongoQuery mongoQuery);
35 39 }