From 08f1b1f1804a8bd833d42f257908d80e88387b55 Mon Sep 17 00:00:00 2001
From: mitao <2763622819@qq.com>
Date: 星期五, 14 三月 2025 11:27:47 +0800
Subject: [PATCH] 3.5增加登录验证、修改密码、人员列表调整
---
springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComActMicroWishDAO.java | 117 +++++++++++++++++++++++++++++++++-------------------------
1 files changed, 67 insertions(+), 50 deletions(-)
diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComActMicroWishDAO.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComActMicroWishDAO.java
index 53577f2..4f09da4 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComActMicroWishDAO.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComActMicroWishDAO.java
@@ -68,7 +68,7 @@
" </if> " +
" <where>" +
"<if test='comActMicroWishVO.communityId != null and comActMicroWishVO.communityId != 0'>" +
- " and w.community_id = #{comActMicroWishVO.communityId} " +
+ " and w.community_id = ${comActMicroWishVO.communityId} " +
" </if> " +
"<if test='comActMicroWishVO.sponsorPhone != null and comActMicroWishVO.sponsorPhone.trim() != ""'>" +
"AND w.sponsor_phone like concat(#{comActMicroWishVO.sponsorPhone},'%') " +
@@ -118,55 +118,56 @@
IPage<ComActMicroWishVO> pageMicroWishAdmin(Page page, @Param("comActMicroWishVO") ComActMicroWishVO comActMicroWishVO);
IPage<ComActMicroWishVO> pageMicroWishApplets(Page page, @Param("comActMicroWishVO") ComActMicroWishVO comActMicroWishVO);
- @Select("SELECT " +
- "w.id, " +
- "u.name sponsor_name, " +
- "u.nick_name userNickName, " +
- "w.create_at, " +
- "w.aim_num, " +
- "u.image_url, " +
- "w.sponsor_phone, " +
- "w.`status`, " +
- "w.`sponsor_id`, " +
- "w.wish_name, " +
- "count(wu.id)starNum, " +
- "w.detail, " +
- "w.photo_path_list, " +
- "su.`name` responsible_name, " +
- "w.form, " +
- "w.reject_reason, " +
- "w.community_id, " +
- "w.examine_at, " +
- "w.finish, " +
- "w.finish_photo_path_list, " +
- "w.finish_at, " +
- "w.score, " +
- "w.feedback, " +
- "w.feedback_at, " +
- "w.feedback_photo_path_list, " +
- "w.distribution_at, " +
- "w.evaluate_at, " +
- "w.img_width, " +
- "w.img_height, " +
- "w.handle_id, " +
- "w.evaluate " +
- "FROM " +
- "com_act_micro_wish w " +
- "LEFT JOIN sys_user u ON w.sponsor_id = u.user_id " +
- "LEFT JOIN com_pb_service_team su ON w.responsible_id = su.id " +
- "LEFT JOIN com_act_micro_wish_user wu ON w.id = wu.micro_wish_id " +
- "WHERE " +
- "w.id =#{id}"+
- " group by w.id " +
- "order by w.create_at desc"
- )
+
+// @Select("SELECT " +
+// "w.id, " +
+// "u.name sponsor_name, " +
+// "u.nick_name userNickName, " +
+// "w.create_at, " +
+// "w.aim_num, " +
+// "u.image_url, " +
+// "w.sponsor_phone, " +
+// "w.`status`, " +
+// "w.`sponsor_id`, " +
+// "w.wish_name, " +
+// "count(wu.id)starNum, " +
+// "w.detail, " +
+// "w.photo_path_list, " +
+// "su.`name` responsible_name, " +
+// "w.form, " +
+// "w.reject_reason, " +
+// "w.community_id, " +
+// "w.examine_at, " +
+// "w.finish, " +
+// "w.finish_photo_path_list, " +
+// "w.finish_at, " +
+// "w.score, " +
+// "w.feedback, " +
+// "w.feedback_at, " +
+// "w.feedback_photo_path_list, " +
+// "w.distribution_at, " +
+// "w.evaluate_at, " +
+// "w.img_width, " +
+// "w.img_height, " +
+// "w.handle_id, " +
+// "w.evaluate " +
+// "FROM " +
+// "com_act_micro_wish w " +
+// "LEFT JOIN sys_user u ON w.sponsor_id = u.user_id " +
+// "LEFT JOIN com_pb_service_team su ON w.responsible_id = su.id " +
+// "LEFT JOIN com_act_micro_wish_user wu ON w.id = wu.micro_wish_id " +
+// "WHERE " +
+// "w.id =#{id}"+
+// " group by w.id " +
+// "order by w.create_at desc"
+// )
ComActMicroWishVO detailMicroWish(Long id);
@Select("SELECT " +
"'2' type " +
"FROM " +
"com_act_micro_wish w " +
"WHERE " +
- "w.community_id = #{communityId} " +
+ "w.community_id = ${communityId} " +
"AND w.`status` = 1 " +
" " +
"union all " +
@@ -176,7 +177,7 @@
"FROM " +
" com_act_micro_wish w " +
"WHERE " +
- " w.community_id = #{communityId} " +
+ " w.community_id = ${communityId} " +
" AND w.`status` = 3 " +
" AND w.form = 1 " +
" AND w.responsible_id = #{userId} " +
@@ -191,12 +192,12 @@
List<Long> getWishAutoConfirmIds();
@Select("SELECT COUNT(id) AS completedNum," +
- "(SELECT COUNT(id) FROM com_act_micro_wish WHERE community_id = #{communityId} AND (status =1 OR status =2 OR status = 3 OR status = 5)) AS willNum ," +
- "(SELECT COUNT(id) FROM com_act_micro_wish WHERE community_id = #{communityId} AND (status =1 OR status =2 OR status = 3 OR status = 5 OR status = 6) AND create_at LIKE CONCAT(#{nowDate},'%')) AS currentNum " +
- "FROM com_act_micro_wish WHERE community_id = #{communityId} AND status = 6 ")
+ "(SELECT COUNT(id) FROM com_act_micro_wish WHERE community_id = ${communityId} AND (status =1 OR status =2 OR status = 3 OR status = 5)) AS willNum ," +
+ "(SELECT COUNT(id) FROM com_act_micro_wish WHERE community_id = ${communityId} AND (status =1 OR status =2 OR status = 3 OR status = 5 OR status = 6) AND create_at LIKE CONCAT(#{nowDate},'%')) AS currentNum " +
+ "FROM com_act_micro_wish WHERE community_id = ${communityId} AND status = 6 ")
Map<String, Long> countByCommunityId(@Param("communityId") Long communityId,@Param("nowDate") String nowDate);
- @Select("SELECT photo_path_list FROM com_act_micro_wish WHERE community_id = #{communityId} AND (status =1 OR status =2 OR status = 3 OR status = 5 OR status = 6) ORDER BY create_at DESC limit #{pageSize}")
+ @Select("SELECT photo_path_list FROM com_act_micro_wish WHERE community_id = ${communityId} AND (status =1 OR status =2 OR status = 3 OR status = 5 OR status = 6) ORDER BY create_at DESC limit #{pageSize}")
List<String> getAllImgs(@Param("communityId") Long communityId,@Param("pageSize") Integer pageSize);
@Select("<script> " +
@@ -227,7 +228,7 @@
"AND camw.`status` =#{microListDTO.status} " +
" </if> " +
"<if test='microListDTO.communityId != null'>" +
- "AND camw.community_id =#{microListDTO.communityId} " +
+ "AND camw.community_id = ${microListDTO.communityId} " +
" </if> " +
"<if test='microListDTO.startTime!=null and microListDTO.startTime != ""'>" +
" AND DATE_FORMAT(camw.create_at,'%Y-%m-%d %H:%i:%s') <![CDATA[ >= ]]> #{microListDTO.startTime} " +
@@ -283,4 +284,20 @@
* @return
*/
IPage<ComActMicroWishVO> selectScreenDisplayList(@Param("page") Page page, @Param("pageBaseDTO") PageBaseDTO pageBaseDTO);
+
+ /**
+ * 金沙定制页面-志愿线展示列表
+ * @param page
+ * @param pageBaseDTO
+ * @return
+ */
+ IPage<ComActMicroWishVO> pagePartyBuildIngMicroWish(@Param("page") Page page, @Param("pageBaseDTO") PageBaseDTO pageBaseDTO);
+
+ /**
+ * 金沙定制页面-四长四员解决问题展示列表
+ * @param page
+ * @param pageBaseDTO
+ * @return
+ */
+ IPage<ComActMicroWishVO> pageFourMemberResolve(@Param("page") Page page, @Param("pageBaseDTO") PageBaseDTO pageBaseDTO);
}
--
Gitblit v1.7.1