jz.kai 1 年間 前
コミット
0514ea0480

+ 1 - 0
common/src/main/resources/mapper/base/WishInfoUserRecord.xml

@@ -151,6 +151,7 @@
 	<select id="countByUser" parameterType="string" resultType="int">
 		SELECT COUNT(*) FROM base_wish_info_user_record
 		WHERE del_flag = 0
+		AND status_ = 1
 		<if test="regUserId != null">
 			AND reg_user_id = #{regUserId}
 		</if>

+ 1 - 0
web/src/main/java/com/jpsoft/employment/modules/base/api/WishApi.java

@@ -134,6 +134,7 @@ public class WishApi {
         MessageResult msgResult = new MessageResult<>();
 
         Map<String,Object> searchParams = new HashMap<>();
+        searchParams.put("status","1");
         if (StringUtils.isNotEmpty(wishInfoId)) {
             searchParams.put("wishInfoId",wishInfoId);
         }