Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
A
Aidea
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sa_aidea
Aidea
Commits
38438eae
Commit
38438eae
authored
Aug 25, 2021
by
谢希宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update by strive
parent
2b60d23e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
1 deletion
+17
-1
PrescriptionService.java
.../com/cftech/prescription/service/PrescriptionService.java
+11
-1
PrescriptionServiceImpl.java
...ch/prescription/service/impl/PrescriptionServiceImpl.java
+6
-0
No files found.
aidea-modules/prescription-module/src/main/java/com/cftech/prescription/service/PrescriptionService.java
View file @
38438eae
package
com
.
cftech
.
prescription
.
service
;
package
com
.
cftech
.
prescription
.
service
;
import
com.alibaba.fastjson.JSONObject
;
import
com.cftech.prescription.model.Prescription
;
import
com.cftech.prescription.model.Prescription
;
import
com.cftech.core.generic.GenericService
;
import
com.cftech.core.generic.GenericService
;
import
java.util.List
;
/**
/**
* 处方单列表Service
* 处方单列表Service
*
*
...
@@ -18,6 +21,7 @@ public interface PrescriptionService extends GenericService<Prescription> {
...
@@ -18,6 +21,7 @@ public interface PrescriptionService extends GenericService<Prescription> {
* @return
* @return
*/
*/
JSONObject
generatePre
(
String
appId
,
String
openId
);
JSONObject
generatePre
(
String
appId
,
String
openId
);
/**
/**
* 获取处方单列表(从距今日7天内的数据)
* 获取处方单列表(从距今日7天内的数据)
*
*
...
@@ -46,6 +50,7 @@ public interface PrescriptionService extends GenericService<Prescription> {
...
@@ -46,6 +50,7 @@ public interface PrescriptionService extends GenericService<Prescription> {
* @return
* @return
*/
*/
JSONObject
findLastPrescription
(
String
appId
,
String
openId
);
JSONObject
findLastPrescription
(
String
appId
,
String
openId
);
/**
/**
* 获取Prescription详情
* 获取Prescription详情
* @param presId
* @param presId
...
@@ -53,6 +58,11 @@ public interface PrescriptionService extends GenericService<Prescription> {
...
@@ -53,6 +58,11 @@ public interface PrescriptionService extends GenericService<Prescription> {
*/
*/
Prescription
findPreScriptionById
(
String
presId
)
throws
Exception
;
Prescription
findPreScriptionById
(
String
presId
)
throws
Exception
;
/**
* 通过处方单编码获取
* @param orderId
* @return
* @throws Exception
*/
Prescription
findPreScriptionByOrderId
(
String
orderId
)
throws
Exception
;
Prescription
findPreScriptionByOrderId
(
String
orderId
)
throws
Exception
;
}
}
aidea-modules/prescription-module/src/main/java/com/cftech/prescription/service/impl/PrescriptionServiceImpl.java
View file @
38438eae
...
@@ -4,9 +4,15 @@ import com.alibaba.fastjson.JSONObject;
...
@@ -4,9 +4,15 @@ import com.alibaba.fastjson.JSONObject;
import
com.cftech.accounts.model.MpAccountsEntity
;
import
com.cftech.accounts.model.MpAccountsEntity
;
import
com.cftech.accounts.service.MpAccountsService
;
import
com.cftech.accounts.service.MpAccountsService
;
import
com.cftech.base.codingrule.utils.CodingruleUtils
;
import
com.cftech.base.codingrule.utils.CodingruleUtils
;
import
com.cftech.cdfortis.model.FbusiDetail
;
import
com.cftech.cdfortis.model.FbusiDrug
;
import
com.cftech.cdfortis.service.CdfortisService
;
import
com.cftech.core.scope.OrderType
;
import
com.cftech.core.scope.OrderType
;
import
com.cftech.core.sql.Sort
;
import
com.cftech.core.sql.Sort
;
import
com.cftech.core.util.DateUtils
;
import
com.cftech.core.util.SystemConfig
;
import
com.cftech.core.util.SystemConfig
;
import
com.cftech.predrugs.model.PreDrugs
;
import
com.cftech.predrugs.service.PreDrugsService
;
import
com.cftech.prescription.model.Prescription
;
import
com.cftech.prescription.model.Prescription
;
import
com.cftech.prescription.dao.PrescriptionMapper
;
import
com.cftech.prescription.dao.PrescriptionMapper
;
import
com.cftech.prescription.service.PrescriptionService
;
import
com.cftech.prescription.service.PrescriptionService
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment