张天森
2022-07-05 9b8a37d4beecb1d95cd0863d8ebda29e6624f950
springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComActDAO.java
@@ -93,4 +93,20 @@
    @Select("select account,plaintext_password as password from com_act where community_id = ${communityId}")
    ComActPasswordVo getCommunityPassword(@Param("communityId") Long communityId);
    @Select("select name from com_pb_check_unit where id=#{id}")
    String getUnitName(@Param("id") Long unitId);
    @Select("select count(id) from com_pb_check_unit")
    Integer getUnitCount();
    @Select("select count(id) from com_pb_member where audit_result=1")
    Integer selectUnitCount();
    @Select("select count(id) from com_pb_check_unit")
    Integer selectMemberCount();
    @Select("select name from com_pb_check_unit where id=#{id}")
    String selectUnitName(@Param("id") Long id);
}