Ver código fonte

微信用户信息,优惠

XF--LRQYEJOKYDS\Administrator 4 anos atrás
pai
commit
4181617ed6

+ 1 - 0
YijiaRestful/pom.xml

@@ -38,6 +38,7 @@
         <dependency>
             <groupId>mysql</groupId>
             <artifactId>mysql-connector-java</artifactId>
+            <version>8.0.22</version>
         </dependency>
         <dependency>
             <groupId>org.springframework.boot</groupId>

+ 96 - 0
YijiaRestful/src/main/java/com/platform/yijia/dao/AppUserInfoMapper.java

@@ -0,0 +1,96 @@
+package com.platform.yijia.dao;
+
+import com.platform.yijia.pojo.AppUserInfo;
+import com.platform.yijia.pojo.AppUserInfoExample;
+import java.util.List;
+import org.apache.ibatis.annotations.Param;
+
+public interface AppUserInfoMapper {
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table app_user_info
+     *
+     * @mbg.generated
+     */
+    long countByExample(AppUserInfoExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table app_user_info
+     *
+     * @mbg.generated
+     */
+    int deleteByExample(AppUserInfoExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table app_user_info
+     *
+     * @mbg.generated
+     */
+    int deleteByPrimaryKey(Integer userId);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table app_user_info
+     *
+     * @mbg.generated
+     */
+    int insert(AppUserInfo record);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table app_user_info
+     *
+     * @mbg.generated
+     */
+    int insertSelective(AppUserInfo record);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table app_user_info
+     *
+     * @mbg.generated
+     */
+    List<AppUserInfo> selectByExample(AppUserInfoExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table app_user_info
+     *
+     * @mbg.generated
+     */
+    AppUserInfo selectByPrimaryKey(Integer userId);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table app_user_info
+     *
+     * @mbg.generated
+     */
+    int updateByExampleSelective(@Param("record") AppUserInfo record, @Param("example") AppUserInfoExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table app_user_info
+     *
+     * @mbg.generated
+     */
+    int updateByExample(@Param("record") AppUserInfo record, @Param("example") AppUserInfoExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table app_user_info
+     *
+     * @mbg.generated
+     */
+    int updateByPrimaryKeySelective(AppUserInfo record);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table app_user_info
+     *
+     * @mbg.generated
+     */
+    int updateByPrimaryKey(AppUserInfo record);
+}

+ 96 - 0
YijiaRestful/src/main/java/com/platform/yijia/dao/CouponMapper.java

@@ -0,0 +1,96 @@
+package com.platform.yijia.dao;
+
+import com.platform.yijia.pojo.Coupon;
+import com.platform.yijia.pojo.CouponExample;
+import java.util.List;
+import org.apache.ibatis.annotations.Param;
+
+public interface CouponMapper {
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table coupon
+     *
+     * @mbg.generated
+     */
+    long countByExample(CouponExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table coupon
+     *
+     * @mbg.generated
+     */
+    int deleteByExample(CouponExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table coupon
+     *
+     * @mbg.generated
+     */
+    int deleteByPrimaryKey(Integer couponId);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table coupon
+     *
+     * @mbg.generated
+     */
+    int insert(Coupon record);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table coupon
+     *
+     * @mbg.generated
+     */
+    int insertSelective(Coupon record);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table coupon
+     *
+     * @mbg.generated
+     */
+    List<Coupon> selectByExample(CouponExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table coupon
+     *
+     * @mbg.generated
+     */
+    Coupon selectByPrimaryKey(Integer couponId);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table coupon
+     *
+     * @mbg.generated
+     */
+    int updateByExampleSelective(@Param("record") Coupon record, @Param("example") CouponExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table coupon
+     *
+     * @mbg.generated
+     */
+    int updateByExample(@Param("record") Coupon record, @Param("example") CouponExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table coupon
+     *
+     * @mbg.generated
+     */
+    int updateByPrimaryKeySelective(Coupon record);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table coupon
+     *
+     * @mbg.generated
+     */
+    int updateByPrimaryKey(Coupon record);
+}