Browse Source

fixed bugs

fushengqian 1 month ago
parent
commit
c0c0316657

+ 4 - 1
fuint-application/src/main/java/com/fuint/common/service/impl/UserCouponServiceImpl.java

@@ -10,6 +10,7 @@ import com.fuint.common.dto.MyCouponDto;
 import com.fuint.common.enums.*;
 import com.fuint.common.param.CouponReceiveParam;
 import com.fuint.common.service.*;
+import com.fuint.common.util.CommonUtil;
 import com.fuint.common.util.DateUtil;
 import com.fuint.common.util.SeqUtil;
 import com.fuint.framework.exception.BusinessCheckException;
@@ -448,7 +449,9 @@ public class UserCouponServiceImpl extends ServiceImpl<MtUserCouponMapper, MtUse
                 if (couponInfo == null) {
                     continue;
                 }
-
+                if (userInfo != null) {
+                    userInfo.setMobile(CommonUtil.hidePhone(userInfo.getMobile()));
+                }
                 MyCouponDto dto = new MyCouponDto();
                 dto.setId(userCouponDto.getId());
                 dto.setName(couponInfo.getName());

+ 2 - 2
fuint-repository/src/main/resources/mapper/MtStoreMapper.xml

@@ -36,7 +36,7 @@
     </update>
 
     <select id="getMyStoreList" resultType="com.fuint.repository.model.MtStore">
-        select * from mt_store t where t.SATTUS != 'D'
+        select * from mt_store t where t.STATUS != 'D'
         <if test="merchantId != null and merchantId != ''">
             AND t.MERCHANT_ID = #{merchantId}
         </if>
@@ -44,7 +44,7 @@
             AND t.ID = #{storeId}
         </if>
         <if test="status != null and status != ''">
-            AND t.SATTUS = #{status}
+            AND t.STATUS = #{status}
         </if>
     </select>
 </mapper>