Commit 38438eae authored by 谢希宇's avatar 谢希宇

update by strive

parent 2b60d23e
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;
} }
...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment