Browse Source

代码修改

suqinyi 3 months ago
parent
commit
cb16e88f4f

+ 2 - 2
svr/svr-visit-behind/src/main/java/com/yihu/jw/hospital/module/common/service/LabelService.java

@ -318,7 +318,7 @@ public class LabelService {
     */
    public List<Map<String, Object>> findLabelPatientGroupCount(String name, String labelType,String doctorCode) {
        String sql = "SELECT\n" +
                "	a.label_code,a.label_name,count(1) 'labelCount'\n" +
                "	DISTINCT a.label_code,a.label_name,count(1) 'labelCount'\n" +
                "FROM\n" +
                "	wlyy_patient_label a\n" +
                "	INNER JOIN base_patient b ON a.patient=b.id\n" +
@ -339,7 +339,7 @@ public class LabelService {
    public List findLabelPatientList(String name, String labelType, String labelCode,String doctorCode) {
        String sql = "SELECT\n" +
                "	 a.label_code 'labelCode',a.label_name 'labelName', TIMESTAMPDIFF(YEAR, b.birthday, CURDATE()) AS age," +
                "	DISTINCT a.label_code 'labelCode',a.label_name 'labelName', TIMESTAMPDIFF(YEAR, b.birthday, CURDATE()) AS age," +
                "    b.* \n" +
                "FROM\n" +
                "	wlyy_patient_label a\n" +