瀏覽代碼

1.4.5需求

trick9191 7 年之前
父節點
當前提交
3d4abf9b0f

+ 1 - 1
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/repository/message/MessageDao.java

@ -20,7 +20,7 @@ import java.util.List;
public interface MessageDao extends PagingAndSortingRepository<Message, Long>, JpaSpecificationExecutor<Message> {
    @Query("select count(1) from Message a where a.type =1 and a.read= 1 and a.receiver=?1 ")
    @Query("select count(1) from Message a where a.type in(1,101) and a.read= 1 and a.receiver=?1 ")
    Integer amountUnreadByReceiver(String doctor);
    @Query("select a from Message a where a.type =1 and a.read= 1 and a.receiver=?1 order by a.czrq desc")

+ 1 - 1
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/service/app/sign/FamilyContractService.java

@ -1909,7 +1909,7 @@ public class FamilyContractService extends BaseService {
                "   m.code, " +
                "   m.receiver," +
                "   m.sender," +
                "   m.data," +
                "   m.data AS signCode," +
                "   m.title," +
                "   m.content AS message," +
                "   m.type," +