|
@ -5,6 +5,7 @@ import com.alibaba.fastjson.JSONObject;
|
|
|
import com.yihu.jw.article.dao.KnowledgeArticleDao;
|
|
|
import com.yihu.jw.article.dao.KnowledgeArticleDictDao;
|
|
|
import com.yihu.jw.article.dao.KnowledgeArticleUserDao;
|
|
|
import com.yihu.jw.article.service.KnowledgeArticleDictService;
|
|
|
import com.yihu.jw.doctor.dao.BaseDoctorHospitalDao;
|
|
|
import com.yihu.jw.entity.base.doctor.BaseDoctorHospitalDO;
|
|
|
import com.yihu.jw.entity.base.patient.BasePatientBusinessDO;
|
|
@ -302,6 +303,26 @@ public class ArticleEndpoint extends EnvelopRestEndpoint {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 查询文章发送记录
|
|
|
* BasePatientBusinessDO
|
|
|
*/
|
|
|
@PostMapping(value = "/findSendPatientList")
|
|
|
@ApiOperation(value = "查询文章发送记录-发送文章/问卷")
|
|
|
public ObjEnvelop findSendPatientList(
|
|
|
@ApiParam(name = "doctorCode", value = "医生") @RequestParam(value = "doctorCode", required = false) String doctorCode,
|
|
|
@ApiParam(name = "patientCode", value = "居民code") @RequestParam(value = "patientCode", required = false) String patientCode,
|
|
|
@ApiParam(name = "sendType", value = "发送类型") @RequestParam(value = "sendType", required = false) String sendType,
|
|
|
@ApiParam(name = "page", value = "页码") @RequestParam(value = "page", required = false) int page,
|
|
|
@ApiParam(name = "pageSize", value = "数量") @RequestParam(value = "pageSize", required = false) int pageSize
|
|
|
) {
|
|
|
HashMap<String, Object> result = knowledgeArticleService.findSendPatientList(doctorCode,patientCode, sendType, page, pageSize);
|
|
|
ObjEnvelop objEnvelop = new ObjEnvelop();
|
|
|
objEnvelop.setObj(result);
|
|
|
return objEnvelop;
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@PostMapping(value = BaseHospitalRequestMapping.KnowledgeArticle.sendPatientBusiness)
|
|
|
@ApiOperation(value = "发送文章/问卷")
|