diff --git a/service/src/main/java/com/hfkj/dao/CyymallOrderMapper.java b/service/src/main/java/com/hfkj/dao/CyymallOrderMapper.java new file mode 100644 index 0000000..7503b3c --- /dev/null +++ b/service/src/main/java/com/hfkj/dao/CyymallOrderMapper.java @@ -0,0 +1,641 @@ +package com.hfkj.dao; + +import com.hfkj.entity.CyymallOrder; +import com.hfkj.entity.CyymallOrderExample; +import com.hfkj.entity.CyymallOrderWithBLOBs; +import java.util.List; +import org.apache.ibatis.annotations.Delete; +import org.apache.ibatis.annotations.DeleteProvider; +import org.apache.ibatis.annotations.Insert; +import org.apache.ibatis.annotations.InsertProvider; +import org.apache.ibatis.annotations.Options; +import org.apache.ibatis.annotations.Param; +import org.apache.ibatis.annotations.Result; +import org.apache.ibatis.annotations.Results; +import org.apache.ibatis.annotations.Select; +import org.apache.ibatis.annotations.SelectProvider; +import org.apache.ibatis.annotations.Update; +import org.apache.ibatis.annotations.UpdateProvider; +import org.apache.ibatis.type.JdbcType; +import org.springframework.stereotype.Repository; + +/** + * + * 代码由工具生成,请勿修改!!! + * 如果需要扩展请在其父类进行扩展 + * + **/ +@Repository +public interface CyymallOrderMapper extends CyymallOrderMapperExt { + @SelectProvider(type=CyymallOrderSqlProvider.class, method="countByExample") + long countByExample(CyymallOrderExample example); + + @DeleteProvider(type=CyymallOrderSqlProvider.class, method="deleteByExample") + int deleteByExample(CyymallOrderExample example); + + @Delete({ + "delete from cyymall_order", + "where id = #{id,jdbcType=INTEGER}" + }) + int deleteByPrimaryKey(Integer id); + + @Insert({ + "insert into cyymall_order (store_id, user_id, ", + "order_no, total_price, ", + "pay_price, express_price, ", + "`name`, mobile, address, ", + "remark, is_pay, ", + "pay_type, pay_time, ", + "is_send, send_time, ", + "express, express_no, ", + "is_confirm, confirm_time, ", + "is_comment, apply_delete, ", + "addtime, is_delete, ", + "is_price, parent_id, ", + "first_price, second_price, ", + "third_price, coupon_sub_price, ", + "is_offline, clerk_id, ", + "is_cancel, before_update_price, ", + "shop_id, discount, ", + "user_coupon_id, give_integral, ", + "parent_id_1, parent_id_2, ", + "is_sale, version, ", + "express_price_1, is_recycle, ", + "rebate, before_update_express, ", + "mch_id, order_union_id, ", + "is_transfer, `type`, ", + "share_price, is_show, ", + "currency, order_origin, ", + "delivery_id, delivery_status, ", + "fy_status, fyjine, fysingle, ", + "mch_fyjine, mch_fysingle, ", + "is_fan, is_dada, shop_peisong, ", + "is_open_offline, supplier_id, ", + "is_sup_transfer, dabao_price, ", + "settlement_amount, is_settlement, ", + "settlement_time, is_mch_shop, ", + "is_divide_money, transaction_id, ", + "pay_user_id, pay_type_true, ", + "is_vgoods, reduction_price, ", + "minus_price, order_from, ", + "discount_price, discount_num, ", + "give_goods_id, coupon_record_id, ", + "id_card_no, refund_time, ", + "content, address_data, ", + "offline_qrcode, integral, ", + "words, seller_comments)", + "values (#{storeId,jdbcType=INTEGER}, #{userId,jdbcType=INTEGER}, ", + "#{orderNo,jdbcType=VARCHAR}, #{totalPrice,jdbcType=DECIMAL}, ", + "#{payPrice,jdbcType=DECIMAL}, #{expressPrice,jdbcType=DECIMAL}, ", + "#{name,jdbcType=VARCHAR}, #{mobile,jdbcType=VARCHAR}, #{address,jdbcType=VARCHAR}, ", + "#{remark,jdbcType=VARCHAR}, #{isPay,jdbcType=SMALLINT}, ", + "#{payType,jdbcType=SMALLINT}, #{payTime,jdbcType=INTEGER}, ", + "#{isSend,jdbcType=SMALLINT}, #{sendTime,jdbcType=INTEGER}, ", + "#{express,jdbcType=VARCHAR}, #{expressNo,jdbcType=VARCHAR}, ", + "#{isConfirm,jdbcType=SMALLINT}, #{confirmTime,jdbcType=INTEGER}, ", + "#{isComment,jdbcType=SMALLINT}, #{applyDelete,jdbcType=SMALLINT}, ", + "#{addtime,jdbcType=INTEGER}, #{isDelete,jdbcType=SMALLINT}, ", + "#{isPrice,jdbcType=SMALLINT}, #{parentId,jdbcType=INTEGER}, ", + "#{firstPrice,jdbcType=DECIMAL}, #{secondPrice,jdbcType=DECIMAL}, ", + "#{thirdPrice,jdbcType=DECIMAL}, #{couponSubPrice,jdbcType=DECIMAL}, ", + "#{isOffline,jdbcType=INTEGER}, #{clerkId,jdbcType=INTEGER}, ", + "#{isCancel,jdbcType=SMALLINT}, #{beforeUpdatePrice,jdbcType=DECIMAL}, ", + "#{shopId,jdbcType=INTEGER}, #{discount,jdbcType=DECIMAL}, ", + "#{userCouponId,jdbcType=INTEGER}, #{giveIntegral,jdbcType=SMALLINT}, ", + "#{parentId1,jdbcType=INTEGER}, #{parentId2,jdbcType=INTEGER}, ", + "#{isSale,jdbcType=INTEGER}, #{version,jdbcType=VARCHAR}, ", + "#{expressPrice1,jdbcType=DECIMAL}, #{isRecycle,jdbcType=SMALLINT}, ", + "#{rebate,jdbcType=DECIMAL}, #{beforeUpdateExpress,jdbcType=DECIMAL}, ", + "#{mchId,jdbcType=INTEGER}, #{orderUnionId,jdbcType=INTEGER}, ", + "#{isTransfer,jdbcType=SMALLINT}, #{type,jdbcType=INTEGER}, ", + "#{sharePrice,jdbcType=DECIMAL}, #{isShow,jdbcType=SMALLINT}, ", + "#{currency,jdbcType=DECIMAL}, #{orderOrigin,jdbcType=BIT}, ", + "#{deliveryId,jdbcType=INTEGER}, #{deliveryStatus,jdbcType=BIT}, ", + "#{fyStatus,jdbcType=BIT}, #{fyjine,jdbcType=DECIMAL}, #{fysingle,jdbcType=DECIMAL}, ", + "#{mchFyjine,jdbcType=DECIMAL}, #{mchFysingle,jdbcType=DECIMAL}, ", + "#{isFan,jdbcType=BIT}, #{isDada,jdbcType=BIT}, #{shopPeisong,jdbcType=INTEGER}, ", + "#{isOpenOffline,jdbcType=BIT}, #{supplierId,jdbcType=INTEGER}, ", + "#{isSupTransfer,jdbcType=BIT}, #{dabaoPrice,jdbcType=DECIMAL}, ", + "#{settlementAmount,jdbcType=DECIMAL}, #{isSettlement,jdbcType=SMALLINT}, ", + "#{settlementTime,jdbcType=INTEGER}, #{isMchShop,jdbcType=BIT}, ", + "#{isDivideMoney,jdbcType=BIT}, #{transactionId,jdbcType=VARCHAR}, ", + "#{payUserId,jdbcType=INTEGER}, #{payTypeTrue,jdbcType=BIT}, ", + "#{isVgoods,jdbcType=INTEGER}, #{reductionPrice,jdbcType=DECIMAL}, ", + "#{minusPrice,jdbcType=DECIMAL}, #{orderFrom,jdbcType=INTEGER}, ", + "#{discountPrice,jdbcType=DECIMAL}, #{discountNum,jdbcType=DECIMAL}, ", + "#{giveGoodsId,jdbcType=INTEGER}, #{couponRecordId,jdbcType=VARCHAR}, ", + "#{idCardNo,jdbcType=VARCHAR}, #{refundTime,jdbcType=INTEGER}, ", + "#{content,jdbcType=LONGVARCHAR}, #{addressData,jdbcType=LONGVARCHAR}, ", + "#{offlineQrcode,jdbcType=LONGVARCHAR}, #{integral,jdbcType=LONGVARCHAR}, ", + "#{words,jdbcType=LONGVARCHAR}, #{sellerComments,jdbcType=LONGVARCHAR})" + }) + @Options(useGeneratedKeys=true,keyProperty="id") + int insert(CyymallOrderWithBLOBs record); + + @InsertProvider(type=CyymallOrderSqlProvider.class, method="insertSelective") + @Options(useGeneratedKeys=true,keyProperty="id") + int insertSelective(CyymallOrderWithBLOBs record); + + @SelectProvider(type=CyymallOrderSqlProvider.class, method="selectByExampleWithBLOBs") + @Results({ + @Result(column="id", property="id", jdbcType=JdbcType.INTEGER, id=true), + @Result(column="store_id", property="storeId", jdbcType=JdbcType.INTEGER), + @Result(column="user_id", property="userId", jdbcType=JdbcType.INTEGER), + @Result(column="order_no", property="orderNo", jdbcType=JdbcType.VARCHAR), + @Result(column="total_price", property="totalPrice", jdbcType=JdbcType.DECIMAL), + @Result(column="pay_price", property="payPrice", jdbcType=JdbcType.DECIMAL), + @Result(column="express_price", property="expressPrice", jdbcType=JdbcType.DECIMAL), + @Result(column="name", property="name", jdbcType=JdbcType.VARCHAR), + @Result(column="mobile", property="mobile", jdbcType=JdbcType.VARCHAR), + @Result(column="address", property="address", jdbcType=JdbcType.VARCHAR), + @Result(column="remark", property="remark", jdbcType=JdbcType.VARCHAR), + @Result(column="is_pay", property="isPay", jdbcType=JdbcType.SMALLINT), + @Result(column="pay_type", property="payType", jdbcType=JdbcType.SMALLINT), + @Result(column="pay_time", property="payTime", jdbcType=JdbcType.INTEGER), + @Result(column="is_send", property="isSend", jdbcType=JdbcType.SMALLINT), + @Result(column="send_time", property="sendTime", jdbcType=JdbcType.INTEGER), + @Result(column="express", property="express", jdbcType=JdbcType.VARCHAR), + @Result(column="express_no", property="expressNo", jdbcType=JdbcType.VARCHAR), + @Result(column="is_confirm", property="isConfirm", jdbcType=JdbcType.SMALLINT), + @Result(column="confirm_time", property="confirmTime", jdbcType=JdbcType.INTEGER), + @Result(column="is_comment", property="isComment", jdbcType=JdbcType.SMALLINT), + @Result(column="apply_delete", property="applyDelete", jdbcType=JdbcType.SMALLINT), + @Result(column="addtime", property="addtime", jdbcType=JdbcType.INTEGER), + @Result(column="is_delete", property="isDelete", jdbcType=JdbcType.SMALLINT), + @Result(column="is_price", property="isPrice", jdbcType=JdbcType.SMALLINT), + @Result(column="parent_id", property="parentId", jdbcType=JdbcType.INTEGER), + @Result(column="first_price", property="firstPrice", jdbcType=JdbcType.DECIMAL), + @Result(column="second_price", property="secondPrice", jdbcType=JdbcType.DECIMAL), + @Result(column="third_price", property="thirdPrice", jdbcType=JdbcType.DECIMAL), + @Result(column="coupon_sub_price", property="couponSubPrice", jdbcType=JdbcType.DECIMAL), + @Result(column="is_offline", property="isOffline", jdbcType=JdbcType.INTEGER), + @Result(column="clerk_id", property="clerkId", jdbcType=JdbcType.INTEGER), + @Result(column="is_cancel", property="isCancel", jdbcType=JdbcType.SMALLINT), + @Result(column="before_update_price", property="beforeUpdatePrice", jdbcType=JdbcType.DECIMAL), + @Result(column="shop_id", property="shopId", jdbcType=JdbcType.INTEGER), + @Result(column="discount", property="discount", jdbcType=JdbcType.DECIMAL), + @Result(column="user_coupon_id", property="userCouponId", jdbcType=JdbcType.INTEGER), + @Result(column="give_integral", property="giveIntegral", jdbcType=JdbcType.SMALLINT), + @Result(column="parent_id_1", property="parentId1", jdbcType=JdbcType.INTEGER), + @Result(column="parent_id_2", property="parentId2", jdbcType=JdbcType.INTEGER), + @Result(column="is_sale", property="isSale", jdbcType=JdbcType.INTEGER), + @Result(column="version", property="version", jdbcType=JdbcType.VARCHAR), + @Result(column="express_price_1", property="expressPrice1", jdbcType=JdbcType.DECIMAL), + @Result(column="is_recycle", property="isRecycle", jdbcType=JdbcType.SMALLINT), + @Result(column="rebate", property="rebate", jdbcType=JdbcType.DECIMAL), + @Result(column="before_update_express", property="beforeUpdateExpress", jdbcType=JdbcType.DECIMAL), + @Result(column="mch_id", property="mchId", jdbcType=JdbcType.INTEGER), + @Result(column="order_union_id", property="orderUnionId", jdbcType=JdbcType.INTEGER), + @Result(column="is_transfer", property="isTransfer", jdbcType=JdbcType.SMALLINT), + @Result(column="type", property="type", jdbcType=JdbcType.INTEGER), + @Result(column="share_price", property="sharePrice", jdbcType=JdbcType.DECIMAL), + @Result(column="is_show", property="isShow", jdbcType=JdbcType.SMALLINT), + @Result(column="currency", property="currency", jdbcType=JdbcType.DECIMAL), + @Result(column="order_origin", property="orderOrigin", jdbcType=JdbcType.BIT), + @Result(column="delivery_id", property="deliveryId", jdbcType=JdbcType.INTEGER), + @Result(column="delivery_status", property="deliveryStatus", jdbcType=JdbcType.BIT), + @Result(column="fy_status", property="fyStatus", jdbcType=JdbcType.BIT), + @Result(column="fyjine", property="fyjine", jdbcType=JdbcType.DECIMAL), + @Result(column="fysingle", property="fysingle", jdbcType=JdbcType.DECIMAL), + @Result(column="mch_fyjine", property="mchFyjine", jdbcType=JdbcType.DECIMAL), + @Result(column="mch_fysingle", property="mchFysingle", jdbcType=JdbcType.DECIMAL), + @Result(column="is_fan", property="isFan", jdbcType=JdbcType.BIT), + @Result(column="is_dada", property="isDada", jdbcType=JdbcType.BIT), + @Result(column="shop_peisong", property="shopPeisong", jdbcType=JdbcType.INTEGER), + @Result(column="is_open_offline", property="isOpenOffline", jdbcType=JdbcType.BIT), + @Result(column="supplier_id", property="supplierId", jdbcType=JdbcType.INTEGER), + @Result(column="is_sup_transfer", property="isSupTransfer", jdbcType=JdbcType.BIT), + @Result(column="dabao_price", property="dabaoPrice", jdbcType=JdbcType.DECIMAL), + @Result(column="settlement_amount", property="settlementAmount", jdbcType=JdbcType.DECIMAL), + @Result(column="is_settlement", property="isSettlement", jdbcType=JdbcType.SMALLINT), + @Result(column="settlement_time", property="settlementTime", jdbcType=JdbcType.INTEGER), + @Result(column="is_mch_shop", property="isMchShop", jdbcType=JdbcType.BIT), + @Result(column="is_divide_money", property="isDivideMoney", jdbcType=JdbcType.BIT), + @Result(column="transaction_id", property="transactionId", jdbcType=JdbcType.VARCHAR), + @Result(column="pay_user_id", property="payUserId", jdbcType=JdbcType.INTEGER), + @Result(column="pay_type_true", property="payTypeTrue", jdbcType=JdbcType.BIT), + @Result(column="is_vgoods", property="isVgoods", jdbcType=JdbcType.INTEGER), + @Result(column="reduction_price", property="reductionPrice", jdbcType=JdbcType.DECIMAL), + @Result(column="minus_price", property="minusPrice", jdbcType=JdbcType.DECIMAL), + @Result(column="order_from", property="orderFrom", jdbcType=JdbcType.INTEGER), + @Result(column="discount_price", property="discountPrice", jdbcType=JdbcType.DECIMAL), + @Result(column="discount_num", property="discountNum", jdbcType=JdbcType.DECIMAL), + @Result(column="give_goods_id", property="giveGoodsId", jdbcType=JdbcType.INTEGER), + @Result(column="coupon_record_id", property="couponRecordId", jdbcType=JdbcType.VARCHAR), + @Result(column="id_card_no", property="idCardNo", jdbcType=JdbcType.VARCHAR), + @Result(column="refund_time", property="refundTime", jdbcType=JdbcType.INTEGER), + @Result(column="content", property="content", jdbcType=JdbcType.LONGVARCHAR), + @Result(column="address_data", property="addressData", jdbcType=JdbcType.LONGVARCHAR), + @Result(column="offline_qrcode", property="offlineQrcode", jdbcType=JdbcType.LONGVARCHAR), + @Result(column="integral", property="integral", jdbcType=JdbcType.LONGVARCHAR), + @Result(column="words", property="words", jdbcType=JdbcType.LONGVARCHAR), + @Result(column="seller_comments", property="sellerComments", jdbcType=JdbcType.LONGVARCHAR) + }) + List selectByExampleWithBLOBs(CyymallOrderExample example); + + @SelectProvider(type=CyymallOrderSqlProvider.class, method="selectByExample") + @Results({ + @Result(column="id", property="id", jdbcType=JdbcType.INTEGER, id=true), + @Result(column="store_id", property="storeId", jdbcType=JdbcType.INTEGER), + @Result(column="user_id", property="userId", jdbcType=JdbcType.INTEGER), + @Result(column="order_no", property="orderNo", jdbcType=JdbcType.VARCHAR), + @Result(column="total_price", property="totalPrice", jdbcType=JdbcType.DECIMAL), + @Result(column="pay_price", property="payPrice", jdbcType=JdbcType.DECIMAL), + @Result(column="express_price", property="expressPrice", jdbcType=JdbcType.DECIMAL), + @Result(column="name", property="name", jdbcType=JdbcType.VARCHAR), + @Result(column="mobile", property="mobile", jdbcType=JdbcType.VARCHAR), + @Result(column="address", property="address", jdbcType=JdbcType.VARCHAR), + @Result(column="remark", property="remark", jdbcType=JdbcType.VARCHAR), + @Result(column="is_pay", property="isPay", jdbcType=JdbcType.SMALLINT), + @Result(column="pay_type", property="payType", jdbcType=JdbcType.SMALLINT), + @Result(column="pay_time", property="payTime", jdbcType=JdbcType.INTEGER), + @Result(column="is_send", property="isSend", jdbcType=JdbcType.SMALLINT), + @Result(column="send_time", property="sendTime", jdbcType=JdbcType.INTEGER), + @Result(column="express", property="express", jdbcType=JdbcType.VARCHAR), + @Result(column="express_no", property="expressNo", jdbcType=JdbcType.VARCHAR), + @Result(column="is_confirm", property="isConfirm", jdbcType=JdbcType.SMALLINT), + @Result(column="confirm_time", property="confirmTime", jdbcType=JdbcType.INTEGER), + @Result(column="is_comment", property="isComment", jdbcType=JdbcType.SMALLINT), + @Result(column="apply_delete", property="applyDelete", jdbcType=JdbcType.SMALLINT), + @Result(column="addtime", property="addtime", jdbcType=JdbcType.INTEGER), + @Result(column="is_delete", property="isDelete", jdbcType=JdbcType.SMALLINT), + @Result(column="is_price", property="isPrice", jdbcType=JdbcType.SMALLINT), + @Result(column="parent_id", property="parentId", jdbcType=JdbcType.INTEGER), + @Result(column="first_price", property="firstPrice", jdbcType=JdbcType.DECIMAL), + @Result(column="second_price", property="secondPrice", jdbcType=JdbcType.DECIMAL), + @Result(column="third_price", property="thirdPrice", jdbcType=JdbcType.DECIMAL), + @Result(column="coupon_sub_price", property="couponSubPrice", jdbcType=JdbcType.DECIMAL), + @Result(column="is_offline", property="isOffline", jdbcType=JdbcType.INTEGER), + @Result(column="clerk_id", property="clerkId", jdbcType=JdbcType.INTEGER), + @Result(column="is_cancel", property="isCancel", jdbcType=JdbcType.SMALLINT), + @Result(column="before_update_price", property="beforeUpdatePrice", jdbcType=JdbcType.DECIMAL), + @Result(column="shop_id", property="shopId", jdbcType=JdbcType.INTEGER), + @Result(column="discount", property="discount", jdbcType=JdbcType.DECIMAL), + @Result(column="user_coupon_id", property="userCouponId", jdbcType=JdbcType.INTEGER), + @Result(column="give_integral", property="giveIntegral", jdbcType=JdbcType.SMALLINT), + @Result(column="parent_id_1", property="parentId1", jdbcType=JdbcType.INTEGER), + @Result(column="parent_id_2", property="parentId2", jdbcType=JdbcType.INTEGER), + @Result(column="is_sale", property="isSale", jdbcType=JdbcType.INTEGER), + @Result(column="version", property="version", jdbcType=JdbcType.VARCHAR), + @Result(column="express_price_1", property="expressPrice1", jdbcType=JdbcType.DECIMAL), + @Result(column="is_recycle", property="isRecycle", jdbcType=JdbcType.SMALLINT), + @Result(column="rebate", property="rebate", jdbcType=JdbcType.DECIMAL), + @Result(column="before_update_express", property="beforeUpdateExpress", jdbcType=JdbcType.DECIMAL), + @Result(column="mch_id", property="mchId", jdbcType=JdbcType.INTEGER), + @Result(column="order_union_id", property="orderUnionId", jdbcType=JdbcType.INTEGER), + @Result(column="is_transfer", property="isTransfer", jdbcType=JdbcType.SMALLINT), + @Result(column="type", property="type", jdbcType=JdbcType.INTEGER), + @Result(column="share_price", property="sharePrice", jdbcType=JdbcType.DECIMAL), + @Result(column="is_show", property="isShow", jdbcType=JdbcType.SMALLINT), + @Result(column="currency", property="currency", jdbcType=JdbcType.DECIMAL), + @Result(column="order_origin", property="orderOrigin", jdbcType=JdbcType.BIT), + @Result(column="delivery_id", property="deliveryId", jdbcType=JdbcType.INTEGER), + @Result(column="delivery_status", property="deliveryStatus", jdbcType=JdbcType.BIT), + @Result(column="fy_status", property="fyStatus", jdbcType=JdbcType.BIT), + @Result(column="fyjine", property="fyjine", jdbcType=JdbcType.DECIMAL), + @Result(column="fysingle", property="fysingle", jdbcType=JdbcType.DECIMAL), + @Result(column="mch_fyjine", property="mchFyjine", jdbcType=JdbcType.DECIMAL), + @Result(column="mch_fysingle", property="mchFysingle", jdbcType=JdbcType.DECIMAL), + @Result(column="is_fan", property="isFan", jdbcType=JdbcType.BIT), + @Result(column="is_dada", property="isDada", jdbcType=JdbcType.BIT), + @Result(column="shop_peisong", property="shopPeisong", jdbcType=JdbcType.INTEGER), + @Result(column="is_open_offline", property="isOpenOffline", jdbcType=JdbcType.BIT), + @Result(column="supplier_id", property="supplierId", jdbcType=JdbcType.INTEGER), + @Result(column="is_sup_transfer", property="isSupTransfer", jdbcType=JdbcType.BIT), + @Result(column="dabao_price", property="dabaoPrice", jdbcType=JdbcType.DECIMAL), + @Result(column="settlement_amount", property="settlementAmount", jdbcType=JdbcType.DECIMAL), + @Result(column="is_settlement", property="isSettlement", jdbcType=JdbcType.SMALLINT), + @Result(column="settlement_time", property="settlementTime", jdbcType=JdbcType.INTEGER), + @Result(column="is_mch_shop", property="isMchShop", jdbcType=JdbcType.BIT), + @Result(column="is_divide_money", property="isDivideMoney", jdbcType=JdbcType.BIT), + @Result(column="transaction_id", property="transactionId", jdbcType=JdbcType.VARCHAR), + @Result(column="pay_user_id", property="payUserId", jdbcType=JdbcType.INTEGER), + @Result(column="pay_type_true", property="payTypeTrue", jdbcType=JdbcType.BIT), + @Result(column="is_vgoods", property="isVgoods", jdbcType=JdbcType.INTEGER), + @Result(column="reduction_price", property="reductionPrice", jdbcType=JdbcType.DECIMAL), + @Result(column="minus_price", property="minusPrice", jdbcType=JdbcType.DECIMAL), + @Result(column="order_from", property="orderFrom", jdbcType=JdbcType.INTEGER), + @Result(column="discount_price", property="discountPrice", jdbcType=JdbcType.DECIMAL), + @Result(column="discount_num", property="discountNum", jdbcType=JdbcType.DECIMAL), + @Result(column="give_goods_id", property="giveGoodsId", jdbcType=JdbcType.INTEGER), + @Result(column="coupon_record_id", property="couponRecordId", jdbcType=JdbcType.VARCHAR), + @Result(column="id_card_no", property="idCardNo", jdbcType=JdbcType.VARCHAR), + @Result(column="refund_time", property="refundTime", jdbcType=JdbcType.INTEGER) + }) + List selectByExample(CyymallOrderExample example); + + @Select({ + "select", + "id, store_id, user_id, order_no, total_price, pay_price, express_price, `name`, ", + "mobile, address, remark, is_pay, pay_type, pay_time, is_send, send_time, express, ", + "express_no, is_confirm, confirm_time, is_comment, apply_delete, addtime, is_delete, ", + "is_price, parent_id, first_price, second_price, third_price, coupon_sub_price, ", + "is_offline, clerk_id, is_cancel, before_update_price, shop_id, discount, user_coupon_id, ", + "give_integral, parent_id_1, parent_id_2, is_sale, version, express_price_1, ", + "is_recycle, rebate, before_update_express, mch_id, order_union_id, is_transfer, ", + "`type`, share_price, is_show, currency, order_origin, delivery_id, delivery_status, ", + "fy_status, fyjine, fysingle, mch_fyjine, mch_fysingle, is_fan, is_dada, shop_peisong, ", + "is_open_offline, supplier_id, is_sup_transfer, dabao_price, settlement_amount, ", + "is_settlement, settlement_time, is_mch_shop, is_divide_money, transaction_id, ", + "pay_user_id, pay_type_true, is_vgoods, reduction_price, minus_price, order_from, ", + "discount_price, discount_num, give_goods_id, coupon_record_id, id_card_no, refund_time, ", + "content, address_data, offline_qrcode, integral, words, seller_comments", + "from cyymall_order", + "where id = #{id,jdbcType=INTEGER}" + }) + @Results({ + @Result(column="id", property="id", jdbcType=JdbcType.INTEGER, id=true), + @Result(column="store_id", property="storeId", jdbcType=JdbcType.INTEGER), + @Result(column="user_id", property="userId", jdbcType=JdbcType.INTEGER), + @Result(column="order_no", property="orderNo", jdbcType=JdbcType.VARCHAR), + @Result(column="total_price", property="totalPrice", jdbcType=JdbcType.DECIMAL), + @Result(column="pay_price", property="payPrice", jdbcType=JdbcType.DECIMAL), + @Result(column="express_price", property="expressPrice", jdbcType=JdbcType.DECIMAL), + @Result(column="name", property="name", jdbcType=JdbcType.VARCHAR), + @Result(column="mobile", property="mobile", jdbcType=JdbcType.VARCHAR), + @Result(column="address", property="address", jdbcType=JdbcType.VARCHAR), + @Result(column="remark", property="remark", jdbcType=JdbcType.VARCHAR), + @Result(column="is_pay", property="isPay", jdbcType=JdbcType.SMALLINT), + @Result(column="pay_type", property="payType", jdbcType=JdbcType.SMALLINT), + @Result(column="pay_time", property="payTime", jdbcType=JdbcType.INTEGER), + @Result(column="is_send", property="isSend", jdbcType=JdbcType.SMALLINT), + @Result(column="send_time", property="sendTime", jdbcType=JdbcType.INTEGER), + @Result(column="express", property="express", jdbcType=JdbcType.VARCHAR), + @Result(column="express_no", property="expressNo", jdbcType=JdbcType.VARCHAR), + @Result(column="is_confirm", property="isConfirm", jdbcType=JdbcType.SMALLINT), + @Result(column="confirm_time", property="confirmTime", jdbcType=JdbcType.INTEGER), + @Result(column="is_comment", property="isComment", jdbcType=JdbcType.SMALLINT), + @Result(column="apply_delete", property="applyDelete", jdbcType=JdbcType.SMALLINT), + @Result(column="addtime", property="addtime", jdbcType=JdbcType.INTEGER), + @Result(column="is_delete", property="isDelete", jdbcType=JdbcType.SMALLINT), + @Result(column="is_price", property="isPrice", jdbcType=JdbcType.SMALLINT), + @Result(column="parent_id", property="parentId", jdbcType=JdbcType.INTEGER), + @Result(column="first_price", property="firstPrice", jdbcType=JdbcType.DECIMAL), + @Result(column="second_price", property="secondPrice", jdbcType=JdbcType.DECIMAL), + @Result(column="third_price", property="thirdPrice", jdbcType=JdbcType.DECIMAL), + @Result(column="coupon_sub_price", property="couponSubPrice", jdbcType=JdbcType.DECIMAL), + @Result(column="is_offline", property="isOffline", jdbcType=JdbcType.INTEGER), + @Result(column="clerk_id", property="clerkId", jdbcType=JdbcType.INTEGER), + @Result(column="is_cancel", property="isCancel", jdbcType=JdbcType.SMALLINT), + @Result(column="before_update_price", property="beforeUpdatePrice", jdbcType=JdbcType.DECIMAL), + @Result(column="shop_id", property="shopId", jdbcType=JdbcType.INTEGER), + @Result(column="discount", property="discount", jdbcType=JdbcType.DECIMAL), + @Result(column="user_coupon_id", property="userCouponId", jdbcType=JdbcType.INTEGER), + @Result(column="give_integral", property="giveIntegral", jdbcType=JdbcType.SMALLINT), + @Result(column="parent_id_1", property="parentId1", jdbcType=JdbcType.INTEGER), + @Result(column="parent_id_2", property="parentId2", jdbcType=JdbcType.INTEGER), + @Result(column="is_sale", property="isSale", jdbcType=JdbcType.INTEGER), + @Result(column="version", property="version", jdbcType=JdbcType.VARCHAR), + @Result(column="express_price_1", property="expressPrice1", jdbcType=JdbcType.DECIMAL), + @Result(column="is_recycle", property="isRecycle", jdbcType=JdbcType.SMALLINT), + @Result(column="rebate", property="rebate", jdbcType=JdbcType.DECIMAL), + @Result(column="before_update_express", property="beforeUpdateExpress", jdbcType=JdbcType.DECIMAL), + @Result(column="mch_id", property="mchId", jdbcType=JdbcType.INTEGER), + @Result(column="order_union_id", property="orderUnionId", jdbcType=JdbcType.INTEGER), + @Result(column="is_transfer", property="isTransfer", jdbcType=JdbcType.SMALLINT), + @Result(column="type", property="type", jdbcType=JdbcType.INTEGER), + @Result(column="share_price", property="sharePrice", jdbcType=JdbcType.DECIMAL), + @Result(column="is_show", property="isShow", jdbcType=JdbcType.SMALLINT), + @Result(column="currency", property="currency", jdbcType=JdbcType.DECIMAL), + @Result(column="order_origin", property="orderOrigin", jdbcType=JdbcType.BIT), + @Result(column="delivery_id", property="deliveryId", jdbcType=JdbcType.INTEGER), + @Result(column="delivery_status", property="deliveryStatus", jdbcType=JdbcType.BIT), + @Result(column="fy_status", property="fyStatus", jdbcType=JdbcType.BIT), + @Result(column="fyjine", property="fyjine", jdbcType=JdbcType.DECIMAL), + @Result(column="fysingle", property="fysingle", jdbcType=JdbcType.DECIMAL), + @Result(column="mch_fyjine", property="mchFyjine", jdbcType=JdbcType.DECIMAL), + @Result(column="mch_fysingle", property="mchFysingle", jdbcType=JdbcType.DECIMAL), + @Result(column="is_fan", property="isFan", jdbcType=JdbcType.BIT), + @Result(column="is_dada", property="isDada", jdbcType=JdbcType.BIT), + @Result(column="shop_peisong", property="shopPeisong", jdbcType=JdbcType.INTEGER), + @Result(column="is_open_offline", property="isOpenOffline", jdbcType=JdbcType.BIT), + @Result(column="supplier_id", property="supplierId", jdbcType=JdbcType.INTEGER), + @Result(column="is_sup_transfer", property="isSupTransfer", jdbcType=JdbcType.BIT), + @Result(column="dabao_price", property="dabaoPrice", jdbcType=JdbcType.DECIMAL), + @Result(column="settlement_amount", property="settlementAmount", jdbcType=JdbcType.DECIMAL), + @Result(column="is_settlement", property="isSettlement", jdbcType=JdbcType.SMALLINT), + @Result(column="settlement_time", property="settlementTime", jdbcType=JdbcType.INTEGER), + @Result(column="is_mch_shop", property="isMchShop", jdbcType=JdbcType.BIT), + @Result(column="is_divide_money", property="isDivideMoney", jdbcType=JdbcType.BIT), + @Result(column="transaction_id", property="transactionId", jdbcType=JdbcType.VARCHAR), + @Result(column="pay_user_id", property="payUserId", jdbcType=JdbcType.INTEGER), + @Result(column="pay_type_true", property="payTypeTrue", jdbcType=JdbcType.BIT), + @Result(column="is_vgoods", property="isVgoods", jdbcType=JdbcType.INTEGER), + @Result(column="reduction_price", property="reductionPrice", jdbcType=JdbcType.DECIMAL), + @Result(column="minus_price", property="minusPrice", jdbcType=JdbcType.DECIMAL), + @Result(column="order_from", property="orderFrom", jdbcType=JdbcType.INTEGER), + @Result(column="discount_price", property="discountPrice", jdbcType=JdbcType.DECIMAL), + @Result(column="discount_num", property="discountNum", jdbcType=JdbcType.DECIMAL), + @Result(column="give_goods_id", property="giveGoodsId", jdbcType=JdbcType.INTEGER), + @Result(column="coupon_record_id", property="couponRecordId", jdbcType=JdbcType.VARCHAR), + @Result(column="id_card_no", property="idCardNo", jdbcType=JdbcType.VARCHAR), + @Result(column="refund_time", property="refundTime", jdbcType=JdbcType.INTEGER), + @Result(column="content", property="content", jdbcType=JdbcType.LONGVARCHAR), + @Result(column="address_data", property="addressData", jdbcType=JdbcType.LONGVARCHAR), + @Result(column="offline_qrcode", property="offlineQrcode", jdbcType=JdbcType.LONGVARCHAR), + @Result(column="integral", property="integral", jdbcType=JdbcType.LONGVARCHAR), + @Result(column="words", property="words", jdbcType=JdbcType.LONGVARCHAR), + @Result(column="seller_comments", property="sellerComments", jdbcType=JdbcType.LONGVARCHAR) + }) + CyymallOrderWithBLOBs selectByPrimaryKey(Integer id); + + @UpdateProvider(type=CyymallOrderSqlProvider.class, method="updateByExampleSelective") + int updateByExampleSelective(@Param("record") CyymallOrderWithBLOBs record, @Param("example") CyymallOrderExample example); + + @UpdateProvider(type=CyymallOrderSqlProvider.class, method="updateByExampleWithBLOBs") + int updateByExampleWithBLOBs(@Param("record") CyymallOrderWithBLOBs record, @Param("example") CyymallOrderExample example); + + @UpdateProvider(type=CyymallOrderSqlProvider.class, method="updateByExample") + int updateByExample(@Param("record") CyymallOrder record, @Param("example") CyymallOrderExample example); + + @UpdateProvider(type=CyymallOrderSqlProvider.class, method="updateByPrimaryKeySelective") + int updateByPrimaryKeySelective(CyymallOrderWithBLOBs record); + + @Update({ + "update cyymall_order", + "set store_id = #{storeId,jdbcType=INTEGER},", + "user_id = #{userId,jdbcType=INTEGER},", + "order_no = #{orderNo,jdbcType=VARCHAR},", + "total_price = #{totalPrice,jdbcType=DECIMAL},", + "pay_price = #{payPrice,jdbcType=DECIMAL},", + "express_price = #{expressPrice,jdbcType=DECIMAL},", + "`name` = #{name,jdbcType=VARCHAR},", + "mobile = #{mobile,jdbcType=VARCHAR},", + "address = #{address,jdbcType=VARCHAR},", + "remark = #{remark,jdbcType=VARCHAR},", + "is_pay = #{isPay,jdbcType=SMALLINT},", + "pay_type = #{payType,jdbcType=SMALLINT},", + "pay_time = #{payTime,jdbcType=INTEGER},", + "is_send = #{isSend,jdbcType=SMALLINT},", + "send_time = #{sendTime,jdbcType=INTEGER},", + "express = #{express,jdbcType=VARCHAR},", + "express_no = #{expressNo,jdbcType=VARCHAR},", + "is_confirm = #{isConfirm,jdbcType=SMALLINT},", + "confirm_time = #{confirmTime,jdbcType=INTEGER},", + "is_comment = #{isComment,jdbcType=SMALLINT},", + "apply_delete = #{applyDelete,jdbcType=SMALLINT},", + "addtime = #{addtime,jdbcType=INTEGER},", + "is_delete = #{isDelete,jdbcType=SMALLINT},", + "is_price = #{isPrice,jdbcType=SMALLINT},", + "parent_id = #{parentId,jdbcType=INTEGER},", + "first_price = #{firstPrice,jdbcType=DECIMAL},", + "second_price = #{secondPrice,jdbcType=DECIMAL},", + "third_price = #{thirdPrice,jdbcType=DECIMAL},", + "coupon_sub_price = #{couponSubPrice,jdbcType=DECIMAL},", + "is_offline = #{isOffline,jdbcType=INTEGER},", + "clerk_id = #{clerkId,jdbcType=INTEGER},", + "is_cancel = #{isCancel,jdbcType=SMALLINT},", + "before_update_price = #{beforeUpdatePrice,jdbcType=DECIMAL},", + "shop_id = #{shopId,jdbcType=INTEGER},", + "discount = #{discount,jdbcType=DECIMAL},", + "user_coupon_id = #{userCouponId,jdbcType=INTEGER},", + "give_integral = #{giveIntegral,jdbcType=SMALLINT},", + "parent_id_1 = #{parentId1,jdbcType=INTEGER},", + "parent_id_2 = #{parentId2,jdbcType=INTEGER},", + "is_sale = #{isSale,jdbcType=INTEGER},", + "version = #{version,jdbcType=VARCHAR},", + "express_price_1 = #{expressPrice1,jdbcType=DECIMAL},", + "is_recycle = #{isRecycle,jdbcType=SMALLINT},", + "rebate = #{rebate,jdbcType=DECIMAL},", + "before_update_express = #{beforeUpdateExpress,jdbcType=DECIMAL},", + "mch_id = #{mchId,jdbcType=INTEGER},", + "order_union_id = #{orderUnionId,jdbcType=INTEGER},", + "is_transfer = #{isTransfer,jdbcType=SMALLINT},", + "`type` = #{type,jdbcType=INTEGER},", + "share_price = #{sharePrice,jdbcType=DECIMAL},", + "is_show = #{isShow,jdbcType=SMALLINT},", + "currency = #{currency,jdbcType=DECIMAL},", + "order_origin = #{orderOrigin,jdbcType=BIT},", + "delivery_id = #{deliveryId,jdbcType=INTEGER},", + "delivery_status = #{deliveryStatus,jdbcType=BIT},", + "fy_status = #{fyStatus,jdbcType=BIT},", + "fyjine = #{fyjine,jdbcType=DECIMAL},", + "fysingle = #{fysingle,jdbcType=DECIMAL},", + "mch_fyjine = #{mchFyjine,jdbcType=DECIMAL},", + "mch_fysingle = #{mchFysingle,jdbcType=DECIMAL},", + "is_fan = #{isFan,jdbcType=BIT},", + "is_dada = #{isDada,jdbcType=BIT},", + "shop_peisong = #{shopPeisong,jdbcType=INTEGER},", + "is_open_offline = #{isOpenOffline,jdbcType=BIT},", + "supplier_id = #{supplierId,jdbcType=INTEGER},", + "is_sup_transfer = #{isSupTransfer,jdbcType=BIT},", + "dabao_price = #{dabaoPrice,jdbcType=DECIMAL},", + "settlement_amount = #{settlementAmount,jdbcType=DECIMAL},", + "is_settlement = #{isSettlement,jdbcType=SMALLINT},", + "settlement_time = #{settlementTime,jdbcType=INTEGER},", + "is_mch_shop = #{isMchShop,jdbcType=BIT},", + "is_divide_money = #{isDivideMoney,jdbcType=BIT},", + "transaction_id = #{transactionId,jdbcType=VARCHAR},", + "pay_user_id = #{payUserId,jdbcType=INTEGER},", + "pay_type_true = #{payTypeTrue,jdbcType=BIT},", + "is_vgoods = #{isVgoods,jdbcType=INTEGER},", + "reduction_price = #{reductionPrice,jdbcType=DECIMAL},", + "minus_price = #{minusPrice,jdbcType=DECIMAL},", + "order_from = #{orderFrom,jdbcType=INTEGER},", + "discount_price = #{discountPrice,jdbcType=DECIMAL},", + "discount_num = #{discountNum,jdbcType=DECIMAL},", + "give_goods_id = #{giveGoodsId,jdbcType=INTEGER},", + "coupon_record_id = #{couponRecordId,jdbcType=VARCHAR},", + "id_card_no = #{idCardNo,jdbcType=VARCHAR},", + "refund_time = #{refundTime,jdbcType=INTEGER},", + "content = #{content,jdbcType=LONGVARCHAR},", + "address_data = #{addressData,jdbcType=LONGVARCHAR},", + "offline_qrcode = #{offlineQrcode,jdbcType=LONGVARCHAR},", + "integral = #{integral,jdbcType=LONGVARCHAR},", + "words = #{words,jdbcType=LONGVARCHAR},", + "seller_comments = #{sellerComments,jdbcType=LONGVARCHAR}", + "where id = #{id,jdbcType=INTEGER}" + }) + int updateByPrimaryKeyWithBLOBs(CyymallOrderWithBLOBs record); + + @Update({ + "update cyymall_order", + "set store_id = #{storeId,jdbcType=INTEGER},", + "user_id = #{userId,jdbcType=INTEGER},", + "order_no = #{orderNo,jdbcType=VARCHAR},", + "total_price = #{totalPrice,jdbcType=DECIMAL},", + "pay_price = #{payPrice,jdbcType=DECIMAL},", + "express_price = #{expressPrice,jdbcType=DECIMAL},", + "`name` = #{name,jdbcType=VARCHAR},", + "mobile = #{mobile,jdbcType=VARCHAR},", + "address = #{address,jdbcType=VARCHAR},", + "remark = #{remark,jdbcType=VARCHAR},", + "is_pay = #{isPay,jdbcType=SMALLINT},", + "pay_type = #{payType,jdbcType=SMALLINT},", + "pay_time = #{payTime,jdbcType=INTEGER},", + "is_send = #{isSend,jdbcType=SMALLINT},", + "send_time = #{sendTime,jdbcType=INTEGER},", + "express = #{express,jdbcType=VARCHAR},", + "express_no = #{expressNo,jdbcType=VARCHAR},", + "is_confirm = #{isConfirm,jdbcType=SMALLINT},", + "confirm_time = #{confirmTime,jdbcType=INTEGER},", + "is_comment = #{isComment,jdbcType=SMALLINT},", + "apply_delete = #{applyDelete,jdbcType=SMALLINT},", + "addtime = #{addtime,jdbcType=INTEGER},", + "is_delete = #{isDelete,jdbcType=SMALLINT},", + "is_price = #{isPrice,jdbcType=SMALLINT},", + "parent_id = #{parentId,jdbcType=INTEGER},", + "first_price = #{firstPrice,jdbcType=DECIMAL},", + "second_price = #{secondPrice,jdbcType=DECIMAL},", + "third_price = #{thirdPrice,jdbcType=DECIMAL},", + "coupon_sub_price = #{couponSubPrice,jdbcType=DECIMAL},", + "is_offline = #{isOffline,jdbcType=INTEGER},", + "clerk_id = #{clerkId,jdbcType=INTEGER},", + "is_cancel = #{isCancel,jdbcType=SMALLINT},", + "before_update_price = #{beforeUpdatePrice,jdbcType=DECIMAL},", + "shop_id = #{shopId,jdbcType=INTEGER},", + "discount = #{discount,jdbcType=DECIMAL},", + "user_coupon_id = #{userCouponId,jdbcType=INTEGER},", + "give_integral = #{giveIntegral,jdbcType=SMALLINT},", + "parent_id_1 = #{parentId1,jdbcType=INTEGER},", + "parent_id_2 = #{parentId2,jdbcType=INTEGER},", + "is_sale = #{isSale,jdbcType=INTEGER},", + "version = #{version,jdbcType=VARCHAR},", + "express_price_1 = #{expressPrice1,jdbcType=DECIMAL},", + "is_recycle = #{isRecycle,jdbcType=SMALLINT},", + "rebate = #{rebate,jdbcType=DECIMAL},", + "before_update_express = #{beforeUpdateExpress,jdbcType=DECIMAL},", + "mch_id = #{mchId,jdbcType=INTEGER},", + "order_union_id = #{orderUnionId,jdbcType=INTEGER},", + "is_transfer = #{isTransfer,jdbcType=SMALLINT},", + "`type` = #{type,jdbcType=INTEGER},", + "share_price = #{sharePrice,jdbcType=DECIMAL},", + "is_show = #{isShow,jdbcType=SMALLINT},", + "currency = #{currency,jdbcType=DECIMAL},", + "order_origin = #{orderOrigin,jdbcType=BIT},", + "delivery_id = #{deliveryId,jdbcType=INTEGER},", + "delivery_status = #{deliveryStatus,jdbcType=BIT},", + "fy_status = #{fyStatus,jdbcType=BIT},", + "fyjine = #{fyjine,jdbcType=DECIMAL},", + "fysingle = #{fysingle,jdbcType=DECIMAL},", + "mch_fyjine = #{mchFyjine,jdbcType=DECIMAL},", + "mch_fysingle = #{mchFysingle,jdbcType=DECIMAL},", + "is_fan = #{isFan,jdbcType=BIT},", + "is_dada = #{isDada,jdbcType=BIT},", + "shop_peisong = #{shopPeisong,jdbcType=INTEGER},", + "is_open_offline = #{isOpenOffline,jdbcType=BIT},", + "supplier_id = #{supplierId,jdbcType=INTEGER},", + "is_sup_transfer = #{isSupTransfer,jdbcType=BIT},", + "dabao_price = #{dabaoPrice,jdbcType=DECIMAL},", + "settlement_amount = #{settlementAmount,jdbcType=DECIMAL},", + "is_settlement = #{isSettlement,jdbcType=SMALLINT},", + "settlement_time = #{settlementTime,jdbcType=INTEGER},", + "is_mch_shop = #{isMchShop,jdbcType=BIT},", + "is_divide_money = #{isDivideMoney,jdbcType=BIT},", + "transaction_id = #{transactionId,jdbcType=VARCHAR},", + "pay_user_id = #{payUserId,jdbcType=INTEGER},", + "pay_type_true = #{payTypeTrue,jdbcType=BIT},", + "is_vgoods = #{isVgoods,jdbcType=INTEGER},", + "reduction_price = #{reductionPrice,jdbcType=DECIMAL},", + "minus_price = #{minusPrice,jdbcType=DECIMAL},", + "order_from = #{orderFrom,jdbcType=INTEGER},", + "discount_price = #{discountPrice,jdbcType=DECIMAL},", + "discount_num = #{discountNum,jdbcType=DECIMAL},", + "give_goods_id = #{giveGoodsId,jdbcType=INTEGER},", + "coupon_record_id = #{couponRecordId,jdbcType=VARCHAR},", + "id_card_no = #{idCardNo,jdbcType=VARCHAR},", + "refund_time = #{refundTime,jdbcType=INTEGER}", + "where id = #{id,jdbcType=INTEGER}" + }) + int updateByPrimaryKey(CyymallOrder record); +} \ No newline at end of file diff --git a/service/src/main/java/com/hfkj/dao/CyymallOrderMapperExt.java b/service/src/main/java/com/hfkj/dao/CyymallOrderMapperExt.java new file mode 100644 index 0000000..72a09ae --- /dev/null +++ b/service/src/main/java/com/hfkj/dao/CyymallOrderMapperExt.java @@ -0,0 +1,7 @@ +package com.hfkj.dao; + +/** + * mapper扩展类 + */ +public interface CyymallOrderMapperExt { +} \ No newline at end of file diff --git a/service/src/main/java/com/hfkj/dao/CyymallOrderSqlProvider.java b/service/src/main/java/com/hfkj/dao/CyymallOrderSqlProvider.java new file mode 100644 index 0000000..1bdcf60 --- /dev/null +++ b/service/src/main/java/com/hfkj/dao/CyymallOrderSqlProvider.java @@ -0,0 +1,1650 @@ +package com.hfkj.dao; + +import com.hfkj.entity.CyymallOrderExample.Criteria; +import com.hfkj.entity.CyymallOrderExample.Criterion; +import com.hfkj.entity.CyymallOrderExample; +import com.hfkj.entity.CyymallOrderWithBLOBs; +import java.util.List; +import java.util.Map; +import org.apache.ibatis.jdbc.SQL; + +public class CyymallOrderSqlProvider { + + public String countByExample(CyymallOrderExample example) { + SQL sql = new SQL(); + sql.SELECT("count(*)").FROM("cyymall_order"); + applyWhere(sql, example, false); + return sql.toString(); + } + + public String deleteByExample(CyymallOrderExample example) { + SQL sql = new SQL(); + sql.DELETE_FROM("cyymall_order"); + applyWhere(sql, example, false); + return sql.toString(); + } + + public String insertSelective(CyymallOrderWithBLOBs record) { + SQL sql = new SQL(); + sql.INSERT_INTO("cyymall_order"); + + if (record.getStoreId() != null) { + sql.VALUES("store_id", "#{storeId,jdbcType=INTEGER}"); + } + + if (record.getUserId() != null) { + sql.VALUES("user_id", "#{userId,jdbcType=INTEGER}"); + } + + if (record.getOrderNo() != null) { + sql.VALUES("order_no", "#{orderNo,jdbcType=VARCHAR}"); + } + + if (record.getTotalPrice() != null) { + sql.VALUES("total_price", "#{totalPrice,jdbcType=DECIMAL}"); + } + + if (record.getPayPrice() != null) { + sql.VALUES("pay_price", "#{payPrice,jdbcType=DECIMAL}"); + } + + if (record.getExpressPrice() != null) { + sql.VALUES("express_price", "#{expressPrice,jdbcType=DECIMAL}"); + } + + if (record.getName() != null) { + sql.VALUES("`name`", "#{name,jdbcType=VARCHAR}"); + } + + if (record.getMobile() != null) { + sql.VALUES("mobile", "#{mobile,jdbcType=VARCHAR}"); + } + + if (record.getAddress() != null) { + sql.VALUES("address", "#{address,jdbcType=VARCHAR}"); + } + + if (record.getRemark() != null) { + sql.VALUES("remark", "#{remark,jdbcType=VARCHAR}"); + } + + if (record.getIsPay() != null) { + sql.VALUES("is_pay", "#{isPay,jdbcType=SMALLINT}"); + } + + if (record.getPayType() != null) { + sql.VALUES("pay_type", "#{payType,jdbcType=SMALLINT}"); + } + + if (record.getPayTime() != null) { + sql.VALUES("pay_time", "#{payTime,jdbcType=INTEGER}"); + } + + if (record.getIsSend() != null) { + sql.VALUES("is_send", "#{isSend,jdbcType=SMALLINT}"); + } + + if (record.getSendTime() != null) { + sql.VALUES("send_time", "#{sendTime,jdbcType=INTEGER}"); + } + + if (record.getExpress() != null) { + sql.VALUES("express", "#{express,jdbcType=VARCHAR}"); + } + + if (record.getExpressNo() != null) { + sql.VALUES("express_no", "#{expressNo,jdbcType=VARCHAR}"); + } + + if (record.getIsConfirm() != null) { + sql.VALUES("is_confirm", "#{isConfirm,jdbcType=SMALLINT}"); + } + + if (record.getConfirmTime() != null) { + sql.VALUES("confirm_time", "#{confirmTime,jdbcType=INTEGER}"); + } + + if (record.getIsComment() != null) { + sql.VALUES("is_comment", "#{isComment,jdbcType=SMALLINT}"); + } + + if (record.getApplyDelete() != null) { + sql.VALUES("apply_delete", "#{applyDelete,jdbcType=SMALLINT}"); + } + + if (record.getAddtime() != null) { + sql.VALUES("addtime", "#{addtime,jdbcType=INTEGER}"); + } + + if (record.getIsDelete() != null) { + sql.VALUES("is_delete", "#{isDelete,jdbcType=SMALLINT}"); + } + + if (record.getIsPrice() != null) { + sql.VALUES("is_price", "#{isPrice,jdbcType=SMALLINT}"); + } + + if (record.getParentId() != null) { + sql.VALUES("parent_id", "#{parentId,jdbcType=INTEGER}"); + } + + if (record.getFirstPrice() != null) { + sql.VALUES("first_price", "#{firstPrice,jdbcType=DECIMAL}"); + } + + if (record.getSecondPrice() != null) { + sql.VALUES("second_price", "#{secondPrice,jdbcType=DECIMAL}"); + } + + if (record.getThirdPrice() != null) { + sql.VALUES("third_price", "#{thirdPrice,jdbcType=DECIMAL}"); + } + + if (record.getCouponSubPrice() != null) { + sql.VALUES("coupon_sub_price", "#{couponSubPrice,jdbcType=DECIMAL}"); + } + + if (record.getIsOffline() != null) { + sql.VALUES("is_offline", "#{isOffline,jdbcType=INTEGER}"); + } + + if (record.getClerkId() != null) { + sql.VALUES("clerk_id", "#{clerkId,jdbcType=INTEGER}"); + } + + if (record.getIsCancel() != null) { + sql.VALUES("is_cancel", "#{isCancel,jdbcType=SMALLINT}"); + } + + if (record.getBeforeUpdatePrice() != null) { + sql.VALUES("before_update_price", "#{beforeUpdatePrice,jdbcType=DECIMAL}"); + } + + if (record.getShopId() != null) { + sql.VALUES("shop_id", "#{shopId,jdbcType=INTEGER}"); + } + + if (record.getDiscount() != null) { + sql.VALUES("discount", "#{discount,jdbcType=DECIMAL}"); + } + + if (record.getUserCouponId() != null) { + sql.VALUES("user_coupon_id", "#{userCouponId,jdbcType=INTEGER}"); + } + + if (record.getGiveIntegral() != null) { + sql.VALUES("give_integral", "#{giveIntegral,jdbcType=SMALLINT}"); + } + + if (record.getParentId1() != null) { + sql.VALUES("parent_id_1", "#{parentId1,jdbcType=INTEGER}"); + } + + if (record.getParentId2() != null) { + sql.VALUES("parent_id_2", "#{parentId2,jdbcType=INTEGER}"); + } + + if (record.getIsSale() != null) { + sql.VALUES("is_sale", "#{isSale,jdbcType=INTEGER}"); + } + + if (record.getVersion() != null) { + sql.VALUES("version", "#{version,jdbcType=VARCHAR}"); + } + + if (record.getExpressPrice1() != null) { + sql.VALUES("express_price_1", "#{expressPrice1,jdbcType=DECIMAL}"); + } + + if (record.getIsRecycle() != null) { + sql.VALUES("is_recycle", "#{isRecycle,jdbcType=SMALLINT}"); + } + + if (record.getRebate() != null) { + sql.VALUES("rebate", "#{rebate,jdbcType=DECIMAL}"); + } + + if (record.getBeforeUpdateExpress() != null) { + sql.VALUES("before_update_express", "#{beforeUpdateExpress,jdbcType=DECIMAL}"); + } + + if (record.getMchId() != null) { + sql.VALUES("mch_id", "#{mchId,jdbcType=INTEGER}"); + } + + if (record.getOrderUnionId() != null) { + sql.VALUES("order_union_id", "#{orderUnionId,jdbcType=INTEGER}"); + } + + if (record.getIsTransfer() != null) { + sql.VALUES("is_transfer", "#{isTransfer,jdbcType=SMALLINT}"); + } + + if (record.getType() != null) { + sql.VALUES("`type`", "#{type,jdbcType=INTEGER}"); + } + + if (record.getSharePrice() != null) { + sql.VALUES("share_price", "#{sharePrice,jdbcType=DECIMAL}"); + } + + if (record.getIsShow() != null) { + sql.VALUES("is_show", "#{isShow,jdbcType=SMALLINT}"); + } + + if (record.getCurrency() != null) { + sql.VALUES("currency", "#{currency,jdbcType=DECIMAL}"); + } + + if (record.getOrderOrigin() != null) { + sql.VALUES("order_origin", "#{orderOrigin,jdbcType=BIT}"); + } + + if (record.getDeliveryId() != null) { + sql.VALUES("delivery_id", "#{deliveryId,jdbcType=INTEGER}"); + } + + if (record.getDeliveryStatus() != null) { + sql.VALUES("delivery_status", "#{deliveryStatus,jdbcType=BIT}"); + } + + if (record.getFyStatus() != null) { + sql.VALUES("fy_status", "#{fyStatus,jdbcType=BIT}"); + } + + if (record.getFyjine() != null) { + sql.VALUES("fyjine", "#{fyjine,jdbcType=DECIMAL}"); + } + + if (record.getFysingle() != null) { + sql.VALUES("fysingle", "#{fysingle,jdbcType=DECIMAL}"); + } + + if (record.getMchFyjine() != null) { + sql.VALUES("mch_fyjine", "#{mchFyjine,jdbcType=DECIMAL}"); + } + + if (record.getMchFysingle() != null) { + sql.VALUES("mch_fysingle", "#{mchFysingle,jdbcType=DECIMAL}"); + } + + if (record.getIsFan() != null) { + sql.VALUES("is_fan", "#{isFan,jdbcType=BIT}"); + } + + if (record.getIsDada() != null) { + sql.VALUES("is_dada", "#{isDada,jdbcType=BIT}"); + } + + if (record.getShopPeisong() != null) { + sql.VALUES("shop_peisong", "#{shopPeisong,jdbcType=INTEGER}"); + } + + if (record.getIsOpenOffline() != null) { + sql.VALUES("is_open_offline", "#{isOpenOffline,jdbcType=BIT}"); + } + + if (record.getSupplierId() != null) { + sql.VALUES("supplier_id", "#{supplierId,jdbcType=INTEGER}"); + } + + if (record.getIsSupTransfer() != null) { + sql.VALUES("is_sup_transfer", "#{isSupTransfer,jdbcType=BIT}"); + } + + if (record.getDabaoPrice() != null) { + sql.VALUES("dabao_price", "#{dabaoPrice,jdbcType=DECIMAL}"); + } + + if (record.getSettlementAmount() != null) { + sql.VALUES("settlement_amount", "#{settlementAmount,jdbcType=DECIMAL}"); + } + + if (record.getIsSettlement() != null) { + sql.VALUES("is_settlement", "#{isSettlement,jdbcType=SMALLINT}"); + } + + if (record.getSettlementTime() != null) { + sql.VALUES("settlement_time", "#{settlementTime,jdbcType=INTEGER}"); + } + + if (record.getIsMchShop() != null) { + sql.VALUES("is_mch_shop", "#{isMchShop,jdbcType=BIT}"); + } + + if (record.getIsDivideMoney() != null) { + sql.VALUES("is_divide_money", "#{isDivideMoney,jdbcType=BIT}"); + } + + if (record.getTransactionId() != null) { + sql.VALUES("transaction_id", "#{transactionId,jdbcType=VARCHAR}"); + } + + if (record.getPayUserId() != null) { + sql.VALUES("pay_user_id", "#{payUserId,jdbcType=INTEGER}"); + } + + if (record.getPayTypeTrue() != null) { + sql.VALUES("pay_type_true", "#{payTypeTrue,jdbcType=BIT}"); + } + + if (record.getIsVgoods() != null) { + sql.VALUES("is_vgoods", "#{isVgoods,jdbcType=INTEGER}"); + } + + if (record.getReductionPrice() != null) { + sql.VALUES("reduction_price", "#{reductionPrice,jdbcType=DECIMAL}"); + } + + if (record.getMinusPrice() != null) { + sql.VALUES("minus_price", "#{minusPrice,jdbcType=DECIMAL}"); + } + + if (record.getOrderFrom() != null) { + sql.VALUES("order_from", "#{orderFrom,jdbcType=INTEGER}"); + } + + if (record.getDiscountPrice() != null) { + sql.VALUES("discount_price", "#{discountPrice,jdbcType=DECIMAL}"); + } + + if (record.getDiscountNum() != null) { + sql.VALUES("discount_num", "#{discountNum,jdbcType=DECIMAL}"); + } + + if (record.getGiveGoodsId() != null) { + sql.VALUES("give_goods_id", "#{giveGoodsId,jdbcType=INTEGER}"); + } + + if (record.getCouponRecordId() != null) { + sql.VALUES("coupon_record_id", "#{couponRecordId,jdbcType=VARCHAR}"); + } + + if (record.getIdCardNo() != null) { + sql.VALUES("id_card_no", "#{idCardNo,jdbcType=VARCHAR}"); + } + + if (record.getRefundTime() != null) { + sql.VALUES("refund_time", "#{refundTime,jdbcType=INTEGER}"); + } + + if (record.getContent() != null) { + sql.VALUES("content", "#{content,jdbcType=LONGVARCHAR}"); + } + + if (record.getAddressData() != null) { + sql.VALUES("address_data", "#{addressData,jdbcType=LONGVARCHAR}"); + } + + if (record.getOfflineQrcode() != null) { + sql.VALUES("offline_qrcode", "#{offlineQrcode,jdbcType=LONGVARCHAR}"); + } + + if (record.getIntegral() != null) { + sql.VALUES("integral", "#{integral,jdbcType=LONGVARCHAR}"); + } + + if (record.getWords() != null) { + sql.VALUES("words", "#{words,jdbcType=LONGVARCHAR}"); + } + + if (record.getSellerComments() != null) { + sql.VALUES("seller_comments", "#{sellerComments,jdbcType=LONGVARCHAR}"); + } + + return sql.toString(); + } + + public String selectByExampleWithBLOBs(CyymallOrderExample example) { + SQL sql = new SQL(); + if (example != null && example.isDistinct()) { + sql.SELECT_DISTINCT("id"); + } else { + sql.SELECT("id"); + } + sql.SELECT("store_id"); + sql.SELECT("user_id"); + sql.SELECT("order_no"); + sql.SELECT("total_price"); + sql.SELECT("pay_price"); + sql.SELECT("express_price"); + sql.SELECT("`name`"); + sql.SELECT("mobile"); + sql.SELECT("address"); + sql.SELECT("remark"); + sql.SELECT("is_pay"); + sql.SELECT("pay_type"); + sql.SELECT("pay_time"); + sql.SELECT("is_send"); + sql.SELECT("send_time"); + sql.SELECT("express"); + sql.SELECT("express_no"); + sql.SELECT("is_confirm"); + sql.SELECT("confirm_time"); + sql.SELECT("is_comment"); + sql.SELECT("apply_delete"); + sql.SELECT("addtime"); + sql.SELECT("is_delete"); + sql.SELECT("is_price"); + sql.SELECT("parent_id"); + sql.SELECT("first_price"); + sql.SELECT("second_price"); + sql.SELECT("third_price"); + sql.SELECT("coupon_sub_price"); + sql.SELECT("is_offline"); + sql.SELECT("clerk_id"); + sql.SELECT("is_cancel"); + sql.SELECT("before_update_price"); + sql.SELECT("shop_id"); + sql.SELECT("discount"); + sql.SELECT("user_coupon_id"); + sql.SELECT("give_integral"); + sql.SELECT("parent_id_1"); + sql.SELECT("parent_id_2"); + sql.SELECT("is_sale"); + sql.SELECT("version"); + sql.SELECT("express_price_1"); + sql.SELECT("is_recycle"); + sql.SELECT("rebate"); + sql.SELECT("before_update_express"); + sql.SELECT("mch_id"); + sql.SELECT("order_union_id"); + sql.SELECT("is_transfer"); + sql.SELECT("`type`"); + sql.SELECT("share_price"); + sql.SELECT("is_show"); + sql.SELECT("currency"); + sql.SELECT("order_origin"); + sql.SELECT("delivery_id"); + sql.SELECT("delivery_status"); + sql.SELECT("fy_status"); + sql.SELECT("fyjine"); + sql.SELECT("fysingle"); + sql.SELECT("mch_fyjine"); + sql.SELECT("mch_fysingle"); + sql.SELECT("is_fan"); + sql.SELECT("is_dada"); + sql.SELECT("shop_peisong"); + sql.SELECT("is_open_offline"); + sql.SELECT("supplier_id"); + sql.SELECT("is_sup_transfer"); + sql.SELECT("dabao_price"); + sql.SELECT("settlement_amount"); + sql.SELECT("is_settlement"); + sql.SELECT("settlement_time"); + sql.SELECT("is_mch_shop"); + sql.SELECT("is_divide_money"); + sql.SELECT("transaction_id"); + sql.SELECT("pay_user_id"); + sql.SELECT("pay_type_true"); + sql.SELECT("is_vgoods"); + sql.SELECT("reduction_price"); + sql.SELECT("minus_price"); + sql.SELECT("order_from"); + sql.SELECT("discount_price"); + sql.SELECT("discount_num"); + sql.SELECT("give_goods_id"); + sql.SELECT("coupon_record_id"); + sql.SELECT("id_card_no"); + sql.SELECT("refund_time"); + sql.SELECT("content"); + sql.SELECT("address_data"); + sql.SELECT("offline_qrcode"); + sql.SELECT("integral"); + sql.SELECT("words"); + sql.SELECT("seller_comments"); + sql.FROM("cyymall_order"); + applyWhere(sql, example, false); + + if (example != null && example.getOrderByClause() != null) { + sql.ORDER_BY(example.getOrderByClause()); + } + + return sql.toString(); + } + + public String selectByExample(CyymallOrderExample example) { + SQL sql = new SQL(); + if (example != null && example.isDistinct()) { + sql.SELECT_DISTINCT("id"); + } else { + sql.SELECT("id"); + } + sql.SELECT("store_id"); + sql.SELECT("user_id"); + sql.SELECT("order_no"); + sql.SELECT("total_price"); + sql.SELECT("pay_price"); + sql.SELECT("express_price"); + sql.SELECT("`name`"); + sql.SELECT("mobile"); + sql.SELECT("address"); + sql.SELECT("remark"); + sql.SELECT("is_pay"); + sql.SELECT("pay_type"); + sql.SELECT("pay_time"); + sql.SELECT("is_send"); + sql.SELECT("send_time"); + sql.SELECT("express"); + sql.SELECT("express_no"); + sql.SELECT("is_confirm"); + sql.SELECT("confirm_time"); + sql.SELECT("is_comment"); + sql.SELECT("apply_delete"); + sql.SELECT("addtime"); + sql.SELECT("is_delete"); + sql.SELECT("is_price"); + sql.SELECT("parent_id"); + sql.SELECT("first_price"); + sql.SELECT("second_price"); + sql.SELECT("third_price"); + sql.SELECT("coupon_sub_price"); + sql.SELECT("is_offline"); + sql.SELECT("clerk_id"); + sql.SELECT("is_cancel"); + sql.SELECT("before_update_price"); + sql.SELECT("shop_id"); + sql.SELECT("discount"); + sql.SELECT("user_coupon_id"); + sql.SELECT("give_integral"); + sql.SELECT("parent_id_1"); + sql.SELECT("parent_id_2"); + sql.SELECT("is_sale"); + sql.SELECT("version"); + sql.SELECT("express_price_1"); + sql.SELECT("is_recycle"); + sql.SELECT("rebate"); + sql.SELECT("before_update_express"); + sql.SELECT("mch_id"); + sql.SELECT("order_union_id"); + sql.SELECT("is_transfer"); + sql.SELECT("`type`"); + sql.SELECT("share_price"); + sql.SELECT("is_show"); + sql.SELECT("currency"); + sql.SELECT("order_origin"); + sql.SELECT("delivery_id"); + sql.SELECT("delivery_status"); + sql.SELECT("fy_status"); + sql.SELECT("fyjine"); + sql.SELECT("fysingle"); + sql.SELECT("mch_fyjine"); + sql.SELECT("mch_fysingle"); + sql.SELECT("is_fan"); + sql.SELECT("is_dada"); + sql.SELECT("shop_peisong"); + sql.SELECT("is_open_offline"); + sql.SELECT("supplier_id"); + sql.SELECT("is_sup_transfer"); + sql.SELECT("dabao_price"); + sql.SELECT("settlement_amount"); + sql.SELECT("is_settlement"); + sql.SELECT("settlement_time"); + sql.SELECT("is_mch_shop"); + sql.SELECT("is_divide_money"); + sql.SELECT("transaction_id"); + sql.SELECT("pay_user_id"); + sql.SELECT("pay_type_true"); + sql.SELECT("is_vgoods"); + sql.SELECT("reduction_price"); + sql.SELECT("minus_price"); + sql.SELECT("order_from"); + sql.SELECT("discount_price"); + sql.SELECT("discount_num"); + sql.SELECT("give_goods_id"); + sql.SELECT("coupon_record_id"); + sql.SELECT("id_card_no"); + sql.SELECT("refund_time"); + sql.FROM("cyymall_order"); + applyWhere(sql, example, false); + + if (example != null && example.getOrderByClause() != null) { + sql.ORDER_BY(example.getOrderByClause()); + } + + return sql.toString(); + } + + public String updateByExampleSelective(Map parameter) { + CyymallOrderWithBLOBs record = (CyymallOrderWithBLOBs) parameter.get("record"); + CyymallOrderExample example = (CyymallOrderExample) parameter.get("example"); + + SQL sql = new SQL(); + sql.UPDATE("cyymall_order"); + + if (record.getId() != null) { + sql.SET("id = #{record.id,jdbcType=INTEGER}"); + } + + if (record.getStoreId() != null) { + sql.SET("store_id = #{record.storeId,jdbcType=INTEGER}"); + } + + if (record.getUserId() != null) { + sql.SET("user_id = #{record.userId,jdbcType=INTEGER}"); + } + + if (record.getOrderNo() != null) { + sql.SET("order_no = #{record.orderNo,jdbcType=VARCHAR}"); + } + + if (record.getTotalPrice() != null) { + sql.SET("total_price = #{record.totalPrice,jdbcType=DECIMAL}"); + } + + if (record.getPayPrice() != null) { + sql.SET("pay_price = #{record.payPrice,jdbcType=DECIMAL}"); + } + + if (record.getExpressPrice() != null) { + sql.SET("express_price = #{record.expressPrice,jdbcType=DECIMAL}"); + } + + if (record.getName() != null) { + sql.SET("`name` = #{record.name,jdbcType=VARCHAR}"); + } + + if (record.getMobile() != null) { + sql.SET("mobile = #{record.mobile,jdbcType=VARCHAR}"); + } + + if (record.getAddress() != null) { + sql.SET("address = #{record.address,jdbcType=VARCHAR}"); + } + + if (record.getRemark() != null) { + sql.SET("remark = #{record.remark,jdbcType=VARCHAR}"); + } + + if (record.getIsPay() != null) { + sql.SET("is_pay = #{record.isPay,jdbcType=SMALLINT}"); + } + + if (record.getPayType() != null) { + sql.SET("pay_type = #{record.payType,jdbcType=SMALLINT}"); + } + + if (record.getPayTime() != null) { + sql.SET("pay_time = #{record.payTime,jdbcType=INTEGER}"); + } + + if (record.getIsSend() != null) { + sql.SET("is_send = #{record.isSend,jdbcType=SMALLINT}"); + } + + if (record.getSendTime() != null) { + sql.SET("send_time = #{record.sendTime,jdbcType=INTEGER}"); + } + + if (record.getExpress() != null) { + sql.SET("express = #{record.express,jdbcType=VARCHAR}"); + } + + if (record.getExpressNo() != null) { + sql.SET("express_no = #{record.expressNo,jdbcType=VARCHAR}"); + } + + if (record.getIsConfirm() != null) { + sql.SET("is_confirm = #{record.isConfirm,jdbcType=SMALLINT}"); + } + + if (record.getConfirmTime() != null) { + sql.SET("confirm_time = #{record.confirmTime,jdbcType=INTEGER}"); + } + + if (record.getIsComment() != null) { + sql.SET("is_comment = #{record.isComment,jdbcType=SMALLINT}"); + } + + if (record.getApplyDelete() != null) { + sql.SET("apply_delete = #{record.applyDelete,jdbcType=SMALLINT}"); + } + + if (record.getAddtime() != null) { + sql.SET("addtime = #{record.addtime,jdbcType=INTEGER}"); + } + + if (record.getIsDelete() != null) { + sql.SET("is_delete = #{record.isDelete,jdbcType=SMALLINT}"); + } + + if (record.getIsPrice() != null) { + sql.SET("is_price = #{record.isPrice,jdbcType=SMALLINT}"); + } + + if (record.getParentId() != null) { + sql.SET("parent_id = #{record.parentId,jdbcType=INTEGER}"); + } + + if (record.getFirstPrice() != null) { + sql.SET("first_price = #{record.firstPrice,jdbcType=DECIMAL}"); + } + + if (record.getSecondPrice() != null) { + sql.SET("second_price = #{record.secondPrice,jdbcType=DECIMAL}"); + } + + if (record.getThirdPrice() != null) { + sql.SET("third_price = #{record.thirdPrice,jdbcType=DECIMAL}"); + } + + if (record.getCouponSubPrice() != null) { + sql.SET("coupon_sub_price = #{record.couponSubPrice,jdbcType=DECIMAL}"); + } + + if (record.getIsOffline() != null) { + sql.SET("is_offline = #{record.isOffline,jdbcType=INTEGER}"); + } + + if (record.getClerkId() != null) { + sql.SET("clerk_id = #{record.clerkId,jdbcType=INTEGER}"); + } + + if (record.getIsCancel() != null) { + sql.SET("is_cancel = #{record.isCancel,jdbcType=SMALLINT}"); + } + + if (record.getBeforeUpdatePrice() != null) { + sql.SET("before_update_price = #{record.beforeUpdatePrice,jdbcType=DECIMAL}"); + } + + if (record.getShopId() != null) { + sql.SET("shop_id = #{record.shopId,jdbcType=INTEGER}"); + } + + if (record.getDiscount() != null) { + sql.SET("discount = #{record.discount,jdbcType=DECIMAL}"); + } + + if (record.getUserCouponId() != null) { + sql.SET("user_coupon_id = #{record.userCouponId,jdbcType=INTEGER}"); + } + + if (record.getGiveIntegral() != null) { + sql.SET("give_integral = #{record.giveIntegral,jdbcType=SMALLINT}"); + } + + if (record.getParentId1() != null) { + sql.SET("parent_id_1 = #{record.parentId1,jdbcType=INTEGER}"); + } + + if (record.getParentId2() != null) { + sql.SET("parent_id_2 = #{record.parentId2,jdbcType=INTEGER}"); + } + + if (record.getIsSale() != null) { + sql.SET("is_sale = #{record.isSale,jdbcType=INTEGER}"); + } + + if (record.getVersion() != null) { + sql.SET("version = #{record.version,jdbcType=VARCHAR}"); + } + + if (record.getExpressPrice1() != null) { + sql.SET("express_price_1 = #{record.expressPrice1,jdbcType=DECIMAL}"); + } + + if (record.getIsRecycle() != null) { + sql.SET("is_recycle = #{record.isRecycle,jdbcType=SMALLINT}"); + } + + if (record.getRebate() != null) { + sql.SET("rebate = #{record.rebate,jdbcType=DECIMAL}"); + } + + if (record.getBeforeUpdateExpress() != null) { + sql.SET("before_update_express = #{record.beforeUpdateExpress,jdbcType=DECIMAL}"); + } + + if (record.getMchId() != null) { + sql.SET("mch_id = #{record.mchId,jdbcType=INTEGER}"); + } + + if (record.getOrderUnionId() != null) { + sql.SET("order_union_id = #{record.orderUnionId,jdbcType=INTEGER}"); + } + + if (record.getIsTransfer() != null) { + sql.SET("is_transfer = #{record.isTransfer,jdbcType=SMALLINT}"); + } + + if (record.getType() != null) { + sql.SET("`type` = #{record.type,jdbcType=INTEGER}"); + } + + if (record.getSharePrice() != null) { + sql.SET("share_price = #{record.sharePrice,jdbcType=DECIMAL}"); + } + + if (record.getIsShow() != null) { + sql.SET("is_show = #{record.isShow,jdbcType=SMALLINT}"); + } + + if (record.getCurrency() != null) { + sql.SET("currency = #{record.currency,jdbcType=DECIMAL}"); + } + + if (record.getOrderOrigin() != null) { + sql.SET("order_origin = #{record.orderOrigin,jdbcType=BIT}"); + } + + if (record.getDeliveryId() != null) { + sql.SET("delivery_id = #{record.deliveryId,jdbcType=INTEGER}"); + } + + if (record.getDeliveryStatus() != null) { + sql.SET("delivery_status = #{record.deliveryStatus,jdbcType=BIT}"); + } + + if (record.getFyStatus() != null) { + sql.SET("fy_status = #{record.fyStatus,jdbcType=BIT}"); + } + + if (record.getFyjine() != null) { + sql.SET("fyjine = #{record.fyjine,jdbcType=DECIMAL}"); + } + + if (record.getFysingle() != null) { + sql.SET("fysingle = #{record.fysingle,jdbcType=DECIMAL}"); + } + + if (record.getMchFyjine() != null) { + sql.SET("mch_fyjine = #{record.mchFyjine,jdbcType=DECIMAL}"); + } + + if (record.getMchFysingle() != null) { + sql.SET("mch_fysingle = #{record.mchFysingle,jdbcType=DECIMAL}"); + } + + if (record.getIsFan() != null) { + sql.SET("is_fan = #{record.isFan,jdbcType=BIT}"); + } + + if (record.getIsDada() != null) { + sql.SET("is_dada = #{record.isDada,jdbcType=BIT}"); + } + + if (record.getShopPeisong() != null) { + sql.SET("shop_peisong = #{record.shopPeisong,jdbcType=INTEGER}"); + } + + if (record.getIsOpenOffline() != null) { + sql.SET("is_open_offline = #{record.isOpenOffline,jdbcType=BIT}"); + } + + if (record.getSupplierId() != null) { + sql.SET("supplier_id = #{record.supplierId,jdbcType=INTEGER}"); + } + + if (record.getIsSupTransfer() != null) { + sql.SET("is_sup_transfer = #{record.isSupTransfer,jdbcType=BIT}"); + } + + if (record.getDabaoPrice() != null) { + sql.SET("dabao_price = #{record.dabaoPrice,jdbcType=DECIMAL}"); + } + + if (record.getSettlementAmount() != null) { + sql.SET("settlement_amount = #{record.settlementAmount,jdbcType=DECIMAL}"); + } + + if (record.getIsSettlement() != null) { + sql.SET("is_settlement = #{record.isSettlement,jdbcType=SMALLINT}"); + } + + if (record.getSettlementTime() != null) { + sql.SET("settlement_time = #{record.settlementTime,jdbcType=INTEGER}"); + } + + if (record.getIsMchShop() != null) { + sql.SET("is_mch_shop = #{record.isMchShop,jdbcType=BIT}"); + } + + if (record.getIsDivideMoney() != null) { + sql.SET("is_divide_money = #{record.isDivideMoney,jdbcType=BIT}"); + } + + if (record.getTransactionId() != null) { + sql.SET("transaction_id = #{record.transactionId,jdbcType=VARCHAR}"); + } + + if (record.getPayUserId() != null) { + sql.SET("pay_user_id = #{record.payUserId,jdbcType=INTEGER}"); + } + + if (record.getPayTypeTrue() != null) { + sql.SET("pay_type_true = #{record.payTypeTrue,jdbcType=BIT}"); + } + + if (record.getIsVgoods() != null) { + sql.SET("is_vgoods = #{record.isVgoods,jdbcType=INTEGER}"); + } + + if (record.getReductionPrice() != null) { + sql.SET("reduction_price = #{record.reductionPrice,jdbcType=DECIMAL}"); + } + + if (record.getMinusPrice() != null) { + sql.SET("minus_price = #{record.minusPrice,jdbcType=DECIMAL}"); + } + + if (record.getOrderFrom() != null) { + sql.SET("order_from = #{record.orderFrom,jdbcType=INTEGER}"); + } + + if (record.getDiscountPrice() != null) { + sql.SET("discount_price = #{record.discountPrice,jdbcType=DECIMAL}"); + } + + if (record.getDiscountNum() != null) { + sql.SET("discount_num = #{record.discountNum,jdbcType=DECIMAL}"); + } + + if (record.getGiveGoodsId() != null) { + sql.SET("give_goods_id = #{record.giveGoodsId,jdbcType=INTEGER}"); + } + + if (record.getCouponRecordId() != null) { + sql.SET("coupon_record_id = #{record.couponRecordId,jdbcType=VARCHAR}"); + } + + if (record.getIdCardNo() != null) { + sql.SET("id_card_no = #{record.idCardNo,jdbcType=VARCHAR}"); + } + + if (record.getRefundTime() != null) { + sql.SET("refund_time = #{record.refundTime,jdbcType=INTEGER}"); + } + + if (record.getContent() != null) { + sql.SET("content = #{record.content,jdbcType=LONGVARCHAR}"); + } + + if (record.getAddressData() != null) { + sql.SET("address_data = #{record.addressData,jdbcType=LONGVARCHAR}"); + } + + if (record.getOfflineQrcode() != null) { + sql.SET("offline_qrcode = #{record.offlineQrcode,jdbcType=LONGVARCHAR}"); + } + + if (record.getIntegral() != null) { + sql.SET("integral = #{record.integral,jdbcType=LONGVARCHAR}"); + } + + if (record.getWords() != null) { + sql.SET("words = #{record.words,jdbcType=LONGVARCHAR}"); + } + + if (record.getSellerComments() != null) { + sql.SET("seller_comments = #{record.sellerComments,jdbcType=LONGVARCHAR}"); + } + + applyWhere(sql, example, true); + return sql.toString(); + } + + public String updateByExampleWithBLOBs(Map parameter) { + SQL sql = new SQL(); + sql.UPDATE("cyymall_order"); + + sql.SET("id = #{record.id,jdbcType=INTEGER}"); + sql.SET("store_id = #{record.storeId,jdbcType=INTEGER}"); + sql.SET("user_id = #{record.userId,jdbcType=INTEGER}"); + sql.SET("order_no = #{record.orderNo,jdbcType=VARCHAR}"); + sql.SET("total_price = #{record.totalPrice,jdbcType=DECIMAL}"); + sql.SET("pay_price = #{record.payPrice,jdbcType=DECIMAL}"); + sql.SET("express_price = #{record.expressPrice,jdbcType=DECIMAL}"); + sql.SET("`name` = #{record.name,jdbcType=VARCHAR}"); + sql.SET("mobile = #{record.mobile,jdbcType=VARCHAR}"); + sql.SET("address = #{record.address,jdbcType=VARCHAR}"); + sql.SET("remark = #{record.remark,jdbcType=VARCHAR}"); + sql.SET("is_pay = #{record.isPay,jdbcType=SMALLINT}"); + sql.SET("pay_type = #{record.payType,jdbcType=SMALLINT}"); + sql.SET("pay_time = #{record.payTime,jdbcType=INTEGER}"); + sql.SET("is_send = #{record.isSend,jdbcType=SMALLINT}"); + sql.SET("send_time = #{record.sendTime,jdbcType=INTEGER}"); + sql.SET("express = #{record.express,jdbcType=VARCHAR}"); + sql.SET("express_no = #{record.expressNo,jdbcType=VARCHAR}"); + sql.SET("is_confirm = #{record.isConfirm,jdbcType=SMALLINT}"); + sql.SET("confirm_time = #{record.confirmTime,jdbcType=INTEGER}"); + sql.SET("is_comment = #{record.isComment,jdbcType=SMALLINT}"); + sql.SET("apply_delete = #{record.applyDelete,jdbcType=SMALLINT}"); + sql.SET("addtime = #{record.addtime,jdbcType=INTEGER}"); + sql.SET("is_delete = #{record.isDelete,jdbcType=SMALLINT}"); + sql.SET("is_price = #{record.isPrice,jdbcType=SMALLINT}"); + sql.SET("parent_id = #{record.parentId,jdbcType=INTEGER}"); + sql.SET("first_price = #{record.firstPrice,jdbcType=DECIMAL}"); + sql.SET("second_price = #{record.secondPrice,jdbcType=DECIMAL}"); + sql.SET("third_price = #{record.thirdPrice,jdbcType=DECIMAL}"); + sql.SET("coupon_sub_price = #{record.couponSubPrice,jdbcType=DECIMAL}"); + sql.SET("is_offline = #{record.isOffline,jdbcType=INTEGER}"); + sql.SET("clerk_id = #{record.clerkId,jdbcType=INTEGER}"); + sql.SET("is_cancel = #{record.isCancel,jdbcType=SMALLINT}"); + sql.SET("before_update_price = #{record.beforeUpdatePrice,jdbcType=DECIMAL}"); + sql.SET("shop_id = #{record.shopId,jdbcType=INTEGER}"); + sql.SET("discount = #{record.discount,jdbcType=DECIMAL}"); + sql.SET("user_coupon_id = #{record.userCouponId,jdbcType=INTEGER}"); + sql.SET("give_integral = #{record.giveIntegral,jdbcType=SMALLINT}"); + sql.SET("parent_id_1 = #{record.parentId1,jdbcType=INTEGER}"); + sql.SET("parent_id_2 = #{record.parentId2,jdbcType=INTEGER}"); + sql.SET("is_sale = #{record.isSale,jdbcType=INTEGER}"); + sql.SET("version = #{record.version,jdbcType=VARCHAR}"); + sql.SET("express_price_1 = #{record.expressPrice1,jdbcType=DECIMAL}"); + sql.SET("is_recycle = #{record.isRecycle,jdbcType=SMALLINT}"); + sql.SET("rebate = #{record.rebate,jdbcType=DECIMAL}"); + sql.SET("before_update_express = #{record.beforeUpdateExpress,jdbcType=DECIMAL}"); + sql.SET("mch_id = #{record.mchId,jdbcType=INTEGER}"); + sql.SET("order_union_id = #{record.orderUnionId,jdbcType=INTEGER}"); + sql.SET("is_transfer = #{record.isTransfer,jdbcType=SMALLINT}"); + sql.SET("`type` = #{record.type,jdbcType=INTEGER}"); + sql.SET("share_price = #{record.sharePrice,jdbcType=DECIMAL}"); + sql.SET("is_show = #{record.isShow,jdbcType=SMALLINT}"); + sql.SET("currency = #{record.currency,jdbcType=DECIMAL}"); + sql.SET("order_origin = #{record.orderOrigin,jdbcType=BIT}"); + sql.SET("delivery_id = #{record.deliveryId,jdbcType=INTEGER}"); + sql.SET("delivery_status = #{record.deliveryStatus,jdbcType=BIT}"); + sql.SET("fy_status = #{record.fyStatus,jdbcType=BIT}"); + sql.SET("fyjine = #{record.fyjine,jdbcType=DECIMAL}"); + sql.SET("fysingle = #{record.fysingle,jdbcType=DECIMAL}"); + sql.SET("mch_fyjine = #{record.mchFyjine,jdbcType=DECIMAL}"); + sql.SET("mch_fysingle = #{record.mchFysingle,jdbcType=DECIMAL}"); + sql.SET("is_fan = #{record.isFan,jdbcType=BIT}"); + sql.SET("is_dada = #{record.isDada,jdbcType=BIT}"); + sql.SET("shop_peisong = #{record.shopPeisong,jdbcType=INTEGER}"); + sql.SET("is_open_offline = #{record.isOpenOffline,jdbcType=BIT}"); + sql.SET("supplier_id = #{record.supplierId,jdbcType=INTEGER}"); + sql.SET("is_sup_transfer = #{record.isSupTransfer,jdbcType=BIT}"); + sql.SET("dabao_price = #{record.dabaoPrice,jdbcType=DECIMAL}"); + sql.SET("settlement_amount = #{record.settlementAmount,jdbcType=DECIMAL}"); + sql.SET("is_settlement = #{record.isSettlement,jdbcType=SMALLINT}"); + sql.SET("settlement_time = #{record.settlementTime,jdbcType=INTEGER}"); + sql.SET("is_mch_shop = #{record.isMchShop,jdbcType=BIT}"); + sql.SET("is_divide_money = #{record.isDivideMoney,jdbcType=BIT}"); + sql.SET("transaction_id = #{record.transactionId,jdbcType=VARCHAR}"); + sql.SET("pay_user_id = #{record.payUserId,jdbcType=INTEGER}"); + sql.SET("pay_type_true = #{record.payTypeTrue,jdbcType=BIT}"); + sql.SET("is_vgoods = #{record.isVgoods,jdbcType=INTEGER}"); + sql.SET("reduction_price = #{record.reductionPrice,jdbcType=DECIMAL}"); + sql.SET("minus_price = #{record.minusPrice,jdbcType=DECIMAL}"); + sql.SET("order_from = #{record.orderFrom,jdbcType=INTEGER}"); + sql.SET("discount_price = #{record.discountPrice,jdbcType=DECIMAL}"); + sql.SET("discount_num = #{record.discountNum,jdbcType=DECIMAL}"); + sql.SET("give_goods_id = #{record.giveGoodsId,jdbcType=INTEGER}"); + sql.SET("coupon_record_id = #{record.couponRecordId,jdbcType=VARCHAR}"); + sql.SET("id_card_no = #{record.idCardNo,jdbcType=VARCHAR}"); + sql.SET("refund_time = #{record.refundTime,jdbcType=INTEGER}"); + sql.SET("content = #{record.content,jdbcType=LONGVARCHAR}"); + sql.SET("address_data = #{record.addressData,jdbcType=LONGVARCHAR}"); + sql.SET("offline_qrcode = #{record.offlineQrcode,jdbcType=LONGVARCHAR}"); + sql.SET("integral = #{record.integral,jdbcType=LONGVARCHAR}"); + sql.SET("words = #{record.words,jdbcType=LONGVARCHAR}"); + sql.SET("seller_comments = #{record.sellerComments,jdbcType=LONGVARCHAR}"); + + CyymallOrderExample example = (CyymallOrderExample) parameter.get("example"); + applyWhere(sql, example, true); + return sql.toString(); + } + + public String updateByExample(Map parameter) { + SQL sql = new SQL(); + sql.UPDATE("cyymall_order"); + + sql.SET("id = #{record.id,jdbcType=INTEGER}"); + sql.SET("store_id = #{record.storeId,jdbcType=INTEGER}"); + sql.SET("user_id = #{record.userId,jdbcType=INTEGER}"); + sql.SET("order_no = #{record.orderNo,jdbcType=VARCHAR}"); + sql.SET("total_price = #{record.totalPrice,jdbcType=DECIMAL}"); + sql.SET("pay_price = #{record.payPrice,jdbcType=DECIMAL}"); + sql.SET("express_price = #{record.expressPrice,jdbcType=DECIMAL}"); + sql.SET("`name` = #{record.name,jdbcType=VARCHAR}"); + sql.SET("mobile = #{record.mobile,jdbcType=VARCHAR}"); + sql.SET("address = #{record.address,jdbcType=VARCHAR}"); + sql.SET("remark = #{record.remark,jdbcType=VARCHAR}"); + sql.SET("is_pay = #{record.isPay,jdbcType=SMALLINT}"); + sql.SET("pay_type = #{record.payType,jdbcType=SMALLINT}"); + sql.SET("pay_time = #{record.payTime,jdbcType=INTEGER}"); + sql.SET("is_send = #{record.isSend,jdbcType=SMALLINT}"); + sql.SET("send_time = #{record.sendTime,jdbcType=INTEGER}"); + sql.SET("express = #{record.express,jdbcType=VARCHAR}"); + sql.SET("express_no = #{record.expressNo,jdbcType=VARCHAR}"); + sql.SET("is_confirm = #{record.isConfirm,jdbcType=SMALLINT}"); + sql.SET("confirm_time = #{record.confirmTime,jdbcType=INTEGER}"); + sql.SET("is_comment = #{record.isComment,jdbcType=SMALLINT}"); + sql.SET("apply_delete = #{record.applyDelete,jdbcType=SMALLINT}"); + sql.SET("addtime = #{record.addtime,jdbcType=INTEGER}"); + sql.SET("is_delete = #{record.isDelete,jdbcType=SMALLINT}"); + sql.SET("is_price = #{record.isPrice,jdbcType=SMALLINT}"); + sql.SET("parent_id = #{record.parentId,jdbcType=INTEGER}"); + sql.SET("first_price = #{record.firstPrice,jdbcType=DECIMAL}"); + sql.SET("second_price = #{record.secondPrice,jdbcType=DECIMAL}"); + sql.SET("third_price = #{record.thirdPrice,jdbcType=DECIMAL}"); + sql.SET("coupon_sub_price = #{record.couponSubPrice,jdbcType=DECIMAL}"); + sql.SET("is_offline = #{record.isOffline,jdbcType=INTEGER}"); + sql.SET("clerk_id = #{record.clerkId,jdbcType=INTEGER}"); + sql.SET("is_cancel = #{record.isCancel,jdbcType=SMALLINT}"); + sql.SET("before_update_price = #{record.beforeUpdatePrice,jdbcType=DECIMAL}"); + sql.SET("shop_id = #{record.shopId,jdbcType=INTEGER}"); + sql.SET("discount = #{record.discount,jdbcType=DECIMAL}"); + sql.SET("user_coupon_id = #{record.userCouponId,jdbcType=INTEGER}"); + sql.SET("give_integral = #{record.giveIntegral,jdbcType=SMALLINT}"); + sql.SET("parent_id_1 = #{record.parentId1,jdbcType=INTEGER}"); + sql.SET("parent_id_2 = #{record.parentId2,jdbcType=INTEGER}"); + sql.SET("is_sale = #{record.isSale,jdbcType=INTEGER}"); + sql.SET("version = #{record.version,jdbcType=VARCHAR}"); + sql.SET("express_price_1 = #{record.expressPrice1,jdbcType=DECIMAL}"); + sql.SET("is_recycle = #{record.isRecycle,jdbcType=SMALLINT}"); + sql.SET("rebate = #{record.rebate,jdbcType=DECIMAL}"); + sql.SET("before_update_express = #{record.beforeUpdateExpress,jdbcType=DECIMAL}"); + sql.SET("mch_id = #{record.mchId,jdbcType=INTEGER}"); + sql.SET("order_union_id = #{record.orderUnionId,jdbcType=INTEGER}"); + sql.SET("is_transfer = #{record.isTransfer,jdbcType=SMALLINT}"); + sql.SET("`type` = #{record.type,jdbcType=INTEGER}"); + sql.SET("share_price = #{record.sharePrice,jdbcType=DECIMAL}"); + sql.SET("is_show = #{record.isShow,jdbcType=SMALLINT}"); + sql.SET("currency = #{record.currency,jdbcType=DECIMAL}"); + sql.SET("order_origin = #{record.orderOrigin,jdbcType=BIT}"); + sql.SET("delivery_id = #{record.deliveryId,jdbcType=INTEGER}"); + sql.SET("delivery_status = #{record.deliveryStatus,jdbcType=BIT}"); + sql.SET("fy_status = #{record.fyStatus,jdbcType=BIT}"); + sql.SET("fyjine = #{record.fyjine,jdbcType=DECIMAL}"); + sql.SET("fysingle = #{record.fysingle,jdbcType=DECIMAL}"); + sql.SET("mch_fyjine = #{record.mchFyjine,jdbcType=DECIMAL}"); + sql.SET("mch_fysingle = #{record.mchFysingle,jdbcType=DECIMAL}"); + sql.SET("is_fan = #{record.isFan,jdbcType=BIT}"); + sql.SET("is_dada = #{record.isDada,jdbcType=BIT}"); + sql.SET("shop_peisong = #{record.shopPeisong,jdbcType=INTEGER}"); + sql.SET("is_open_offline = #{record.isOpenOffline,jdbcType=BIT}"); + sql.SET("supplier_id = #{record.supplierId,jdbcType=INTEGER}"); + sql.SET("is_sup_transfer = #{record.isSupTransfer,jdbcType=BIT}"); + sql.SET("dabao_price = #{record.dabaoPrice,jdbcType=DECIMAL}"); + sql.SET("settlement_amount = #{record.settlementAmount,jdbcType=DECIMAL}"); + sql.SET("is_settlement = #{record.isSettlement,jdbcType=SMALLINT}"); + sql.SET("settlement_time = #{record.settlementTime,jdbcType=INTEGER}"); + sql.SET("is_mch_shop = #{record.isMchShop,jdbcType=BIT}"); + sql.SET("is_divide_money = #{record.isDivideMoney,jdbcType=BIT}"); + sql.SET("transaction_id = #{record.transactionId,jdbcType=VARCHAR}"); + sql.SET("pay_user_id = #{record.payUserId,jdbcType=INTEGER}"); + sql.SET("pay_type_true = #{record.payTypeTrue,jdbcType=BIT}"); + sql.SET("is_vgoods = #{record.isVgoods,jdbcType=INTEGER}"); + sql.SET("reduction_price = #{record.reductionPrice,jdbcType=DECIMAL}"); + sql.SET("minus_price = #{record.minusPrice,jdbcType=DECIMAL}"); + sql.SET("order_from = #{record.orderFrom,jdbcType=INTEGER}"); + sql.SET("discount_price = #{record.discountPrice,jdbcType=DECIMAL}"); + sql.SET("discount_num = #{record.discountNum,jdbcType=DECIMAL}"); + sql.SET("give_goods_id = #{record.giveGoodsId,jdbcType=INTEGER}"); + sql.SET("coupon_record_id = #{record.couponRecordId,jdbcType=VARCHAR}"); + sql.SET("id_card_no = #{record.idCardNo,jdbcType=VARCHAR}"); + sql.SET("refund_time = #{record.refundTime,jdbcType=INTEGER}"); + + CyymallOrderExample example = (CyymallOrderExample) parameter.get("example"); + applyWhere(sql, example, true); + return sql.toString(); + } + + public String updateByPrimaryKeySelective(CyymallOrderWithBLOBs record) { + SQL sql = new SQL(); + sql.UPDATE("cyymall_order"); + + if (record.getStoreId() != null) { + sql.SET("store_id = #{storeId,jdbcType=INTEGER}"); + } + + if (record.getUserId() != null) { + sql.SET("user_id = #{userId,jdbcType=INTEGER}"); + } + + if (record.getOrderNo() != null) { + sql.SET("order_no = #{orderNo,jdbcType=VARCHAR}"); + } + + if (record.getTotalPrice() != null) { + sql.SET("total_price = #{totalPrice,jdbcType=DECIMAL}"); + } + + if (record.getPayPrice() != null) { + sql.SET("pay_price = #{payPrice,jdbcType=DECIMAL}"); + } + + if (record.getExpressPrice() != null) { + sql.SET("express_price = #{expressPrice,jdbcType=DECIMAL}"); + } + + if (record.getName() != null) { + sql.SET("`name` = #{name,jdbcType=VARCHAR}"); + } + + if (record.getMobile() != null) { + sql.SET("mobile = #{mobile,jdbcType=VARCHAR}"); + } + + if (record.getAddress() != null) { + sql.SET("address = #{address,jdbcType=VARCHAR}"); + } + + if (record.getRemark() != null) { + sql.SET("remark = #{remark,jdbcType=VARCHAR}"); + } + + if (record.getIsPay() != null) { + sql.SET("is_pay = #{isPay,jdbcType=SMALLINT}"); + } + + if (record.getPayType() != null) { + sql.SET("pay_type = #{payType,jdbcType=SMALLINT}"); + } + + if (record.getPayTime() != null) { + sql.SET("pay_time = #{payTime,jdbcType=INTEGER}"); + } + + if (record.getIsSend() != null) { + sql.SET("is_send = #{isSend,jdbcType=SMALLINT}"); + } + + if (record.getSendTime() != null) { + sql.SET("send_time = #{sendTime,jdbcType=INTEGER}"); + } + + if (record.getExpress() != null) { + sql.SET("express = #{express,jdbcType=VARCHAR}"); + } + + if (record.getExpressNo() != null) { + sql.SET("express_no = #{expressNo,jdbcType=VARCHAR}"); + } + + if (record.getIsConfirm() != null) { + sql.SET("is_confirm = #{isConfirm,jdbcType=SMALLINT}"); + } + + if (record.getConfirmTime() != null) { + sql.SET("confirm_time = #{confirmTime,jdbcType=INTEGER}"); + } + + if (record.getIsComment() != null) { + sql.SET("is_comment = #{isComment,jdbcType=SMALLINT}"); + } + + if (record.getApplyDelete() != null) { + sql.SET("apply_delete = #{applyDelete,jdbcType=SMALLINT}"); + } + + if (record.getAddtime() != null) { + sql.SET("addtime = #{addtime,jdbcType=INTEGER}"); + } + + if (record.getIsDelete() != null) { + sql.SET("is_delete = #{isDelete,jdbcType=SMALLINT}"); + } + + if (record.getIsPrice() != null) { + sql.SET("is_price = #{isPrice,jdbcType=SMALLINT}"); + } + + if (record.getParentId() != null) { + sql.SET("parent_id = #{parentId,jdbcType=INTEGER}"); + } + + if (record.getFirstPrice() != null) { + sql.SET("first_price = #{firstPrice,jdbcType=DECIMAL}"); + } + + if (record.getSecondPrice() != null) { + sql.SET("second_price = #{secondPrice,jdbcType=DECIMAL}"); + } + + if (record.getThirdPrice() != null) { + sql.SET("third_price = #{thirdPrice,jdbcType=DECIMAL}"); + } + + if (record.getCouponSubPrice() != null) { + sql.SET("coupon_sub_price = #{couponSubPrice,jdbcType=DECIMAL}"); + } + + if (record.getIsOffline() != null) { + sql.SET("is_offline = #{isOffline,jdbcType=INTEGER}"); + } + + if (record.getClerkId() != null) { + sql.SET("clerk_id = #{clerkId,jdbcType=INTEGER}"); + } + + if (record.getIsCancel() != null) { + sql.SET("is_cancel = #{isCancel,jdbcType=SMALLINT}"); + } + + if (record.getBeforeUpdatePrice() != null) { + sql.SET("before_update_price = #{beforeUpdatePrice,jdbcType=DECIMAL}"); + } + + if (record.getShopId() != null) { + sql.SET("shop_id = #{shopId,jdbcType=INTEGER}"); + } + + if (record.getDiscount() != null) { + sql.SET("discount = #{discount,jdbcType=DECIMAL}"); + } + + if (record.getUserCouponId() != null) { + sql.SET("user_coupon_id = #{userCouponId,jdbcType=INTEGER}"); + } + + if (record.getGiveIntegral() != null) { + sql.SET("give_integral = #{giveIntegral,jdbcType=SMALLINT}"); + } + + if (record.getParentId1() != null) { + sql.SET("parent_id_1 = #{parentId1,jdbcType=INTEGER}"); + } + + if (record.getParentId2() != null) { + sql.SET("parent_id_2 = #{parentId2,jdbcType=INTEGER}"); + } + + if (record.getIsSale() != null) { + sql.SET("is_sale = #{isSale,jdbcType=INTEGER}"); + } + + if (record.getVersion() != null) { + sql.SET("version = #{version,jdbcType=VARCHAR}"); + } + + if (record.getExpressPrice1() != null) { + sql.SET("express_price_1 = #{expressPrice1,jdbcType=DECIMAL}"); + } + + if (record.getIsRecycle() != null) { + sql.SET("is_recycle = #{isRecycle,jdbcType=SMALLINT}"); + } + + if (record.getRebate() != null) { + sql.SET("rebate = #{rebate,jdbcType=DECIMAL}"); + } + + if (record.getBeforeUpdateExpress() != null) { + sql.SET("before_update_express = #{beforeUpdateExpress,jdbcType=DECIMAL}"); + } + + if (record.getMchId() != null) { + sql.SET("mch_id = #{mchId,jdbcType=INTEGER}"); + } + + if (record.getOrderUnionId() != null) { + sql.SET("order_union_id = #{orderUnionId,jdbcType=INTEGER}"); + } + + if (record.getIsTransfer() != null) { + sql.SET("is_transfer = #{isTransfer,jdbcType=SMALLINT}"); + } + + if (record.getType() != null) { + sql.SET("`type` = #{type,jdbcType=INTEGER}"); + } + + if (record.getSharePrice() != null) { + sql.SET("share_price = #{sharePrice,jdbcType=DECIMAL}"); + } + + if (record.getIsShow() != null) { + sql.SET("is_show = #{isShow,jdbcType=SMALLINT}"); + } + + if (record.getCurrency() != null) { + sql.SET("currency = #{currency,jdbcType=DECIMAL}"); + } + + if (record.getOrderOrigin() != null) { + sql.SET("order_origin = #{orderOrigin,jdbcType=BIT}"); + } + + if (record.getDeliveryId() != null) { + sql.SET("delivery_id = #{deliveryId,jdbcType=INTEGER}"); + } + + if (record.getDeliveryStatus() != null) { + sql.SET("delivery_status = #{deliveryStatus,jdbcType=BIT}"); + } + + if (record.getFyStatus() != null) { + sql.SET("fy_status = #{fyStatus,jdbcType=BIT}"); + } + + if (record.getFyjine() != null) { + sql.SET("fyjine = #{fyjine,jdbcType=DECIMAL}"); + } + + if (record.getFysingle() != null) { + sql.SET("fysingle = #{fysingle,jdbcType=DECIMAL}"); + } + + if (record.getMchFyjine() != null) { + sql.SET("mch_fyjine = #{mchFyjine,jdbcType=DECIMAL}"); + } + + if (record.getMchFysingle() != null) { + sql.SET("mch_fysingle = #{mchFysingle,jdbcType=DECIMAL}"); + } + + if (record.getIsFan() != null) { + sql.SET("is_fan = #{isFan,jdbcType=BIT}"); + } + + if (record.getIsDada() != null) { + sql.SET("is_dada = #{isDada,jdbcType=BIT}"); + } + + if (record.getShopPeisong() != null) { + sql.SET("shop_peisong = #{shopPeisong,jdbcType=INTEGER}"); + } + + if (record.getIsOpenOffline() != null) { + sql.SET("is_open_offline = #{isOpenOffline,jdbcType=BIT}"); + } + + if (record.getSupplierId() != null) { + sql.SET("supplier_id = #{supplierId,jdbcType=INTEGER}"); + } + + if (record.getIsSupTransfer() != null) { + sql.SET("is_sup_transfer = #{isSupTransfer,jdbcType=BIT}"); + } + + if (record.getDabaoPrice() != null) { + sql.SET("dabao_price = #{dabaoPrice,jdbcType=DECIMAL}"); + } + + if (record.getSettlementAmount() != null) { + sql.SET("settlement_amount = #{settlementAmount,jdbcType=DECIMAL}"); + } + + if (record.getIsSettlement() != null) { + sql.SET("is_settlement = #{isSettlement,jdbcType=SMALLINT}"); + } + + if (record.getSettlementTime() != null) { + sql.SET("settlement_time = #{settlementTime,jdbcType=INTEGER}"); + } + + if (record.getIsMchShop() != null) { + sql.SET("is_mch_shop = #{isMchShop,jdbcType=BIT}"); + } + + if (record.getIsDivideMoney() != null) { + sql.SET("is_divide_money = #{isDivideMoney,jdbcType=BIT}"); + } + + if (record.getTransactionId() != null) { + sql.SET("transaction_id = #{transactionId,jdbcType=VARCHAR}"); + } + + if (record.getPayUserId() != null) { + sql.SET("pay_user_id = #{payUserId,jdbcType=INTEGER}"); + } + + if (record.getPayTypeTrue() != null) { + sql.SET("pay_type_true = #{payTypeTrue,jdbcType=BIT}"); + } + + if (record.getIsVgoods() != null) { + sql.SET("is_vgoods = #{isVgoods,jdbcType=INTEGER}"); + } + + if (record.getReductionPrice() != null) { + sql.SET("reduction_price = #{reductionPrice,jdbcType=DECIMAL}"); + } + + if (record.getMinusPrice() != null) { + sql.SET("minus_price = #{minusPrice,jdbcType=DECIMAL}"); + } + + if (record.getOrderFrom() != null) { + sql.SET("order_from = #{orderFrom,jdbcType=INTEGER}"); + } + + if (record.getDiscountPrice() != null) { + sql.SET("discount_price = #{discountPrice,jdbcType=DECIMAL}"); + } + + if (record.getDiscountNum() != null) { + sql.SET("discount_num = #{discountNum,jdbcType=DECIMAL}"); + } + + if (record.getGiveGoodsId() != null) { + sql.SET("give_goods_id = #{giveGoodsId,jdbcType=INTEGER}"); + } + + if (record.getCouponRecordId() != null) { + sql.SET("coupon_record_id = #{couponRecordId,jdbcType=VARCHAR}"); + } + + if (record.getIdCardNo() != null) { + sql.SET("id_card_no = #{idCardNo,jdbcType=VARCHAR}"); + } + + if (record.getRefundTime() != null) { + sql.SET("refund_time = #{refundTime,jdbcType=INTEGER}"); + } + + if (record.getContent() != null) { + sql.SET("content = #{content,jdbcType=LONGVARCHAR}"); + } + + if (record.getAddressData() != null) { + sql.SET("address_data = #{addressData,jdbcType=LONGVARCHAR}"); + } + + if (record.getOfflineQrcode() != null) { + sql.SET("offline_qrcode = #{offlineQrcode,jdbcType=LONGVARCHAR}"); + } + + if (record.getIntegral() != null) { + sql.SET("integral = #{integral,jdbcType=LONGVARCHAR}"); + } + + if (record.getWords() != null) { + sql.SET("words = #{words,jdbcType=LONGVARCHAR}"); + } + + if (record.getSellerComments() != null) { + sql.SET("seller_comments = #{sellerComments,jdbcType=LONGVARCHAR}"); + } + + sql.WHERE("id = #{id,jdbcType=INTEGER}"); + + return sql.toString(); + } + + protected void applyWhere(SQL sql, CyymallOrderExample example, boolean includeExamplePhrase) { + if (example == null) { + return; + } + + String parmPhrase1; + String parmPhrase1_th; + String parmPhrase2; + String parmPhrase2_th; + String parmPhrase3; + String parmPhrase3_th; + if (includeExamplePhrase) { + parmPhrase1 = "%s #{example.oredCriteria[%d].allCriteria[%d].value}"; + parmPhrase1_th = "%s #{example.oredCriteria[%d].allCriteria[%d].value,typeHandler=%s}"; + parmPhrase2 = "%s #{example.oredCriteria[%d].allCriteria[%d].value} and #{example.oredCriteria[%d].criteria[%d].secondValue}"; + parmPhrase2_th = "%s #{example.oredCriteria[%d].allCriteria[%d].value,typeHandler=%s} and #{example.oredCriteria[%d].criteria[%d].secondValue,typeHandler=%s}"; + parmPhrase3 = "#{example.oredCriteria[%d].allCriteria[%d].value[%d]}"; + parmPhrase3_th = "#{example.oredCriteria[%d].allCriteria[%d].value[%d],typeHandler=%s}"; + } else { + parmPhrase1 = "%s #{oredCriteria[%d].allCriteria[%d].value}"; + parmPhrase1_th = "%s #{oredCriteria[%d].allCriteria[%d].value,typeHandler=%s}"; + parmPhrase2 = "%s #{oredCriteria[%d].allCriteria[%d].value} and #{oredCriteria[%d].criteria[%d].secondValue}"; + parmPhrase2_th = "%s #{oredCriteria[%d].allCriteria[%d].value,typeHandler=%s} and #{oredCriteria[%d].criteria[%d].secondValue,typeHandler=%s}"; + parmPhrase3 = "#{oredCriteria[%d].allCriteria[%d].value[%d]}"; + parmPhrase3_th = "#{oredCriteria[%d].allCriteria[%d].value[%d],typeHandler=%s}"; + } + + StringBuilder sb = new StringBuilder(); + List oredCriteria = example.getOredCriteria(); + boolean firstCriteria = true; + for (int i = 0; i < oredCriteria.size(); i++) { + Criteria criteria = oredCriteria.get(i); + if (criteria.isValid()) { + if (firstCriteria) { + firstCriteria = false; + } else { + sb.append(" or "); + } + + sb.append('('); + List criterions = criteria.getAllCriteria(); + boolean firstCriterion = true; + for (int j = 0; j < criterions.size(); j++) { + Criterion criterion = criterions.get(j); + if (firstCriterion) { + firstCriterion = false; + } else { + sb.append(" and "); + } + + if (criterion.isNoValue()) { + sb.append(criterion.getCondition()); + } else if (criterion.isSingleValue()) { + if (criterion.getTypeHandler() == null) { + sb.append(String.format(parmPhrase1, criterion.getCondition(), i, j)); + } else { + sb.append(String.format(parmPhrase1_th, criterion.getCondition(), i, j,criterion.getTypeHandler())); + } + } else if (criterion.isBetweenValue()) { + if (criterion.getTypeHandler() == null) { + sb.append(String.format(parmPhrase2, criterion.getCondition(), i, j, i, j)); + } else { + sb.append(String.format(parmPhrase2_th, criterion.getCondition(), i, j, criterion.getTypeHandler(), i, j, criterion.getTypeHandler())); + } + } else if (criterion.isListValue()) { + sb.append(criterion.getCondition()); + sb.append(" ("); + List listItems = (List) criterion.getValue(); + boolean comma = false; + for (int k = 0; k < listItems.size(); k++) { + if (comma) { + sb.append(", "); + } else { + comma = true; + } + if (criterion.getTypeHandler() == null) { + sb.append(String.format(parmPhrase3, i, j, k)); + } else { + sb.append(String.format(parmPhrase3_th, i, j, k, criterion.getTypeHandler())); + } + } + sb.append(')'); + } + } + sb.append(')'); + } + } + + if (sb.length() > 0) { + sql.WHERE(sb.toString()); + } + } +} \ No newline at end of file diff --git a/service/src/main/java/com/hfkj/dao/CyymallUserMapper.java b/service/src/main/java/com/hfkj/dao/CyymallUserMapper.java new file mode 100644 index 0000000..380072f --- /dev/null +++ b/service/src/main/java/com/hfkj/dao/CyymallUserMapper.java @@ -0,0 +1,332 @@ +package com.hfkj.dao; + +import com.hfkj.entity.CyymallUser; +import com.hfkj.entity.CyymallUserExample; +import java.util.List; +import org.apache.ibatis.annotations.Delete; +import org.apache.ibatis.annotations.DeleteProvider; +import org.apache.ibatis.annotations.Insert; +import org.apache.ibatis.annotations.InsertProvider; +import org.apache.ibatis.annotations.Options; +import org.apache.ibatis.annotations.Param; +import org.apache.ibatis.annotations.Result; +import org.apache.ibatis.annotations.Results; +import org.apache.ibatis.annotations.Select; +import org.apache.ibatis.annotations.SelectProvider; +import org.apache.ibatis.annotations.Update; +import org.apache.ibatis.annotations.UpdateProvider; +import org.apache.ibatis.type.JdbcType; +import org.springframework.stereotype.Repository; + +/** + * + * 代码由工具生成,请勿修改!!! + * 如果需要扩展请在其父类进行扩展 + * + **/ +@Repository +public interface CyymallUserMapper extends CyymallUserMapperExt { + @SelectProvider(type=CyymallUserSqlProvider.class, method="countByExample") + long countByExample(CyymallUserExample example); + + @DeleteProvider(type=CyymallUserSqlProvider.class, method="deleteByExample") + int deleteByExample(CyymallUserExample example); + + @Delete({ + "delete from cyymall_user", + "where id = #{id,jdbcType=INTEGER}" + }) + int deleteByPrimaryKey(Integer id); + + @Insert({ + "insert into cyymall_user (`type`, username, ", + "`password`, auth_key, ", + "access_token, addtime, ", + "is_delete, wechat_open_id, ", + "wechat_union_id, nickname, ", + "avatar_url, store_id, ", + "is_distributor, parent_id, ", + "`time`, total_price, ", + "price, is_clerk, ", + "we7_uid, shop_id, ", + "`level`, integral, ", + "total_integral, money, ", + "contact_way, comments, ", + "binding, wechat_platform_open_id, ", + "platform, blacklist, ", + "parent_user_id, appcid, ", + "is_admin, tuan_price, ", + "is_delivery, mch_id, real_name, ", + "real_code, real_just_pic, ", + "real_back_pic, is_real, ", + "live_price, fyjine, ", + "yifan, delivery_office, ", + "subsidy_price, delivery_mch_id, ", + "clerk_mch_id, is_group_centre, ", + "sex, birth_date, ", + "is_vgoods, share_cat_id, ", + "user_label, gh_card_no, ", + "gh_card_pwd, channel_phone, ", + "channel_sign, email, ", + "apply_time, apply_status)", + "values (#{type,jdbcType=SMALLINT}, #{username,jdbcType=VARCHAR}, ", + "#{password,jdbcType=VARCHAR}, #{authKey,jdbcType=VARCHAR}, ", + "#{accessToken,jdbcType=VARCHAR}, #{addtime,jdbcType=INTEGER}, ", + "#{isDelete,jdbcType=SMALLINT}, #{wechatOpenId,jdbcType=VARCHAR}, ", + "#{wechatUnionId,jdbcType=VARCHAR}, #{nickname,jdbcType=VARCHAR}, ", + "#{avatarUrl,jdbcType=VARCHAR}, #{storeId,jdbcType=INTEGER}, ", + "#{isDistributor,jdbcType=INTEGER}, #{parentId,jdbcType=INTEGER}, ", + "#{time,jdbcType=INTEGER}, #{totalPrice,jdbcType=DECIMAL}, ", + "#{price,jdbcType=DECIMAL}, #{isClerk,jdbcType=INTEGER}, ", + "#{we7Uid,jdbcType=INTEGER}, #{shopId,jdbcType=INTEGER}, ", + "#{level,jdbcType=INTEGER}, #{integral,jdbcType=INTEGER}, ", + "#{totalIntegral,jdbcType=INTEGER}, #{money,jdbcType=DECIMAL}, ", + "#{contactWay,jdbcType=VARCHAR}, #{comments,jdbcType=VARCHAR}, ", + "#{binding,jdbcType=CHAR}, #{wechatPlatformOpenId,jdbcType=VARCHAR}, ", + "#{platform,jdbcType=TINYINT}, #{blacklist,jdbcType=BIT}, ", + "#{parentUserId,jdbcType=INTEGER}, #{appcid,jdbcType=VARCHAR}, ", + "#{isAdmin,jdbcType=BIT}, #{tuanPrice,jdbcType=DECIMAL}, ", + "#{isDelivery,jdbcType=BIT}, #{mchId,jdbcType=INTEGER}, #{realName,jdbcType=VARCHAR}, ", + "#{realCode,jdbcType=VARCHAR}, #{realJustPic,jdbcType=VARCHAR}, ", + "#{realBackPic,jdbcType=VARCHAR}, #{isReal,jdbcType=BIT}, ", + "#{livePrice,jdbcType=DECIMAL}, #{fyjine,jdbcType=VARCHAR}, ", + "#{yifan,jdbcType=VARCHAR}, #{deliveryOffice,jdbcType=BIT}, ", + "#{subsidyPrice,jdbcType=DECIMAL}, #{deliveryMchId,jdbcType=INTEGER}, ", + "#{clerkMchId,jdbcType=INTEGER}, #{isGroupCentre,jdbcType=INTEGER}, ", + "#{sex,jdbcType=INTEGER}, #{birthDate,jdbcType=VARCHAR}, ", + "#{isVgoods,jdbcType=INTEGER}, #{shareCatId,jdbcType=INTEGER}, ", + "#{userLabel,jdbcType=INTEGER}, #{ghCardNo,jdbcType=VARCHAR}, ", + "#{ghCardPwd,jdbcType=INTEGER}, #{channelPhone,jdbcType=CHAR}, ", + "#{channelSign,jdbcType=VARCHAR}, #{email,jdbcType=VARCHAR}, ", + "#{applyTime,jdbcType=INTEGER}, #{applyStatus,jdbcType=SMALLINT})" + }) + @Options(useGeneratedKeys=true,keyProperty="id") + int insert(CyymallUser record); + + @InsertProvider(type=CyymallUserSqlProvider.class, method="insertSelective") + @Options(useGeneratedKeys=true,keyProperty="id") + int insertSelective(CyymallUser record); + + @SelectProvider(type=CyymallUserSqlProvider.class, method="selectByExample") + @Results({ + @Result(column="id", property="id", jdbcType=JdbcType.INTEGER, id=true), + @Result(column="type", property="type", jdbcType=JdbcType.SMALLINT), + @Result(column="username", property="username", jdbcType=JdbcType.VARCHAR), + @Result(column="password", property="password", jdbcType=JdbcType.VARCHAR), + @Result(column="auth_key", property="authKey", jdbcType=JdbcType.VARCHAR), + @Result(column="access_token", property="accessToken", jdbcType=JdbcType.VARCHAR), + @Result(column="addtime", property="addtime", jdbcType=JdbcType.INTEGER), + @Result(column="is_delete", property="isDelete", jdbcType=JdbcType.SMALLINT), + @Result(column="wechat_open_id", property="wechatOpenId", jdbcType=JdbcType.VARCHAR), + @Result(column="wechat_union_id", property="wechatUnionId", jdbcType=JdbcType.VARCHAR), + @Result(column="nickname", property="nickname", jdbcType=JdbcType.VARCHAR), + @Result(column="avatar_url", property="avatarUrl", jdbcType=JdbcType.VARCHAR), + @Result(column="store_id", property="storeId", jdbcType=JdbcType.INTEGER), + @Result(column="is_distributor", property="isDistributor", jdbcType=JdbcType.INTEGER), + @Result(column="parent_id", property="parentId", jdbcType=JdbcType.INTEGER), + @Result(column="time", property="time", jdbcType=JdbcType.INTEGER), + @Result(column="total_price", property="totalPrice", jdbcType=JdbcType.DECIMAL), + @Result(column="price", property="price", jdbcType=JdbcType.DECIMAL), + @Result(column="is_clerk", property="isClerk", jdbcType=JdbcType.INTEGER), + @Result(column="we7_uid", property="we7Uid", jdbcType=JdbcType.INTEGER), + @Result(column="shop_id", property="shopId", jdbcType=JdbcType.INTEGER), + @Result(column="level", property="level", jdbcType=JdbcType.INTEGER), + @Result(column="integral", property="integral", jdbcType=JdbcType.INTEGER), + @Result(column="total_integral", property="totalIntegral", jdbcType=JdbcType.INTEGER), + @Result(column="money", property="money", jdbcType=JdbcType.DECIMAL), + @Result(column="contact_way", property="contactWay", jdbcType=JdbcType.VARCHAR), + @Result(column="comments", property="comments", jdbcType=JdbcType.VARCHAR), + @Result(column="binding", property="binding", jdbcType=JdbcType.CHAR), + @Result(column="wechat_platform_open_id", property="wechatPlatformOpenId", jdbcType=JdbcType.VARCHAR), + @Result(column="platform", property="platform", jdbcType=JdbcType.TINYINT), + @Result(column="blacklist", property="blacklist", jdbcType=JdbcType.BIT), + @Result(column="parent_user_id", property="parentUserId", jdbcType=JdbcType.INTEGER), + @Result(column="appcid", property="appcid", jdbcType=JdbcType.VARCHAR), + @Result(column="is_admin", property="isAdmin", jdbcType=JdbcType.BIT), + @Result(column="tuan_price", property="tuanPrice", jdbcType=JdbcType.DECIMAL), + @Result(column="is_delivery", property="isDelivery", jdbcType=JdbcType.BIT), + @Result(column="mch_id", property="mchId", jdbcType=JdbcType.INTEGER), + @Result(column="real_name", property="realName", jdbcType=JdbcType.VARCHAR), + @Result(column="real_code", property="realCode", jdbcType=JdbcType.VARCHAR), + @Result(column="real_just_pic", property="realJustPic", jdbcType=JdbcType.VARCHAR), + @Result(column="real_back_pic", property="realBackPic", jdbcType=JdbcType.VARCHAR), + @Result(column="is_real", property="isReal", jdbcType=JdbcType.BIT), + @Result(column="live_price", property="livePrice", jdbcType=JdbcType.DECIMAL), + @Result(column="fyjine", property="fyjine", jdbcType=JdbcType.VARCHAR), + @Result(column="yifan", property="yifan", jdbcType=JdbcType.VARCHAR), + @Result(column="delivery_office", property="deliveryOffice", jdbcType=JdbcType.BIT), + @Result(column="subsidy_price", property="subsidyPrice", jdbcType=JdbcType.DECIMAL), + @Result(column="delivery_mch_id", property="deliveryMchId", jdbcType=JdbcType.INTEGER), + @Result(column="clerk_mch_id", property="clerkMchId", jdbcType=JdbcType.INTEGER), + @Result(column="is_group_centre", property="isGroupCentre", jdbcType=JdbcType.INTEGER), + @Result(column="sex", property="sex", jdbcType=JdbcType.INTEGER), + @Result(column="birth_date", property="birthDate", jdbcType=JdbcType.VARCHAR), + @Result(column="is_vgoods", property="isVgoods", jdbcType=JdbcType.INTEGER), + @Result(column="share_cat_id", property="shareCatId", jdbcType=JdbcType.INTEGER), + @Result(column="user_label", property="userLabel", jdbcType=JdbcType.INTEGER), + @Result(column="gh_card_no", property="ghCardNo", jdbcType=JdbcType.VARCHAR), + @Result(column="gh_card_pwd", property="ghCardPwd", jdbcType=JdbcType.INTEGER), + @Result(column="channel_phone", property="channelPhone", jdbcType=JdbcType.CHAR), + @Result(column="channel_sign", property="channelSign", jdbcType=JdbcType.VARCHAR), + @Result(column="email", property="email", jdbcType=JdbcType.VARCHAR), + @Result(column="apply_time", property="applyTime", jdbcType=JdbcType.INTEGER), + @Result(column="apply_status", property="applyStatus", jdbcType=JdbcType.SMALLINT) + }) + List selectByExample(CyymallUserExample example); + + @Select({ + "select", + "id, `type`, username, `password`, auth_key, access_token, addtime, is_delete, ", + "wechat_open_id, wechat_union_id, nickname, avatar_url, store_id, is_distributor, ", + "parent_id, `time`, total_price, price, is_clerk, we7_uid, shop_id, `level`, ", + "integral, total_integral, money, contact_way, comments, binding, wechat_platform_open_id, ", + "platform, blacklist, parent_user_id, appcid, is_admin, tuan_price, is_delivery, ", + "mch_id, real_name, real_code, real_just_pic, real_back_pic, is_real, live_price, ", + "fyjine, yifan, delivery_office, subsidy_price, delivery_mch_id, clerk_mch_id, ", + "is_group_centre, sex, birth_date, is_vgoods, share_cat_id, user_label, gh_card_no, ", + "gh_card_pwd, channel_phone, channel_sign, email, apply_time, apply_status", + "from cyymall_user", + "where id = #{id,jdbcType=INTEGER}" + }) + @Results({ + @Result(column="id", property="id", jdbcType=JdbcType.INTEGER, id=true), + @Result(column="type", property="type", jdbcType=JdbcType.SMALLINT), + @Result(column="username", property="username", jdbcType=JdbcType.VARCHAR), + @Result(column="password", property="password", jdbcType=JdbcType.VARCHAR), + @Result(column="auth_key", property="authKey", jdbcType=JdbcType.VARCHAR), + @Result(column="access_token", property="accessToken", jdbcType=JdbcType.VARCHAR), + @Result(column="addtime", property="addtime", jdbcType=JdbcType.INTEGER), + @Result(column="is_delete", property="isDelete", jdbcType=JdbcType.SMALLINT), + @Result(column="wechat_open_id", property="wechatOpenId", jdbcType=JdbcType.VARCHAR), + @Result(column="wechat_union_id", property="wechatUnionId", jdbcType=JdbcType.VARCHAR), + @Result(column="nickname", property="nickname", jdbcType=JdbcType.VARCHAR), + @Result(column="avatar_url", property="avatarUrl", jdbcType=JdbcType.VARCHAR), + @Result(column="store_id", property="storeId", jdbcType=JdbcType.INTEGER), + @Result(column="is_distributor", property="isDistributor", jdbcType=JdbcType.INTEGER), + @Result(column="parent_id", property="parentId", jdbcType=JdbcType.INTEGER), + @Result(column="time", property="time", jdbcType=JdbcType.INTEGER), + @Result(column="total_price", property="totalPrice", jdbcType=JdbcType.DECIMAL), + @Result(column="price", property="price", jdbcType=JdbcType.DECIMAL), + @Result(column="is_clerk", property="isClerk", jdbcType=JdbcType.INTEGER), + @Result(column="we7_uid", property="we7Uid", jdbcType=JdbcType.INTEGER), + @Result(column="shop_id", property="shopId", jdbcType=JdbcType.INTEGER), + @Result(column="level", property="level", jdbcType=JdbcType.INTEGER), + @Result(column="integral", property="integral", jdbcType=JdbcType.INTEGER), + @Result(column="total_integral", property="totalIntegral", jdbcType=JdbcType.INTEGER), + @Result(column="money", property="money", jdbcType=JdbcType.DECIMAL), + @Result(column="contact_way", property="contactWay", jdbcType=JdbcType.VARCHAR), + @Result(column="comments", property="comments", jdbcType=JdbcType.VARCHAR), + @Result(column="binding", property="binding", jdbcType=JdbcType.CHAR), + @Result(column="wechat_platform_open_id", property="wechatPlatformOpenId", jdbcType=JdbcType.VARCHAR), + @Result(column="platform", property="platform", jdbcType=JdbcType.TINYINT), + @Result(column="blacklist", property="blacklist", jdbcType=JdbcType.BIT), + @Result(column="parent_user_id", property="parentUserId", jdbcType=JdbcType.INTEGER), + @Result(column="appcid", property="appcid", jdbcType=JdbcType.VARCHAR), + @Result(column="is_admin", property="isAdmin", jdbcType=JdbcType.BIT), + @Result(column="tuan_price", property="tuanPrice", jdbcType=JdbcType.DECIMAL), + @Result(column="is_delivery", property="isDelivery", jdbcType=JdbcType.BIT), + @Result(column="mch_id", property="mchId", jdbcType=JdbcType.INTEGER), + @Result(column="real_name", property="realName", jdbcType=JdbcType.VARCHAR), + @Result(column="real_code", property="realCode", jdbcType=JdbcType.VARCHAR), + @Result(column="real_just_pic", property="realJustPic", jdbcType=JdbcType.VARCHAR), + @Result(column="real_back_pic", property="realBackPic", jdbcType=JdbcType.VARCHAR), + @Result(column="is_real", property="isReal", jdbcType=JdbcType.BIT), + @Result(column="live_price", property="livePrice", jdbcType=JdbcType.DECIMAL), + @Result(column="fyjine", property="fyjine", jdbcType=JdbcType.VARCHAR), + @Result(column="yifan", property="yifan", jdbcType=JdbcType.VARCHAR), + @Result(column="delivery_office", property="deliveryOffice", jdbcType=JdbcType.BIT), + @Result(column="subsidy_price", property="subsidyPrice", jdbcType=JdbcType.DECIMAL), + @Result(column="delivery_mch_id", property="deliveryMchId", jdbcType=JdbcType.INTEGER), + @Result(column="clerk_mch_id", property="clerkMchId", jdbcType=JdbcType.INTEGER), + @Result(column="is_group_centre", property="isGroupCentre", jdbcType=JdbcType.INTEGER), + @Result(column="sex", property="sex", jdbcType=JdbcType.INTEGER), + @Result(column="birth_date", property="birthDate", jdbcType=JdbcType.VARCHAR), + @Result(column="is_vgoods", property="isVgoods", jdbcType=JdbcType.INTEGER), + @Result(column="share_cat_id", property="shareCatId", jdbcType=JdbcType.INTEGER), + @Result(column="user_label", property="userLabel", jdbcType=JdbcType.INTEGER), + @Result(column="gh_card_no", property="ghCardNo", jdbcType=JdbcType.VARCHAR), + @Result(column="gh_card_pwd", property="ghCardPwd", jdbcType=JdbcType.INTEGER), + @Result(column="channel_phone", property="channelPhone", jdbcType=JdbcType.CHAR), + @Result(column="channel_sign", property="channelSign", jdbcType=JdbcType.VARCHAR), + @Result(column="email", property="email", jdbcType=JdbcType.VARCHAR), + @Result(column="apply_time", property="applyTime", jdbcType=JdbcType.INTEGER), + @Result(column="apply_status", property="applyStatus", jdbcType=JdbcType.SMALLINT) + }) + CyymallUser selectByPrimaryKey(Integer id); + + @UpdateProvider(type=CyymallUserSqlProvider.class, method="updateByExampleSelective") + int updateByExampleSelective(@Param("record") CyymallUser record, @Param("example") CyymallUserExample example); + + @UpdateProvider(type=CyymallUserSqlProvider.class, method="updateByExample") + int updateByExample(@Param("record") CyymallUser record, @Param("example") CyymallUserExample example); + + @UpdateProvider(type=CyymallUserSqlProvider.class, method="updateByPrimaryKeySelective") + int updateByPrimaryKeySelective(CyymallUser record); + + @Update({ + "update cyymall_user", + "set `type` = #{type,jdbcType=SMALLINT},", + "username = #{username,jdbcType=VARCHAR},", + "`password` = #{password,jdbcType=VARCHAR},", + "auth_key = #{authKey,jdbcType=VARCHAR},", + "access_token = #{accessToken,jdbcType=VARCHAR},", + "addtime = #{addtime,jdbcType=INTEGER},", + "is_delete = #{isDelete,jdbcType=SMALLINT},", + "wechat_open_id = #{wechatOpenId,jdbcType=VARCHAR},", + "wechat_union_id = #{wechatUnionId,jdbcType=VARCHAR},", + "nickname = #{nickname,jdbcType=VARCHAR},", + "avatar_url = #{avatarUrl,jdbcType=VARCHAR},", + "store_id = #{storeId,jdbcType=INTEGER},", + "is_distributor = #{isDistributor,jdbcType=INTEGER},", + "parent_id = #{parentId,jdbcType=INTEGER},", + "`time` = #{time,jdbcType=INTEGER},", + "total_price = #{totalPrice,jdbcType=DECIMAL},", + "price = #{price,jdbcType=DECIMAL},", + "is_clerk = #{isClerk,jdbcType=INTEGER},", + "we7_uid = #{we7Uid,jdbcType=INTEGER},", + "shop_id = #{shopId,jdbcType=INTEGER},", + "`level` = #{level,jdbcType=INTEGER},", + "integral = #{integral,jdbcType=INTEGER},", + "total_integral = #{totalIntegral,jdbcType=INTEGER},", + "money = #{money,jdbcType=DECIMAL},", + "contact_way = #{contactWay,jdbcType=VARCHAR},", + "comments = #{comments,jdbcType=VARCHAR},", + "binding = #{binding,jdbcType=CHAR},", + "wechat_platform_open_id = #{wechatPlatformOpenId,jdbcType=VARCHAR},", + "platform = #{platform,jdbcType=TINYINT},", + "blacklist = #{blacklist,jdbcType=BIT},", + "parent_user_id = #{parentUserId,jdbcType=INTEGER},", + "appcid = #{appcid,jdbcType=VARCHAR},", + "is_admin = #{isAdmin,jdbcType=BIT},", + "tuan_price = #{tuanPrice,jdbcType=DECIMAL},", + "is_delivery = #{isDelivery,jdbcType=BIT},", + "mch_id = #{mchId,jdbcType=INTEGER},", + "real_name = #{realName,jdbcType=VARCHAR},", + "real_code = #{realCode,jdbcType=VARCHAR},", + "real_just_pic = #{realJustPic,jdbcType=VARCHAR},", + "real_back_pic = #{realBackPic,jdbcType=VARCHAR},", + "is_real = #{isReal,jdbcType=BIT},", + "live_price = #{livePrice,jdbcType=DECIMAL},", + "fyjine = #{fyjine,jdbcType=VARCHAR},", + "yifan = #{yifan,jdbcType=VARCHAR},", + "delivery_office = #{deliveryOffice,jdbcType=BIT},", + "subsidy_price = #{subsidyPrice,jdbcType=DECIMAL},", + "delivery_mch_id = #{deliveryMchId,jdbcType=INTEGER},", + "clerk_mch_id = #{clerkMchId,jdbcType=INTEGER},", + "is_group_centre = #{isGroupCentre,jdbcType=INTEGER},", + "sex = #{sex,jdbcType=INTEGER},", + "birth_date = #{birthDate,jdbcType=VARCHAR},", + "is_vgoods = #{isVgoods,jdbcType=INTEGER},", + "share_cat_id = #{shareCatId,jdbcType=INTEGER},", + "user_label = #{userLabel,jdbcType=INTEGER},", + "gh_card_no = #{ghCardNo,jdbcType=VARCHAR},", + "gh_card_pwd = #{ghCardPwd,jdbcType=INTEGER},", + "channel_phone = #{channelPhone,jdbcType=CHAR},", + "channel_sign = #{channelSign,jdbcType=VARCHAR},", + "email = #{email,jdbcType=VARCHAR},", + "apply_time = #{applyTime,jdbcType=INTEGER},", + "apply_status = #{applyStatus,jdbcType=SMALLINT}", + "where id = #{id,jdbcType=INTEGER}" + }) + int updateByPrimaryKey(CyymallUser record); +} \ No newline at end of file diff --git a/service/src/main/java/com/hfkj/dao/CyymallUserMapperExt.java b/service/src/main/java/com/hfkj/dao/CyymallUserMapperExt.java new file mode 100644 index 0000000..af347cf --- /dev/null +++ b/service/src/main/java/com/hfkj/dao/CyymallUserMapperExt.java @@ -0,0 +1,7 @@ +package com.hfkj.dao; + +/** + * mapper扩展类 + */ +public interface CyymallUserMapperExt { +} \ No newline at end of file diff --git a/service/src/main/java/com/hfkj/dao/CyymallUserSqlProvider.java b/service/src/main/java/com/hfkj/dao/CyymallUserSqlProvider.java new file mode 100644 index 0000000..beda482 --- /dev/null +++ b/service/src/main/java/com/hfkj/dao/CyymallUserSqlProvider.java @@ -0,0 +1,1032 @@ +package com.hfkj.dao; + +import com.hfkj.entity.CyymallUser; +import com.hfkj.entity.CyymallUserExample.Criteria; +import com.hfkj.entity.CyymallUserExample.Criterion; +import com.hfkj.entity.CyymallUserExample; +import java.util.List; +import java.util.Map; +import org.apache.ibatis.jdbc.SQL; + +public class CyymallUserSqlProvider { + + public String countByExample(CyymallUserExample example) { + SQL sql = new SQL(); + sql.SELECT("count(*)").FROM("cyymall_user"); + applyWhere(sql, example, false); + return sql.toString(); + } + + public String deleteByExample(CyymallUserExample example) { + SQL sql = new SQL(); + sql.DELETE_FROM("cyymall_user"); + applyWhere(sql, example, false); + return sql.toString(); + } + + public String insertSelective(CyymallUser record) { + SQL sql = new SQL(); + sql.INSERT_INTO("cyymall_user"); + + if (record.getType() != null) { + sql.VALUES("`type`", "#{type,jdbcType=SMALLINT}"); + } + + if (record.getUsername() != null) { + sql.VALUES("username", "#{username,jdbcType=VARCHAR}"); + } + + if (record.getPassword() != null) { + sql.VALUES("`password`", "#{password,jdbcType=VARCHAR}"); + } + + if (record.getAuthKey() != null) { + sql.VALUES("auth_key", "#{authKey,jdbcType=VARCHAR}"); + } + + if (record.getAccessToken() != null) { + sql.VALUES("access_token", "#{accessToken,jdbcType=VARCHAR}"); + } + + if (record.getAddtime() != null) { + sql.VALUES("addtime", "#{addtime,jdbcType=INTEGER}"); + } + + if (record.getIsDelete() != null) { + sql.VALUES("is_delete", "#{isDelete,jdbcType=SMALLINT}"); + } + + if (record.getWechatOpenId() != null) { + sql.VALUES("wechat_open_id", "#{wechatOpenId,jdbcType=VARCHAR}"); + } + + if (record.getWechatUnionId() != null) { + sql.VALUES("wechat_union_id", "#{wechatUnionId,jdbcType=VARCHAR}"); + } + + if (record.getNickname() != null) { + sql.VALUES("nickname", "#{nickname,jdbcType=VARCHAR}"); + } + + if (record.getAvatarUrl() != null) { + sql.VALUES("avatar_url", "#{avatarUrl,jdbcType=VARCHAR}"); + } + + if (record.getStoreId() != null) { + sql.VALUES("store_id", "#{storeId,jdbcType=INTEGER}"); + } + + if (record.getIsDistributor() != null) { + sql.VALUES("is_distributor", "#{isDistributor,jdbcType=INTEGER}"); + } + + if (record.getParentId() != null) { + sql.VALUES("parent_id", "#{parentId,jdbcType=INTEGER}"); + } + + if (record.getTime() != null) { + sql.VALUES("`time`", "#{time,jdbcType=INTEGER}"); + } + + if (record.getTotalPrice() != null) { + sql.VALUES("total_price", "#{totalPrice,jdbcType=DECIMAL}"); + } + + if (record.getPrice() != null) { + sql.VALUES("price", "#{price,jdbcType=DECIMAL}"); + } + + if (record.getIsClerk() != null) { + sql.VALUES("is_clerk", "#{isClerk,jdbcType=INTEGER}"); + } + + if (record.getWe7Uid() != null) { + sql.VALUES("we7_uid", "#{we7Uid,jdbcType=INTEGER}"); + } + + if (record.getShopId() != null) { + sql.VALUES("shop_id", "#{shopId,jdbcType=INTEGER}"); + } + + if (record.getLevel() != null) { + sql.VALUES("`level`", "#{level,jdbcType=INTEGER}"); + } + + if (record.getIntegral() != null) { + sql.VALUES("integral", "#{integral,jdbcType=INTEGER}"); + } + + if (record.getTotalIntegral() != null) { + sql.VALUES("total_integral", "#{totalIntegral,jdbcType=INTEGER}"); + } + + if (record.getMoney() != null) { + sql.VALUES("money", "#{money,jdbcType=DECIMAL}"); + } + + if (record.getContactWay() != null) { + sql.VALUES("contact_way", "#{contactWay,jdbcType=VARCHAR}"); + } + + if (record.getComments() != null) { + sql.VALUES("comments", "#{comments,jdbcType=VARCHAR}"); + } + + if (record.getBinding() != null) { + sql.VALUES("binding", "#{binding,jdbcType=CHAR}"); + } + + if (record.getWechatPlatformOpenId() != null) { + sql.VALUES("wechat_platform_open_id", "#{wechatPlatformOpenId,jdbcType=VARCHAR}"); + } + + if (record.getPlatform() != null) { + sql.VALUES("platform", "#{platform,jdbcType=TINYINT}"); + } + + if (record.getBlacklist() != null) { + sql.VALUES("blacklist", "#{blacklist,jdbcType=BIT}"); + } + + if (record.getParentUserId() != null) { + sql.VALUES("parent_user_id", "#{parentUserId,jdbcType=INTEGER}"); + } + + if (record.getAppcid() != null) { + sql.VALUES("appcid", "#{appcid,jdbcType=VARCHAR}"); + } + + if (record.getIsAdmin() != null) { + sql.VALUES("is_admin", "#{isAdmin,jdbcType=BIT}"); + } + + if (record.getTuanPrice() != null) { + sql.VALUES("tuan_price", "#{tuanPrice,jdbcType=DECIMAL}"); + } + + if (record.getIsDelivery() != null) { + sql.VALUES("is_delivery", "#{isDelivery,jdbcType=BIT}"); + } + + if (record.getMchId() != null) { + sql.VALUES("mch_id", "#{mchId,jdbcType=INTEGER}"); + } + + if (record.getRealName() != null) { + sql.VALUES("real_name", "#{realName,jdbcType=VARCHAR}"); + } + + if (record.getRealCode() != null) { + sql.VALUES("real_code", "#{realCode,jdbcType=VARCHAR}"); + } + + if (record.getRealJustPic() != null) { + sql.VALUES("real_just_pic", "#{realJustPic,jdbcType=VARCHAR}"); + } + + if (record.getRealBackPic() != null) { + sql.VALUES("real_back_pic", "#{realBackPic,jdbcType=VARCHAR}"); + } + + if (record.getIsReal() != null) { + sql.VALUES("is_real", "#{isReal,jdbcType=BIT}"); + } + + if (record.getLivePrice() != null) { + sql.VALUES("live_price", "#{livePrice,jdbcType=DECIMAL}"); + } + + if (record.getFyjine() != null) { + sql.VALUES("fyjine", "#{fyjine,jdbcType=VARCHAR}"); + } + + if (record.getYifan() != null) { + sql.VALUES("yifan", "#{yifan,jdbcType=VARCHAR}"); + } + + if (record.getDeliveryOffice() != null) { + sql.VALUES("delivery_office", "#{deliveryOffice,jdbcType=BIT}"); + } + + if (record.getSubsidyPrice() != null) { + sql.VALUES("subsidy_price", "#{subsidyPrice,jdbcType=DECIMAL}"); + } + + if (record.getDeliveryMchId() != null) { + sql.VALUES("delivery_mch_id", "#{deliveryMchId,jdbcType=INTEGER}"); + } + + if (record.getClerkMchId() != null) { + sql.VALUES("clerk_mch_id", "#{clerkMchId,jdbcType=INTEGER}"); + } + + if (record.getIsGroupCentre() != null) { + sql.VALUES("is_group_centre", "#{isGroupCentre,jdbcType=INTEGER}"); + } + + if (record.getSex() != null) { + sql.VALUES("sex", "#{sex,jdbcType=INTEGER}"); + } + + if (record.getBirthDate() != null) { + sql.VALUES("birth_date", "#{birthDate,jdbcType=VARCHAR}"); + } + + if (record.getIsVgoods() != null) { + sql.VALUES("is_vgoods", "#{isVgoods,jdbcType=INTEGER}"); + } + + if (record.getShareCatId() != null) { + sql.VALUES("share_cat_id", "#{shareCatId,jdbcType=INTEGER}"); + } + + if (record.getUserLabel() != null) { + sql.VALUES("user_label", "#{userLabel,jdbcType=INTEGER}"); + } + + if (record.getGhCardNo() != null) { + sql.VALUES("gh_card_no", "#{ghCardNo,jdbcType=VARCHAR}"); + } + + if (record.getGhCardPwd() != null) { + sql.VALUES("gh_card_pwd", "#{ghCardPwd,jdbcType=INTEGER}"); + } + + if (record.getChannelPhone() != null) { + sql.VALUES("channel_phone", "#{channelPhone,jdbcType=CHAR}"); + } + + if (record.getChannelSign() != null) { + sql.VALUES("channel_sign", "#{channelSign,jdbcType=VARCHAR}"); + } + + if (record.getEmail() != null) { + sql.VALUES("email", "#{email,jdbcType=VARCHAR}"); + } + + if (record.getApplyTime() != null) { + sql.VALUES("apply_time", "#{applyTime,jdbcType=INTEGER}"); + } + + if (record.getApplyStatus() != null) { + sql.VALUES("apply_status", "#{applyStatus,jdbcType=SMALLINT}"); + } + + return sql.toString(); + } + + public String selectByExample(CyymallUserExample example) { + SQL sql = new SQL(); + if (example != null && example.isDistinct()) { + sql.SELECT_DISTINCT("id"); + } else { + sql.SELECT("id"); + } + sql.SELECT("`type`"); + sql.SELECT("username"); + sql.SELECT("`password`"); + sql.SELECT("auth_key"); + sql.SELECT("access_token"); + sql.SELECT("addtime"); + sql.SELECT("is_delete"); + sql.SELECT("wechat_open_id"); + sql.SELECT("wechat_union_id"); + sql.SELECT("nickname"); + sql.SELECT("avatar_url"); + sql.SELECT("store_id"); + sql.SELECT("is_distributor"); + sql.SELECT("parent_id"); + sql.SELECT("`time`"); + sql.SELECT("total_price"); + sql.SELECT("price"); + sql.SELECT("is_clerk"); + sql.SELECT("we7_uid"); + sql.SELECT("shop_id"); + sql.SELECT("`level`"); + sql.SELECT("integral"); + sql.SELECT("total_integral"); + sql.SELECT("money"); + sql.SELECT("contact_way"); + sql.SELECT("comments"); + sql.SELECT("binding"); + sql.SELECT("wechat_platform_open_id"); + sql.SELECT("platform"); + sql.SELECT("blacklist"); + sql.SELECT("parent_user_id"); + sql.SELECT("appcid"); + sql.SELECT("is_admin"); + sql.SELECT("tuan_price"); + sql.SELECT("is_delivery"); + sql.SELECT("mch_id"); + sql.SELECT("real_name"); + sql.SELECT("real_code"); + sql.SELECT("real_just_pic"); + sql.SELECT("real_back_pic"); + sql.SELECT("is_real"); + sql.SELECT("live_price"); + sql.SELECT("fyjine"); + sql.SELECT("yifan"); + sql.SELECT("delivery_office"); + sql.SELECT("subsidy_price"); + sql.SELECT("delivery_mch_id"); + sql.SELECT("clerk_mch_id"); + sql.SELECT("is_group_centre"); + sql.SELECT("sex"); + sql.SELECT("birth_date"); + sql.SELECT("is_vgoods"); + sql.SELECT("share_cat_id"); + sql.SELECT("user_label"); + sql.SELECT("gh_card_no"); + sql.SELECT("gh_card_pwd"); + sql.SELECT("channel_phone"); + sql.SELECT("channel_sign"); + sql.SELECT("email"); + sql.SELECT("apply_time"); + sql.SELECT("apply_status"); + sql.FROM("cyymall_user"); + applyWhere(sql, example, false); + + if (example != null && example.getOrderByClause() != null) { + sql.ORDER_BY(example.getOrderByClause()); + } + + return sql.toString(); + } + + public String updateByExampleSelective(Map parameter) { + CyymallUser record = (CyymallUser) parameter.get("record"); + CyymallUserExample example = (CyymallUserExample) parameter.get("example"); + + SQL sql = new SQL(); + sql.UPDATE("cyymall_user"); + + if (record.getId() != null) { + sql.SET("id = #{record.id,jdbcType=INTEGER}"); + } + + if (record.getType() != null) { + sql.SET("`type` = #{record.type,jdbcType=SMALLINT}"); + } + + if (record.getUsername() != null) { + sql.SET("username = #{record.username,jdbcType=VARCHAR}"); + } + + if (record.getPassword() != null) { + sql.SET("`password` = #{record.password,jdbcType=VARCHAR}"); + } + + if (record.getAuthKey() != null) { + sql.SET("auth_key = #{record.authKey,jdbcType=VARCHAR}"); + } + + if (record.getAccessToken() != null) { + sql.SET("access_token = #{record.accessToken,jdbcType=VARCHAR}"); + } + + if (record.getAddtime() != null) { + sql.SET("addtime = #{record.addtime,jdbcType=INTEGER}"); + } + + if (record.getIsDelete() != null) { + sql.SET("is_delete = #{record.isDelete,jdbcType=SMALLINT}"); + } + + if (record.getWechatOpenId() != null) { + sql.SET("wechat_open_id = #{record.wechatOpenId,jdbcType=VARCHAR}"); + } + + if (record.getWechatUnionId() != null) { + sql.SET("wechat_union_id = #{record.wechatUnionId,jdbcType=VARCHAR}"); + } + + if (record.getNickname() != null) { + sql.SET("nickname = #{record.nickname,jdbcType=VARCHAR}"); + } + + if (record.getAvatarUrl() != null) { + sql.SET("avatar_url = #{record.avatarUrl,jdbcType=VARCHAR}"); + } + + if (record.getStoreId() != null) { + sql.SET("store_id = #{record.storeId,jdbcType=INTEGER}"); + } + + if (record.getIsDistributor() != null) { + sql.SET("is_distributor = #{record.isDistributor,jdbcType=INTEGER}"); + } + + if (record.getParentId() != null) { + sql.SET("parent_id = #{record.parentId,jdbcType=INTEGER}"); + } + + if (record.getTime() != null) { + sql.SET("`time` = #{record.time,jdbcType=INTEGER}"); + } + + if (record.getTotalPrice() != null) { + sql.SET("total_price = #{record.totalPrice,jdbcType=DECIMAL}"); + } + + if (record.getPrice() != null) { + sql.SET("price = #{record.price,jdbcType=DECIMAL}"); + } + + if (record.getIsClerk() != null) { + sql.SET("is_clerk = #{record.isClerk,jdbcType=INTEGER}"); + } + + if (record.getWe7Uid() != null) { + sql.SET("we7_uid = #{record.we7Uid,jdbcType=INTEGER}"); + } + + if (record.getShopId() != null) { + sql.SET("shop_id = #{record.shopId,jdbcType=INTEGER}"); + } + + if (record.getLevel() != null) { + sql.SET("`level` = #{record.level,jdbcType=INTEGER}"); + } + + if (record.getIntegral() != null) { + sql.SET("integral = #{record.integral,jdbcType=INTEGER}"); + } + + if (record.getTotalIntegral() != null) { + sql.SET("total_integral = #{record.totalIntegral,jdbcType=INTEGER}"); + } + + if (record.getMoney() != null) { + sql.SET("money = #{record.money,jdbcType=DECIMAL}"); + } + + if (record.getContactWay() != null) { + sql.SET("contact_way = #{record.contactWay,jdbcType=VARCHAR}"); + } + + if (record.getComments() != null) { + sql.SET("comments = #{record.comments,jdbcType=VARCHAR}"); + } + + if (record.getBinding() != null) { + sql.SET("binding = #{record.binding,jdbcType=CHAR}"); + } + + if (record.getWechatPlatformOpenId() != null) { + sql.SET("wechat_platform_open_id = #{record.wechatPlatformOpenId,jdbcType=VARCHAR}"); + } + + if (record.getPlatform() != null) { + sql.SET("platform = #{record.platform,jdbcType=TINYINT}"); + } + + if (record.getBlacklist() != null) { + sql.SET("blacklist = #{record.blacklist,jdbcType=BIT}"); + } + + if (record.getParentUserId() != null) { + sql.SET("parent_user_id = #{record.parentUserId,jdbcType=INTEGER}"); + } + + if (record.getAppcid() != null) { + sql.SET("appcid = #{record.appcid,jdbcType=VARCHAR}"); + } + + if (record.getIsAdmin() != null) { + sql.SET("is_admin = #{record.isAdmin,jdbcType=BIT}"); + } + + if (record.getTuanPrice() != null) { + sql.SET("tuan_price = #{record.tuanPrice,jdbcType=DECIMAL}"); + } + + if (record.getIsDelivery() != null) { + sql.SET("is_delivery = #{record.isDelivery,jdbcType=BIT}"); + } + + if (record.getMchId() != null) { + sql.SET("mch_id = #{record.mchId,jdbcType=INTEGER}"); + } + + if (record.getRealName() != null) { + sql.SET("real_name = #{record.realName,jdbcType=VARCHAR}"); + } + + if (record.getRealCode() != null) { + sql.SET("real_code = #{record.realCode,jdbcType=VARCHAR}"); + } + + if (record.getRealJustPic() != null) { + sql.SET("real_just_pic = #{record.realJustPic,jdbcType=VARCHAR}"); + } + + if (record.getRealBackPic() != null) { + sql.SET("real_back_pic = #{record.realBackPic,jdbcType=VARCHAR}"); + } + + if (record.getIsReal() != null) { + sql.SET("is_real = #{record.isReal,jdbcType=BIT}"); + } + + if (record.getLivePrice() != null) { + sql.SET("live_price = #{record.livePrice,jdbcType=DECIMAL}"); + } + + if (record.getFyjine() != null) { + sql.SET("fyjine = #{record.fyjine,jdbcType=VARCHAR}"); + } + + if (record.getYifan() != null) { + sql.SET("yifan = #{record.yifan,jdbcType=VARCHAR}"); + } + + if (record.getDeliveryOffice() != null) { + sql.SET("delivery_office = #{record.deliveryOffice,jdbcType=BIT}"); + } + + if (record.getSubsidyPrice() != null) { + sql.SET("subsidy_price = #{record.subsidyPrice,jdbcType=DECIMAL}"); + } + + if (record.getDeliveryMchId() != null) { + sql.SET("delivery_mch_id = #{record.deliveryMchId,jdbcType=INTEGER}"); + } + + if (record.getClerkMchId() != null) { + sql.SET("clerk_mch_id = #{record.clerkMchId,jdbcType=INTEGER}"); + } + + if (record.getIsGroupCentre() != null) { + sql.SET("is_group_centre = #{record.isGroupCentre,jdbcType=INTEGER}"); + } + + if (record.getSex() != null) { + sql.SET("sex = #{record.sex,jdbcType=INTEGER}"); + } + + if (record.getBirthDate() != null) { + sql.SET("birth_date = #{record.birthDate,jdbcType=VARCHAR}"); + } + + if (record.getIsVgoods() != null) { + sql.SET("is_vgoods = #{record.isVgoods,jdbcType=INTEGER}"); + } + + if (record.getShareCatId() != null) { + sql.SET("share_cat_id = #{record.shareCatId,jdbcType=INTEGER}"); + } + + if (record.getUserLabel() != null) { + sql.SET("user_label = #{record.userLabel,jdbcType=INTEGER}"); + } + + if (record.getGhCardNo() != null) { + sql.SET("gh_card_no = #{record.ghCardNo,jdbcType=VARCHAR}"); + } + + if (record.getGhCardPwd() != null) { + sql.SET("gh_card_pwd = #{record.ghCardPwd,jdbcType=INTEGER}"); + } + + if (record.getChannelPhone() != null) { + sql.SET("channel_phone = #{record.channelPhone,jdbcType=CHAR}"); + } + + if (record.getChannelSign() != null) { + sql.SET("channel_sign = #{record.channelSign,jdbcType=VARCHAR}"); + } + + if (record.getEmail() != null) { + sql.SET("email = #{record.email,jdbcType=VARCHAR}"); + } + + if (record.getApplyTime() != null) { + sql.SET("apply_time = #{record.applyTime,jdbcType=INTEGER}"); + } + + if (record.getApplyStatus() != null) { + sql.SET("apply_status = #{record.applyStatus,jdbcType=SMALLINT}"); + } + + applyWhere(sql, example, true); + return sql.toString(); + } + + public String updateByExample(Map parameter) { + SQL sql = new SQL(); + sql.UPDATE("cyymall_user"); + + sql.SET("id = #{record.id,jdbcType=INTEGER}"); + sql.SET("`type` = #{record.type,jdbcType=SMALLINT}"); + sql.SET("username = #{record.username,jdbcType=VARCHAR}"); + sql.SET("`password` = #{record.password,jdbcType=VARCHAR}"); + sql.SET("auth_key = #{record.authKey,jdbcType=VARCHAR}"); + sql.SET("access_token = #{record.accessToken,jdbcType=VARCHAR}"); + sql.SET("addtime = #{record.addtime,jdbcType=INTEGER}"); + sql.SET("is_delete = #{record.isDelete,jdbcType=SMALLINT}"); + sql.SET("wechat_open_id = #{record.wechatOpenId,jdbcType=VARCHAR}"); + sql.SET("wechat_union_id = #{record.wechatUnionId,jdbcType=VARCHAR}"); + sql.SET("nickname = #{record.nickname,jdbcType=VARCHAR}"); + sql.SET("avatar_url = #{record.avatarUrl,jdbcType=VARCHAR}"); + sql.SET("store_id = #{record.storeId,jdbcType=INTEGER}"); + sql.SET("is_distributor = #{record.isDistributor,jdbcType=INTEGER}"); + sql.SET("parent_id = #{record.parentId,jdbcType=INTEGER}"); + sql.SET("`time` = #{record.time,jdbcType=INTEGER}"); + sql.SET("total_price = #{record.totalPrice,jdbcType=DECIMAL}"); + sql.SET("price = #{record.price,jdbcType=DECIMAL}"); + sql.SET("is_clerk = #{record.isClerk,jdbcType=INTEGER}"); + sql.SET("we7_uid = #{record.we7Uid,jdbcType=INTEGER}"); + sql.SET("shop_id = #{record.shopId,jdbcType=INTEGER}"); + sql.SET("`level` = #{record.level,jdbcType=INTEGER}"); + sql.SET("integral = #{record.integral,jdbcType=INTEGER}"); + sql.SET("total_integral = #{record.totalIntegral,jdbcType=INTEGER}"); + sql.SET("money = #{record.money,jdbcType=DECIMAL}"); + sql.SET("contact_way = #{record.contactWay,jdbcType=VARCHAR}"); + sql.SET("comments = #{record.comments,jdbcType=VARCHAR}"); + sql.SET("binding = #{record.binding,jdbcType=CHAR}"); + sql.SET("wechat_platform_open_id = #{record.wechatPlatformOpenId,jdbcType=VARCHAR}"); + sql.SET("platform = #{record.platform,jdbcType=TINYINT}"); + sql.SET("blacklist = #{record.blacklist,jdbcType=BIT}"); + sql.SET("parent_user_id = #{record.parentUserId,jdbcType=INTEGER}"); + sql.SET("appcid = #{record.appcid,jdbcType=VARCHAR}"); + sql.SET("is_admin = #{record.isAdmin,jdbcType=BIT}"); + sql.SET("tuan_price = #{record.tuanPrice,jdbcType=DECIMAL}"); + sql.SET("is_delivery = #{record.isDelivery,jdbcType=BIT}"); + sql.SET("mch_id = #{record.mchId,jdbcType=INTEGER}"); + sql.SET("real_name = #{record.realName,jdbcType=VARCHAR}"); + sql.SET("real_code = #{record.realCode,jdbcType=VARCHAR}"); + sql.SET("real_just_pic = #{record.realJustPic,jdbcType=VARCHAR}"); + sql.SET("real_back_pic = #{record.realBackPic,jdbcType=VARCHAR}"); + sql.SET("is_real = #{record.isReal,jdbcType=BIT}"); + sql.SET("live_price = #{record.livePrice,jdbcType=DECIMAL}"); + sql.SET("fyjine = #{record.fyjine,jdbcType=VARCHAR}"); + sql.SET("yifan = #{record.yifan,jdbcType=VARCHAR}"); + sql.SET("delivery_office = #{record.deliveryOffice,jdbcType=BIT}"); + sql.SET("subsidy_price = #{record.subsidyPrice,jdbcType=DECIMAL}"); + sql.SET("delivery_mch_id = #{record.deliveryMchId,jdbcType=INTEGER}"); + sql.SET("clerk_mch_id = #{record.clerkMchId,jdbcType=INTEGER}"); + sql.SET("is_group_centre = #{record.isGroupCentre,jdbcType=INTEGER}"); + sql.SET("sex = #{record.sex,jdbcType=INTEGER}"); + sql.SET("birth_date = #{record.birthDate,jdbcType=VARCHAR}"); + sql.SET("is_vgoods = #{record.isVgoods,jdbcType=INTEGER}"); + sql.SET("share_cat_id = #{record.shareCatId,jdbcType=INTEGER}"); + sql.SET("user_label = #{record.userLabel,jdbcType=INTEGER}"); + sql.SET("gh_card_no = #{record.ghCardNo,jdbcType=VARCHAR}"); + sql.SET("gh_card_pwd = #{record.ghCardPwd,jdbcType=INTEGER}"); + sql.SET("channel_phone = #{record.channelPhone,jdbcType=CHAR}"); + sql.SET("channel_sign = #{record.channelSign,jdbcType=VARCHAR}"); + sql.SET("email = #{record.email,jdbcType=VARCHAR}"); + sql.SET("apply_time = #{record.applyTime,jdbcType=INTEGER}"); + sql.SET("apply_status = #{record.applyStatus,jdbcType=SMALLINT}"); + + CyymallUserExample example = (CyymallUserExample) parameter.get("example"); + applyWhere(sql, example, true); + return sql.toString(); + } + + public String updateByPrimaryKeySelective(CyymallUser record) { + SQL sql = new SQL(); + sql.UPDATE("cyymall_user"); + + if (record.getType() != null) { + sql.SET("`type` = #{type,jdbcType=SMALLINT}"); + } + + if (record.getUsername() != null) { + sql.SET("username = #{username,jdbcType=VARCHAR}"); + } + + if (record.getPassword() != null) { + sql.SET("`password` = #{password,jdbcType=VARCHAR}"); + } + + if (record.getAuthKey() != null) { + sql.SET("auth_key = #{authKey,jdbcType=VARCHAR}"); + } + + if (record.getAccessToken() != null) { + sql.SET("access_token = #{accessToken,jdbcType=VARCHAR}"); + } + + if (record.getAddtime() != null) { + sql.SET("addtime = #{addtime,jdbcType=INTEGER}"); + } + + if (record.getIsDelete() != null) { + sql.SET("is_delete = #{isDelete,jdbcType=SMALLINT}"); + } + + if (record.getWechatOpenId() != null) { + sql.SET("wechat_open_id = #{wechatOpenId,jdbcType=VARCHAR}"); + } + + if (record.getWechatUnionId() != null) { + sql.SET("wechat_union_id = #{wechatUnionId,jdbcType=VARCHAR}"); + } + + if (record.getNickname() != null) { + sql.SET("nickname = #{nickname,jdbcType=VARCHAR}"); + } + + if (record.getAvatarUrl() != null) { + sql.SET("avatar_url = #{avatarUrl,jdbcType=VARCHAR}"); + } + + if (record.getStoreId() != null) { + sql.SET("store_id = #{storeId,jdbcType=INTEGER}"); + } + + if (record.getIsDistributor() != null) { + sql.SET("is_distributor = #{isDistributor,jdbcType=INTEGER}"); + } + + if (record.getParentId() != null) { + sql.SET("parent_id = #{parentId,jdbcType=INTEGER}"); + } + + if (record.getTime() != null) { + sql.SET("`time` = #{time,jdbcType=INTEGER}"); + } + + if (record.getTotalPrice() != null) { + sql.SET("total_price = #{totalPrice,jdbcType=DECIMAL}"); + } + + if (record.getPrice() != null) { + sql.SET("price = #{price,jdbcType=DECIMAL}"); + } + + if (record.getIsClerk() != null) { + sql.SET("is_clerk = #{isClerk,jdbcType=INTEGER}"); + } + + if (record.getWe7Uid() != null) { + sql.SET("we7_uid = #{we7Uid,jdbcType=INTEGER}"); + } + + if (record.getShopId() != null) { + sql.SET("shop_id = #{shopId,jdbcType=INTEGER}"); + } + + if (record.getLevel() != null) { + sql.SET("`level` = #{level,jdbcType=INTEGER}"); + } + + if (record.getIntegral() != null) { + sql.SET("integral = #{integral,jdbcType=INTEGER}"); + } + + if (record.getTotalIntegral() != null) { + sql.SET("total_integral = #{totalIntegral,jdbcType=INTEGER}"); + } + + if (record.getMoney() != null) { + sql.SET("money = #{money,jdbcType=DECIMAL}"); + } + + if (record.getContactWay() != null) { + sql.SET("contact_way = #{contactWay,jdbcType=VARCHAR}"); + } + + if (record.getComments() != null) { + sql.SET("comments = #{comments,jdbcType=VARCHAR}"); + } + + if (record.getBinding() != null) { + sql.SET("binding = #{binding,jdbcType=CHAR}"); + } + + if (record.getWechatPlatformOpenId() != null) { + sql.SET("wechat_platform_open_id = #{wechatPlatformOpenId,jdbcType=VARCHAR}"); + } + + if (record.getPlatform() != null) { + sql.SET("platform = #{platform,jdbcType=TINYINT}"); + } + + if (record.getBlacklist() != null) { + sql.SET("blacklist = #{blacklist,jdbcType=BIT}"); + } + + if (record.getParentUserId() != null) { + sql.SET("parent_user_id = #{parentUserId,jdbcType=INTEGER}"); + } + + if (record.getAppcid() != null) { + sql.SET("appcid = #{appcid,jdbcType=VARCHAR}"); + } + + if (record.getIsAdmin() != null) { + sql.SET("is_admin = #{isAdmin,jdbcType=BIT}"); + } + + if (record.getTuanPrice() != null) { + sql.SET("tuan_price = #{tuanPrice,jdbcType=DECIMAL}"); + } + + if (record.getIsDelivery() != null) { + sql.SET("is_delivery = #{isDelivery,jdbcType=BIT}"); + } + + if (record.getMchId() != null) { + sql.SET("mch_id = #{mchId,jdbcType=INTEGER}"); + } + + if (record.getRealName() != null) { + sql.SET("real_name = #{realName,jdbcType=VARCHAR}"); + } + + if (record.getRealCode() != null) { + sql.SET("real_code = #{realCode,jdbcType=VARCHAR}"); + } + + if (record.getRealJustPic() != null) { + sql.SET("real_just_pic = #{realJustPic,jdbcType=VARCHAR}"); + } + + if (record.getRealBackPic() != null) { + sql.SET("real_back_pic = #{realBackPic,jdbcType=VARCHAR}"); + } + + if (record.getIsReal() != null) { + sql.SET("is_real = #{isReal,jdbcType=BIT}"); + } + + if (record.getLivePrice() != null) { + sql.SET("live_price = #{livePrice,jdbcType=DECIMAL}"); + } + + if (record.getFyjine() != null) { + sql.SET("fyjine = #{fyjine,jdbcType=VARCHAR}"); + } + + if (record.getYifan() != null) { + sql.SET("yifan = #{yifan,jdbcType=VARCHAR}"); + } + + if (record.getDeliveryOffice() != null) { + sql.SET("delivery_office = #{deliveryOffice,jdbcType=BIT}"); + } + + if (record.getSubsidyPrice() != null) { + sql.SET("subsidy_price = #{subsidyPrice,jdbcType=DECIMAL}"); + } + + if (record.getDeliveryMchId() != null) { + sql.SET("delivery_mch_id = #{deliveryMchId,jdbcType=INTEGER}"); + } + + if (record.getClerkMchId() != null) { + sql.SET("clerk_mch_id = #{clerkMchId,jdbcType=INTEGER}"); + } + + if (record.getIsGroupCentre() != null) { + sql.SET("is_group_centre = #{isGroupCentre,jdbcType=INTEGER}"); + } + + if (record.getSex() != null) { + sql.SET("sex = #{sex,jdbcType=INTEGER}"); + } + + if (record.getBirthDate() != null) { + sql.SET("birth_date = #{birthDate,jdbcType=VARCHAR}"); + } + + if (record.getIsVgoods() != null) { + sql.SET("is_vgoods = #{isVgoods,jdbcType=INTEGER}"); + } + + if (record.getShareCatId() != null) { + sql.SET("share_cat_id = #{shareCatId,jdbcType=INTEGER}"); + } + + if (record.getUserLabel() != null) { + sql.SET("user_label = #{userLabel,jdbcType=INTEGER}"); + } + + if (record.getGhCardNo() != null) { + sql.SET("gh_card_no = #{ghCardNo,jdbcType=VARCHAR}"); + } + + if (record.getGhCardPwd() != null) { + sql.SET("gh_card_pwd = #{ghCardPwd,jdbcType=INTEGER}"); + } + + if (record.getChannelPhone() != null) { + sql.SET("channel_phone = #{channelPhone,jdbcType=CHAR}"); + } + + if (record.getChannelSign() != null) { + sql.SET("channel_sign = #{channelSign,jdbcType=VARCHAR}"); + } + + if (record.getEmail() != null) { + sql.SET("email = #{email,jdbcType=VARCHAR}"); + } + + if (record.getApplyTime() != null) { + sql.SET("apply_time = #{applyTime,jdbcType=INTEGER}"); + } + + if (record.getApplyStatus() != null) { + sql.SET("apply_status = #{applyStatus,jdbcType=SMALLINT}"); + } + + sql.WHERE("id = #{id,jdbcType=INTEGER}"); + + return sql.toString(); + } + + protected void applyWhere(SQL sql, CyymallUserExample example, boolean includeExamplePhrase) { + if (example == null) { + return; + } + + String parmPhrase1; + String parmPhrase1_th; + String parmPhrase2; + String parmPhrase2_th; + String parmPhrase3; + String parmPhrase3_th; + if (includeExamplePhrase) { + parmPhrase1 = "%s #{example.oredCriteria[%d].allCriteria[%d].value}"; + parmPhrase1_th = "%s #{example.oredCriteria[%d].allCriteria[%d].value,typeHandler=%s}"; + parmPhrase2 = "%s #{example.oredCriteria[%d].allCriteria[%d].value} and #{example.oredCriteria[%d].criteria[%d].secondValue}"; + parmPhrase2_th = "%s #{example.oredCriteria[%d].allCriteria[%d].value,typeHandler=%s} and #{example.oredCriteria[%d].criteria[%d].secondValue,typeHandler=%s}"; + parmPhrase3 = "#{example.oredCriteria[%d].allCriteria[%d].value[%d]}"; + parmPhrase3_th = "#{example.oredCriteria[%d].allCriteria[%d].value[%d],typeHandler=%s}"; + } else { + parmPhrase1 = "%s #{oredCriteria[%d].allCriteria[%d].value}"; + parmPhrase1_th = "%s #{oredCriteria[%d].allCriteria[%d].value,typeHandler=%s}"; + parmPhrase2 = "%s #{oredCriteria[%d].allCriteria[%d].value} and #{oredCriteria[%d].criteria[%d].secondValue}"; + parmPhrase2_th = "%s #{oredCriteria[%d].allCriteria[%d].value,typeHandler=%s} and #{oredCriteria[%d].criteria[%d].secondValue,typeHandler=%s}"; + parmPhrase3 = "#{oredCriteria[%d].allCriteria[%d].value[%d]}"; + parmPhrase3_th = "#{oredCriteria[%d].allCriteria[%d].value[%d],typeHandler=%s}"; + } + + StringBuilder sb = new StringBuilder(); + List oredCriteria = example.getOredCriteria(); + boolean firstCriteria = true; + for (int i = 0; i < oredCriteria.size(); i++) { + Criteria criteria = oredCriteria.get(i); + if (criteria.isValid()) { + if (firstCriteria) { + firstCriteria = false; + } else { + sb.append(" or "); + } + + sb.append('('); + List criterions = criteria.getAllCriteria(); + boolean firstCriterion = true; + for (int j = 0; j < criterions.size(); j++) { + Criterion criterion = criterions.get(j); + if (firstCriterion) { + firstCriterion = false; + } else { + sb.append(" and "); + } + + if (criterion.isNoValue()) { + sb.append(criterion.getCondition()); + } else if (criterion.isSingleValue()) { + if (criterion.getTypeHandler() == null) { + sb.append(String.format(parmPhrase1, criterion.getCondition(), i, j)); + } else { + sb.append(String.format(parmPhrase1_th, criterion.getCondition(), i, j,criterion.getTypeHandler())); + } + } else if (criterion.isBetweenValue()) { + if (criterion.getTypeHandler() == null) { + sb.append(String.format(parmPhrase2, criterion.getCondition(), i, j, i, j)); + } else { + sb.append(String.format(parmPhrase2_th, criterion.getCondition(), i, j, criterion.getTypeHandler(), i, j, criterion.getTypeHandler())); + } + } else if (criterion.isListValue()) { + sb.append(criterion.getCondition()); + sb.append(" ("); + List listItems = (List) criterion.getValue(); + boolean comma = false; + for (int k = 0; k < listItems.size(); k++) { + if (comma) { + sb.append(", "); + } else { + comma = true; + } + if (criterion.getTypeHandler() == null) { + sb.append(String.format(parmPhrase3, i, j, k)); + } else { + sb.append(String.format(parmPhrase3_th, i, j, k, criterion.getTypeHandler())); + } + } + sb.append(')'); + } + } + sb.append(')'); + } + } + + if (sb.length() > 0) { + sql.WHERE(sb.toString()); + } + } +} \ No newline at end of file diff --git a/service/src/main/java/com/hfkj/entity/CyymallOrder.java b/service/src/main/java/com/hfkj/entity/CyymallOrder.java new file mode 100644 index 0000000..93d5a14 --- /dev/null +++ b/service/src/main/java/com/hfkj/entity/CyymallOrder.java @@ -0,0 +1,1407 @@ +package com.hfkj.entity; + +import java.io.Serializable; +import java.math.BigDecimal; + +/** + * cyymall_order + * @author + */ +/** + * + * 代码由工具生成 + * + **/ +public class CyymallOrder implements Serializable { + private Integer id; + + private Integer storeId; + + /** + * 用户id + */ + private Integer userId; + + /** + * 订单号 + */ + private String orderNo; + + /** + * 订单总费用(包含运费) + */ + private BigDecimal totalPrice; + + /** + * 实际支付总费用(含运费) + */ + private BigDecimal payPrice; + + /** + * 运费 + */ + private BigDecimal expressPrice; + + /** + * 收货人姓名 + */ + private String name; + + /** + * 收货人手机 + */ + private String mobile; + + /** + * 收货地址 + */ + private String address; + + /** + * 订单备注 + */ + private String remark; + + /** + * 支付状态:0=未支付,1=已支付 + */ + private Short isPay; + + /** + * 支付方式:1=微信支付 + */ + private Short payType; + + /** + * 支付时间 + */ + private Integer payTime; + + /** + * 发货状态:0=未发货,1=已发货 + */ + private Short isSend; + + /** + * 发货时间 + */ + private Integer sendTime; + + /** + * 物流公司 + */ + private String express; + + private String expressNo; + + /** + * 确认收货状态:0=未确认,1=已确认收货 + */ + private Short isConfirm; + + /** + * 确认收货时间 + */ + private Integer confirmTime; + + /** + * 是否已评价:0=未评价,1=已评价 + */ + private Short isComment; + + /** + * 是否申请取消订单:0=否,1=申请取消订单 + */ + private Short applyDelete; + + private Integer addtime; + + private Short isDelete; + + /** + * 是否发放佣金 + */ + private Short isPrice; + + /** + * 用户上级ID + */ + private Integer parentId; + + /** + * 一级佣金 + */ + private BigDecimal firstPrice; + + /** + * 二级佣金 + */ + private BigDecimal secondPrice; + + /** + * 三级佣金 + */ + private BigDecimal thirdPrice; + + /** + * 优惠券抵消金额 + */ + private BigDecimal couponSubPrice; + + /** + * 是否到店自提 0--否 1--是 + */ + private Integer isOffline; + + /** + * 核销员user_id + */ + private Integer clerkId; + + /** + * 是否取消 + */ + private Short isCancel; + + /** + * 修改前的价格 + */ + private BigDecimal beforeUpdatePrice; + + /** + * 自提门店ID + */ + private Integer shopId; + + /** + * 会员折扣 + */ + private BigDecimal discount; + + /** + * 使用的优惠券ID + */ + private Integer userCouponId; + + /** + * 是否发放积分【1=> 已发放 , 0=> 未发放】 + */ + private Short giveIntegral; + + /** + * 用户上二级ID + */ + private Integer parentId1; + + /** + * 用户上三级ID + */ + private Integer parentId2; + + /** + * 是否超过售后时间 + */ + private Integer isSale; + + /** + * 版本 + */ + private String version; + + /** + * 减免的运费 + */ + private BigDecimal expressPrice1; + + private Short isRecycle; + + /** + * 自购返利 + */ + private BigDecimal rebate; + + /** + * 价格修改前的运费 + */ + private BigDecimal beforeUpdateExpress; + + /** + * 入驻商户id + */ + private Integer mchId; + + /** + * 合并订单的id + */ + private Integer orderUnionId; + + /** + * 是否已转入商户账户:0=否,1=是 + */ + private Short isTransfer; + + /** + * 0:普通订单 1大转盘订单 + */ + private Integer type; + + /** + * 发放佣金的金额 + */ + private BigDecimal sharePrice; + + /** + * 是否显示 0--不显示 1--显示 + */ + private Short isShow; + + /** + * 货币:活力币 + */ + private BigDecimal currency; + + /** + * 订单来源:1、公众号或网站,2、app,3、小程序 + */ + private Boolean orderOrigin; + + /** + * 配送员id + */ + private Integer deliveryId; + + /** + * 配送状态1已分配配送员2配送中3已配送 + */ + private Boolean deliveryStatus; + + /** + * 返佣状态0未开始1进行中2已完成 + */ + private Boolean fyStatus; + + /** + * 返佣金额 + */ + private BigDecimal fyjine; + + /** + * 每日返还 + */ + private BigDecimal fysingle; + + /** + * 商家返佣金额 + */ + private BigDecimal mchFyjine; + + /** + * 商家每日返佣 + */ + private BigDecimal mchFysingle; + + /** + * 0未1已 + */ + private Boolean isFan; + + /** + * 0否1是 + */ + private Boolean isDada; + + /** + * 是否已生成团长配送单 + */ + private Integer shopPeisong; + + /** + * 是否是线下购物车下的订单 + */ + private Boolean isOpenOffline; + + /** + * 供货商id + */ + private Integer supplierId; + + /** + * 是否已转入商户账户:0=否,1=是 + */ + private Boolean isSupTransfer; + + /** + * 商品打包费 + */ + private BigDecimal dabaoPrice; + + /** + * 结算金额 + */ + private BigDecimal settlementAmount; + + /** + * 是否结算0-未结算 1- 已结算 + */ + private Short isSettlement; + + /** + * 结算时间 + */ + private Integer settlementTime; + + /** + * 是否是入驻商门店, 配合shop_id来判断 + */ + private Boolean isMchShop; + + /** + * 是否分账 + */ + private Boolean isDivideMoney; + + /** + * 微信回调交易单号 + */ + private String transactionId; + + /** + * 实际支付用户id + */ + private Integer payUserId; + + /** + * 实际支付方式 1=微信支付 2=货到付款 3=余额支付 5=连连支付 + */ + private Boolean payTypeTrue; + + /** + * 是否是抖品订单:0=否,1=是 + */ + private Integer isVgoods; + + /** + * 首单减免金额 + */ + private BigDecimal reductionPrice; + + /** + * 满减优惠 + */ + private BigDecimal minusPrice; + + /** + * 订单来源 + */ + private Integer orderFrom; + + /** + * 新满减活动金额 + */ + private BigDecimal discountPrice; + + /** + * 满折 + */ + private BigDecimal discountNum; + + /** + * 满赠商品ID + */ + private Integer giveGoodsId; + + /** + * 世纪恒通券码 + */ + private String couponRecordId; + + /** + * 身份证证件号 + */ + private String idCardNo; + + /** + * 退款时间 + */ + private Integer refundTime; + + private static final long serialVersionUID = 1L; + + public Integer getId() { + return id; + } + + public void setId(Integer id) { + this.id = id; + } + + public Integer getStoreId() { + return storeId; + } + + public void setStoreId(Integer storeId) { + this.storeId = storeId; + } + + public Integer getUserId() { + return userId; + } + + public void setUserId(Integer userId) { + this.userId = userId; + } + + public String getOrderNo() { + return orderNo; + } + + public void setOrderNo(String orderNo) { + this.orderNo = orderNo; + } + + public BigDecimal getTotalPrice() { + return totalPrice; + } + + public void setTotalPrice(BigDecimal totalPrice) { + this.totalPrice = totalPrice; + } + + public BigDecimal getPayPrice() { + return payPrice; + } + + public void setPayPrice(BigDecimal payPrice) { + this.payPrice = payPrice; + } + + public BigDecimal getExpressPrice() { + return expressPrice; + } + + public void setExpressPrice(BigDecimal expressPrice) { + this.expressPrice = expressPrice; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public String getMobile() { + return mobile; + } + + public void setMobile(String mobile) { + this.mobile = mobile; + } + + public String getAddress() { + return address; + } + + public void setAddress(String address) { + this.address = address; + } + + public String getRemark() { + return remark; + } + + public void setRemark(String remark) { + this.remark = remark; + } + + public Short getIsPay() { + return isPay; + } + + public void setIsPay(Short isPay) { + this.isPay = isPay; + } + + public Short getPayType() { + return payType; + } + + public void setPayType(Short payType) { + this.payType = payType; + } + + public Integer getPayTime() { + return payTime; + } + + public void setPayTime(Integer payTime) { + this.payTime = payTime; + } + + public Short getIsSend() { + return isSend; + } + + public void setIsSend(Short isSend) { + this.isSend = isSend; + } + + public Integer getSendTime() { + return sendTime; + } + + public void setSendTime(Integer sendTime) { + this.sendTime = sendTime; + } + + public String getExpress() { + return express; + } + + public void setExpress(String express) { + this.express = express; + } + + public String getExpressNo() { + return expressNo; + } + + public void setExpressNo(String expressNo) { + this.expressNo = expressNo; + } + + public Short getIsConfirm() { + return isConfirm; + } + + public void setIsConfirm(Short isConfirm) { + this.isConfirm = isConfirm; + } + + public Integer getConfirmTime() { + return confirmTime; + } + + public void setConfirmTime(Integer confirmTime) { + this.confirmTime = confirmTime; + } + + public Short getIsComment() { + return isComment; + } + + public void setIsComment(Short isComment) { + this.isComment = isComment; + } + + public Short getApplyDelete() { + return applyDelete; + } + + public void setApplyDelete(Short applyDelete) { + this.applyDelete = applyDelete; + } + + public Integer getAddtime() { + return addtime; + } + + public void setAddtime(Integer addtime) { + this.addtime = addtime; + } + + public Short getIsDelete() { + return isDelete; + } + + public void setIsDelete(Short isDelete) { + this.isDelete = isDelete; + } + + public Short getIsPrice() { + return isPrice; + } + + public void setIsPrice(Short isPrice) { + this.isPrice = isPrice; + } + + public Integer getParentId() { + return parentId; + } + + public void setParentId(Integer parentId) { + this.parentId = parentId; + } + + public BigDecimal getFirstPrice() { + return firstPrice; + } + + public void setFirstPrice(BigDecimal firstPrice) { + this.firstPrice = firstPrice; + } + + public BigDecimal getSecondPrice() { + return secondPrice; + } + + public void setSecondPrice(BigDecimal secondPrice) { + this.secondPrice = secondPrice; + } + + public BigDecimal getThirdPrice() { + return thirdPrice; + } + + public void setThirdPrice(BigDecimal thirdPrice) { + this.thirdPrice = thirdPrice; + } + + public BigDecimal getCouponSubPrice() { + return couponSubPrice; + } + + public void setCouponSubPrice(BigDecimal couponSubPrice) { + this.couponSubPrice = couponSubPrice; + } + + public Integer getIsOffline() { + return isOffline; + } + + public void setIsOffline(Integer isOffline) { + this.isOffline = isOffline; + } + + public Integer getClerkId() { + return clerkId; + } + + public void setClerkId(Integer clerkId) { + this.clerkId = clerkId; + } + + public Short getIsCancel() { + return isCancel; + } + + public void setIsCancel(Short isCancel) { + this.isCancel = isCancel; + } + + public BigDecimal getBeforeUpdatePrice() { + return beforeUpdatePrice; + } + + public void setBeforeUpdatePrice(BigDecimal beforeUpdatePrice) { + this.beforeUpdatePrice = beforeUpdatePrice; + } + + public Integer getShopId() { + return shopId; + } + + public void setShopId(Integer shopId) { + this.shopId = shopId; + } + + public BigDecimal getDiscount() { + return discount; + } + + public void setDiscount(BigDecimal discount) { + this.discount = discount; + } + + public Integer getUserCouponId() { + return userCouponId; + } + + public void setUserCouponId(Integer userCouponId) { + this.userCouponId = userCouponId; + } + + public Short getGiveIntegral() { + return giveIntegral; + } + + public void setGiveIntegral(Short giveIntegral) { + this.giveIntegral = giveIntegral; + } + + public Integer getParentId1() { + return parentId1; + } + + public void setParentId1(Integer parentId1) { + this.parentId1 = parentId1; + } + + public Integer getParentId2() { + return parentId2; + } + + public void setParentId2(Integer parentId2) { + this.parentId2 = parentId2; + } + + public Integer getIsSale() { + return isSale; + } + + public void setIsSale(Integer isSale) { + this.isSale = isSale; + } + + public String getVersion() { + return version; + } + + public void setVersion(String version) { + this.version = version; + } + + public BigDecimal getExpressPrice1() { + return expressPrice1; + } + + public void setExpressPrice1(BigDecimal expressPrice1) { + this.expressPrice1 = expressPrice1; + } + + public Short getIsRecycle() { + return isRecycle; + } + + public void setIsRecycle(Short isRecycle) { + this.isRecycle = isRecycle; + } + + public BigDecimal getRebate() { + return rebate; + } + + public void setRebate(BigDecimal rebate) { + this.rebate = rebate; + } + + public BigDecimal getBeforeUpdateExpress() { + return beforeUpdateExpress; + } + + public void setBeforeUpdateExpress(BigDecimal beforeUpdateExpress) { + this.beforeUpdateExpress = beforeUpdateExpress; + } + + public Integer getMchId() { + return mchId; + } + + public void setMchId(Integer mchId) { + this.mchId = mchId; + } + + public Integer getOrderUnionId() { + return orderUnionId; + } + + public void setOrderUnionId(Integer orderUnionId) { + this.orderUnionId = orderUnionId; + } + + public Short getIsTransfer() { + return isTransfer; + } + + public void setIsTransfer(Short isTransfer) { + this.isTransfer = isTransfer; + } + + public Integer getType() { + return type; + } + + public void setType(Integer type) { + this.type = type; + } + + public BigDecimal getSharePrice() { + return sharePrice; + } + + public void setSharePrice(BigDecimal sharePrice) { + this.sharePrice = sharePrice; + } + + public Short getIsShow() { + return isShow; + } + + public void setIsShow(Short isShow) { + this.isShow = isShow; + } + + public BigDecimal getCurrency() { + return currency; + } + + public void setCurrency(BigDecimal currency) { + this.currency = currency; + } + + public Boolean getOrderOrigin() { + return orderOrigin; + } + + public void setOrderOrigin(Boolean orderOrigin) { + this.orderOrigin = orderOrigin; + } + + public Integer getDeliveryId() { + return deliveryId; + } + + public void setDeliveryId(Integer deliveryId) { + this.deliveryId = deliveryId; + } + + public Boolean getDeliveryStatus() { + return deliveryStatus; + } + + public void setDeliveryStatus(Boolean deliveryStatus) { + this.deliveryStatus = deliveryStatus; + } + + public Boolean getFyStatus() { + return fyStatus; + } + + public void setFyStatus(Boolean fyStatus) { + this.fyStatus = fyStatus; + } + + public BigDecimal getFyjine() { + return fyjine; + } + + public void setFyjine(BigDecimal fyjine) { + this.fyjine = fyjine; + } + + public BigDecimal getFysingle() { + return fysingle; + } + + public void setFysingle(BigDecimal fysingle) { + this.fysingle = fysingle; + } + + public BigDecimal getMchFyjine() { + return mchFyjine; + } + + public void setMchFyjine(BigDecimal mchFyjine) { + this.mchFyjine = mchFyjine; + } + + public BigDecimal getMchFysingle() { + return mchFysingle; + } + + public void setMchFysingle(BigDecimal mchFysingle) { + this.mchFysingle = mchFysingle; + } + + public Boolean getIsFan() { + return isFan; + } + + public void setIsFan(Boolean isFan) { + this.isFan = isFan; + } + + public Boolean getIsDada() { + return isDada; + } + + public void setIsDada(Boolean isDada) { + this.isDada = isDada; + } + + public Integer getShopPeisong() { + return shopPeisong; + } + + public void setShopPeisong(Integer shopPeisong) { + this.shopPeisong = shopPeisong; + } + + public Boolean getIsOpenOffline() { + return isOpenOffline; + } + + public void setIsOpenOffline(Boolean isOpenOffline) { + this.isOpenOffline = isOpenOffline; + } + + public Integer getSupplierId() { + return supplierId; + } + + public void setSupplierId(Integer supplierId) { + this.supplierId = supplierId; + } + + public Boolean getIsSupTransfer() { + return isSupTransfer; + } + + public void setIsSupTransfer(Boolean isSupTransfer) { + this.isSupTransfer = isSupTransfer; + } + + public BigDecimal getDabaoPrice() { + return dabaoPrice; + } + + public void setDabaoPrice(BigDecimal dabaoPrice) { + this.dabaoPrice = dabaoPrice; + } + + public BigDecimal getSettlementAmount() { + return settlementAmount; + } + + public void setSettlementAmount(BigDecimal settlementAmount) { + this.settlementAmount = settlementAmount; + } + + public Short getIsSettlement() { + return isSettlement; + } + + public void setIsSettlement(Short isSettlement) { + this.isSettlement = isSettlement; + } + + public Integer getSettlementTime() { + return settlementTime; + } + + public void setSettlementTime(Integer settlementTime) { + this.settlementTime = settlementTime; + } + + public Boolean getIsMchShop() { + return isMchShop; + } + + public void setIsMchShop(Boolean isMchShop) { + this.isMchShop = isMchShop; + } + + public Boolean getIsDivideMoney() { + return isDivideMoney; + } + + public void setIsDivideMoney(Boolean isDivideMoney) { + this.isDivideMoney = isDivideMoney; + } + + public String getTransactionId() { + return transactionId; + } + + public void setTransactionId(String transactionId) { + this.transactionId = transactionId; + } + + public Integer getPayUserId() { + return payUserId; + } + + public void setPayUserId(Integer payUserId) { + this.payUserId = payUserId; + } + + public Boolean getPayTypeTrue() { + return payTypeTrue; + } + + public void setPayTypeTrue(Boolean payTypeTrue) { + this.payTypeTrue = payTypeTrue; + } + + public Integer getIsVgoods() { + return isVgoods; + } + + public void setIsVgoods(Integer isVgoods) { + this.isVgoods = isVgoods; + } + + public BigDecimal getReductionPrice() { + return reductionPrice; + } + + public void setReductionPrice(BigDecimal reductionPrice) { + this.reductionPrice = reductionPrice; + } + + public BigDecimal getMinusPrice() { + return minusPrice; + } + + public void setMinusPrice(BigDecimal minusPrice) { + this.minusPrice = minusPrice; + } + + public Integer getOrderFrom() { + return orderFrom; + } + + public void setOrderFrom(Integer orderFrom) { + this.orderFrom = orderFrom; + } + + public BigDecimal getDiscountPrice() { + return discountPrice; + } + + public void setDiscountPrice(BigDecimal discountPrice) { + this.discountPrice = discountPrice; + } + + public BigDecimal getDiscountNum() { + return discountNum; + } + + public void setDiscountNum(BigDecimal discountNum) { + this.discountNum = discountNum; + } + + public Integer getGiveGoodsId() { + return giveGoodsId; + } + + public void setGiveGoodsId(Integer giveGoodsId) { + this.giveGoodsId = giveGoodsId; + } + + public String getCouponRecordId() { + return couponRecordId; + } + + public void setCouponRecordId(String couponRecordId) { + this.couponRecordId = couponRecordId; + } + + public String getIdCardNo() { + return idCardNo; + } + + public void setIdCardNo(String idCardNo) { + this.idCardNo = idCardNo; + } + + public Integer getRefundTime() { + return refundTime; + } + + public void setRefundTime(Integer refundTime) { + this.refundTime = refundTime; + } + + @Override + public boolean equals(Object that) { + if (this == that) { + return true; + } + if (that == null) { + return false; + } + if (getClass() != that.getClass()) { + return false; + } + CyymallOrder other = (CyymallOrder) that; + return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId())) + && (this.getStoreId() == null ? other.getStoreId() == null : this.getStoreId().equals(other.getStoreId())) + && (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId())) + && (this.getOrderNo() == null ? other.getOrderNo() == null : this.getOrderNo().equals(other.getOrderNo())) + && (this.getTotalPrice() == null ? other.getTotalPrice() == null : this.getTotalPrice().equals(other.getTotalPrice())) + && (this.getPayPrice() == null ? other.getPayPrice() == null : this.getPayPrice().equals(other.getPayPrice())) + && (this.getExpressPrice() == null ? other.getExpressPrice() == null : this.getExpressPrice().equals(other.getExpressPrice())) + && (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName())) + && (this.getMobile() == null ? other.getMobile() == null : this.getMobile().equals(other.getMobile())) + && (this.getAddress() == null ? other.getAddress() == null : this.getAddress().equals(other.getAddress())) + && (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark())) + && (this.getIsPay() == null ? other.getIsPay() == null : this.getIsPay().equals(other.getIsPay())) + && (this.getPayType() == null ? other.getPayType() == null : this.getPayType().equals(other.getPayType())) + && (this.getPayTime() == null ? other.getPayTime() == null : this.getPayTime().equals(other.getPayTime())) + && (this.getIsSend() == null ? other.getIsSend() == null : this.getIsSend().equals(other.getIsSend())) + && (this.getSendTime() == null ? other.getSendTime() == null : this.getSendTime().equals(other.getSendTime())) + && (this.getExpress() == null ? other.getExpress() == null : this.getExpress().equals(other.getExpress())) + && (this.getExpressNo() == null ? other.getExpressNo() == null : this.getExpressNo().equals(other.getExpressNo())) + && (this.getIsConfirm() == null ? other.getIsConfirm() == null : this.getIsConfirm().equals(other.getIsConfirm())) + && (this.getConfirmTime() == null ? other.getConfirmTime() == null : this.getConfirmTime().equals(other.getConfirmTime())) + && (this.getIsComment() == null ? other.getIsComment() == null : this.getIsComment().equals(other.getIsComment())) + && (this.getApplyDelete() == null ? other.getApplyDelete() == null : this.getApplyDelete().equals(other.getApplyDelete())) + && (this.getAddtime() == null ? other.getAddtime() == null : this.getAddtime().equals(other.getAddtime())) + && (this.getIsDelete() == null ? other.getIsDelete() == null : this.getIsDelete().equals(other.getIsDelete())) + && (this.getIsPrice() == null ? other.getIsPrice() == null : this.getIsPrice().equals(other.getIsPrice())) + && (this.getParentId() == null ? other.getParentId() == null : this.getParentId().equals(other.getParentId())) + && (this.getFirstPrice() == null ? other.getFirstPrice() == null : this.getFirstPrice().equals(other.getFirstPrice())) + && (this.getSecondPrice() == null ? other.getSecondPrice() == null : this.getSecondPrice().equals(other.getSecondPrice())) + && (this.getThirdPrice() == null ? other.getThirdPrice() == null : this.getThirdPrice().equals(other.getThirdPrice())) + && (this.getCouponSubPrice() == null ? other.getCouponSubPrice() == null : this.getCouponSubPrice().equals(other.getCouponSubPrice())) + && (this.getIsOffline() == null ? other.getIsOffline() == null : this.getIsOffline().equals(other.getIsOffline())) + && (this.getClerkId() == null ? other.getClerkId() == null : this.getClerkId().equals(other.getClerkId())) + && (this.getIsCancel() == null ? other.getIsCancel() == null : this.getIsCancel().equals(other.getIsCancel())) + && (this.getBeforeUpdatePrice() == null ? other.getBeforeUpdatePrice() == null : this.getBeforeUpdatePrice().equals(other.getBeforeUpdatePrice())) + && (this.getShopId() == null ? other.getShopId() == null : this.getShopId().equals(other.getShopId())) + && (this.getDiscount() == null ? other.getDiscount() == null : this.getDiscount().equals(other.getDiscount())) + && (this.getUserCouponId() == null ? other.getUserCouponId() == null : this.getUserCouponId().equals(other.getUserCouponId())) + && (this.getGiveIntegral() == null ? other.getGiveIntegral() == null : this.getGiveIntegral().equals(other.getGiveIntegral())) + && (this.getParentId1() == null ? other.getParentId1() == null : this.getParentId1().equals(other.getParentId1())) + && (this.getParentId2() == null ? other.getParentId2() == null : this.getParentId2().equals(other.getParentId2())) + && (this.getIsSale() == null ? other.getIsSale() == null : this.getIsSale().equals(other.getIsSale())) + && (this.getVersion() == null ? other.getVersion() == null : this.getVersion().equals(other.getVersion())) + && (this.getExpressPrice1() == null ? other.getExpressPrice1() == null : this.getExpressPrice1().equals(other.getExpressPrice1())) + && (this.getIsRecycle() == null ? other.getIsRecycle() == null : this.getIsRecycle().equals(other.getIsRecycle())) + && (this.getRebate() == null ? other.getRebate() == null : this.getRebate().equals(other.getRebate())) + && (this.getBeforeUpdateExpress() == null ? other.getBeforeUpdateExpress() == null : this.getBeforeUpdateExpress().equals(other.getBeforeUpdateExpress())) + && (this.getMchId() == null ? other.getMchId() == null : this.getMchId().equals(other.getMchId())) + && (this.getOrderUnionId() == null ? other.getOrderUnionId() == null : this.getOrderUnionId().equals(other.getOrderUnionId())) + && (this.getIsTransfer() == null ? other.getIsTransfer() == null : this.getIsTransfer().equals(other.getIsTransfer())) + && (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType())) + && (this.getSharePrice() == null ? other.getSharePrice() == null : this.getSharePrice().equals(other.getSharePrice())) + && (this.getIsShow() == null ? other.getIsShow() == null : this.getIsShow().equals(other.getIsShow())) + && (this.getCurrency() == null ? other.getCurrency() == null : this.getCurrency().equals(other.getCurrency())) + && (this.getOrderOrigin() == null ? other.getOrderOrigin() == null : this.getOrderOrigin().equals(other.getOrderOrigin())) + && (this.getDeliveryId() == null ? other.getDeliveryId() == null : this.getDeliveryId().equals(other.getDeliveryId())) + && (this.getDeliveryStatus() == null ? other.getDeliveryStatus() == null : this.getDeliveryStatus().equals(other.getDeliveryStatus())) + && (this.getFyStatus() == null ? other.getFyStatus() == null : this.getFyStatus().equals(other.getFyStatus())) + && (this.getFyjine() == null ? other.getFyjine() == null : this.getFyjine().equals(other.getFyjine())) + && (this.getFysingle() == null ? other.getFysingle() == null : this.getFysingle().equals(other.getFysingle())) + && (this.getMchFyjine() == null ? other.getMchFyjine() == null : this.getMchFyjine().equals(other.getMchFyjine())) + && (this.getMchFysingle() == null ? other.getMchFysingle() == null : this.getMchFysingle().equals(other.getMchFysingle())) + && (this.getIsFan() == null ? other.getIsFan() == null : this.getIsFan().equals(other.getIsFan())) + && (this.getIsDada() == null ? other.getIsDada() == null : this.getIsDada().equals(other.getIsDada())) + && (this.getShopPeisong() == null ? other.getShopPeisong() == null : this.getShopPeisong().equals(other.getShopPeisong())) + && (this.getIsOpenOffline() == null ? other.getIsOpenOffline() == null : this.getIsOpenOffline().equals(other.getIsOpenOffline())) + && (this.getSupplierId() == null ? other.getSupplierId() == null : this.getSupplierId().equals(other.getSupplierId())) + && (this.getIsSupTransfer() == null ? other.getIsSupTransfer() == null : this.getIsSupTransfer().equals(other.getIsSupTransfer())) + && (this.getDabaoPrice() == null ? other.getDabaoPrice() == null : this.getDabaoPrice().equals(other.getDabaoPrice())) + && (this.getSettlementAmount() == null ? other.getSettlementAmount() == null : this.getSettlementAmount().equals(other.getSettlementAmount())) + && (this.getIsSettlement() == null ? other.getIsSettlement() == null : this.getIsSettlement().equals(other.getIsSettlement())) + && (this.getSettlementTime() == null ? other.getSettlementTime() == null : this.getSettlementTime().equals(other.getSettlementTime())) + && (this.getIsMchShop() == null ? other.getIsMchShop() == null : this.getIsMchShop().equals(other.getIsMchShop())) + && (this.getIsDivideMoney() == null ? other.getIsDivideMoney() == null : this.getIsDivideMoney().equals(other.getIsDivideMoney())) + && (this.getTransactionId() == null ? other.getTransactionId() == null : this.getTransactionId().equals(other.getTransactionId())) + && (this.getPayUserId() == null ? other.getPayUserId() == null : this.getPayUserId().equals(other.getPayUserId())) + && (this.getPayTypeTrue() == null ? other.getPayTypeTrue() == null : this.getPayTypeTrue().equals(other.getPayTypeTrue())) + && (this.getIsVgoods() == null ? other.getIsVgoods() == null : this.getIsVgoods().equals(other.getIsVgoods())) + && (this.getReductionPrice() == null ? other.getReductionPrice() == null : this.getReductionPrice().equals(other.getReductionPrice())) + && (this.getMinusPrice() == null ? other.getMinusPrice() == null : this.getMinusPrice().equals(other.getMinusPrice())) + && (this.getOrderFrom() == null ? other.getOrderFrom() == null : this.getOrderFrom().equals(other.getOrderFrom())) + && (this.getDiscountPrice() == null ? other.getDiscountPrice() == null : this.getDiscountPrice().equals(other.getDiscountPrice())) + && (this.getDiscountNum() == null ? other.getDiscountNum() == null : this.getDiscountNum().equals(other.getDiscountNum())) + && (this.getGiveGoodsId() == null ? other.getGiveGoodsId() == null : this.getGiveGoodsId().equals(other.getGiveGoodsId())) + && (this.getCouponRecordId() == null ? other.getCouponRecordId() == null : this.getCouponRecordId().equals(other.getCouponRecordId())) + && (this.getIdCardNo() == null ? other.getIdCardNo() == null : this.getIdCardNo().equals(other.getIdCardNo())) + && (this.getRefundTime() == null ? other.getRefundTime() == null : this.getRefundTime().equals(other.getRefundTime())); + } + + @Override + public int hashCode() { + final int prime = 31; + int result = 1; + result = prime * result + ((getId() == null) ? 0 : getId().hashCode()); + result = prime * result + ((getStoreId() == null) ? 0 : getStoreId().hashCode()); + result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode()); + result = prime * result + ((getOrderNo() == null) ? 0 : getOrderNo().hashCode()); + result = prime * result + ((getTotalPrice() == null) ? 0 : getTotalPrice().hashCode()); + result = prime * result + ((getPayPrice() == null) ? 0 : getPayPrice().hashCode()); + result = prime * result + ((getExpressPrice() == null) ? 0 : getExpressPrice().hashCode()); + result = prime * result + ((getName() == null) ? 0 : getName().hashCode()); + result = prime * result + ((getMobile() == null) ? 0 : getMobile().hashCode()); + result = prime * result + ((getAddress() == null) ? 0 : getAddress().hashCode()); + result = prime * result + ((getRemark() == null) ? 0 : getRemark().hashCode()); + result = prime * result + ((getIsPay() == null) ? 0 : getIsPay().hashCode()); + result = prime * result + ((getPayType() == null) ? 0 : getPayType().hashCode()); + result = prime * result + ((getPayTime() == null) ? 0 : getPayTime().hashCode()); + result = prime * result + ((getIsSend() == null) ? 0 : getIsSend().hashCode()); + result = prime * result + ((getSendTime() == null) ? 0 : getSendTime().hashCode()); + result = prime * result + ((getExpress() == null) ? 0 : getExpress().hashCode()); + result = prime * result + ((getExpressNo() == null) ? 0 : getExpressNo().hashCode()); + result = prime * result + ((getIsConfirm() == null) ? 0 : getIsConfirm().hashCode()); + result = prime * result + ((getConfirmTime() == null) ? 0 : getConfirmTime().hashCode()); + result = prime * result + ((getIsComment() == null) ? 0 : getIsComment().hashCode()); + result = prime * result + ((getApplyDelete() == null) ? 0 : getApplyDelete().hashCode()); + result = prime * result + ((getAddtime() == null) ? 0 : getAddtime().hashCode()); + result = prime * result + ((getIsDelete() == null) ? 0 : getIsDelete().hashCode()); + result = prime * result + ((getIsPrice() == null) ? 0 : getIsPrice().hashCode()); + result = prime * result + ((getParentId() == null) ? 0 : getParentId().hashCode()); + result = prime * result + ((getFirstPrice() == null) ? 0 : getFirstPrice().hashCode()); + result = prime * result + ((getSecondPrice() == null) ? 0 : getSecondPrice().hashCode()); + result = prime * result + ((getThirdPrice() == null) ? 0 : getThirdPrice().hashCode()); + result = prime * result + ((getCouponSubPrice() == null) ? 0 : getCouponSubPrice().hashCode()); + result = prime * result + ((getIsOffline() == null) ? 0 : getIsOffline().hashCode()); + result = prime * result + ((getClerkId() == null) ? 0 : getClerkId().hashCode()); + result = prime * result + ((getIsCancel() == null) ? 0 : getIsCancel().hashCode()); + result = prime * result + ((getBeforeUpdatePrice() == null) ? 0 : getBeforeUpdatePrice().hashCode()); + result = prime * result + ((getShopId() == null) ? 0 : getShopId().hashCode()); + result = prime * result + ((getDiscount() == null) ? 0 : getDiscount().hashCode()); + result = prime * result + ((getUserCouponId() == null) ? 0 : getUserCouponId().hashCode()); + result = prime * result + ((getGiveIntegral() == null) ? 0 : getGiveIntegral().hashCode()); + result = prime * result + ((getParentId1() == null) ? 0 : getParentId1().hashCode()); + result = prime * result + ((getParentId2() == null) ? 0 : getParentId2().hashCode()); + result = prime * result + ((getIsSale() == null) ? 0 : getIsSale().hashCode()); + result = prime * result + ((getVersion() == null) ? 0 : getVersion().hashCode()); + result = prime * result + ((getExpressPrice1() == null) ? 0 : getExpressPrice1().hashCode()); + result = prime * result + ((getIsRecycle() == null) ? 0 : getIsRecycle().hashCode()); + result = prime * result + ((getRebate() == null) ? 0 : getRebate().hashCode()); + result = prime * result + ((getBeforeUpdateExpress() == null) ? 0 : getBeforeUpdateExpress().hashCode()); + result = prime * result + ((getMchId() == null) ? 0 : getMchId().hashCode()); + result = prime * result + ((getOrderUnionId() == null) ? 0 : getOrderUnionId().hashCode()); + result = prime * result + ((getIsTransfer() == null) ? 0 : getIsTransfer().hashCode()); + result = prime * result + ((getType() == null) ? 0 : getType().hashCode()); + result = prime * result + ((getSharePrice() == null) ? 0 : getSharePrice().hashCode()); + result = prime * result + ((getIsShow() == null) ? 0 : getIsShow().hashCode()); + result = prime * result + ((getCurrency() == null) ? 0 : getCurrency().hashCode()); + result = prime * result + ((getOrderOrigin() == null) ? 0 : getOrderOrigin().hashCode()); + result = prime * result + ((getDeliveryId() == null) ? 0 : getDeliveryId().hashCode()); + result = prime * result + ((getDeliveryStatus() == null) ? 0 : getDeliveryStatus().hashCode()); + result = prime * result + ((getFyStatus() == null) ? 0 : getFyStatus().hashCode()); + result = prime * result + ((getFyjine() == null) ? 0 : getFyjine().hashCode()); + result = prime * result + ((getFysingle() == null) ? 0 : getFysingle().hashCode()); + result = prime * result + ((getMchFyjine() == null) ? 0 : getMchFyjine().hashCode()); + result = prime * result + ((getMchFysingle() == null) ? 0 : getMchFysingle().hashCode()); + result = prime * result + ((getIsFan() == null) ? 0 : getIsFan().hashCode()); + result = prime * result + ((getIsDada() == null) ? 0 : getIsDada().hashCode()); + result = prime * result + ((getShopPeisong() == null) ? 0 : getShopPeisong().hashCode()); + result = prime * result + ((getIsOpenOffline() == null) ? 0 : getIsOpenOffline().hashCode()); + result = prime * result + ((getSupplierId() == null) ? 0 : getSupplierId().hashCode()); + result = prime * result + ((getIsSupTransfer() == null) ? 0 : getIsSupTransfer().hashCode()); + result = prime * result + ((getDabaoPrice() == null) ? 0 : getDabaoPrice().hashCode()); + result = prime * result + ((getSettlementAmount() == null) ? 0 : getSettlementAmount().hashCode()); + result = prime * result + ((getIsSettlement() == null) ? 0 : getIsSettlement().hashCode()); + result = prime * result + ((getSettlementTime() == null) ? 0 : getSettlementTime().hashCode()); + result = prime * result + ((getIsMchShop() == null) ? 0 : getIsMchShop().hashCode()); + result = prime * result + ((getIsDivideMoney() == null) ? 0 : getIsDivideMoney().hashCode()); + result = prime * result + ((getTransactionId() == null) ? 0 : getTransactionId().hashCode()); + result = prime * result + ((getPayUserId() == null) ? 0 : getPayUserId().hashCode()); + result = prime * result + ((getPayTypeTrue() == null) ? 0 : getPayTypeTrue().hashCode()); + result = prime * result + ((getIsVgoods() == null) ? 0 : getIsVgoods().hashCode()); + result = prime * result + ((getReductionPrice() == null) ? 0 : getReductionPrice().hashCode()); + result = prime * result + ((getMinusPrice() == null) ? 0 : getMinusPrice().hashCode()); + result = prime * result + ((getOrderFrom() == null) ? 0 : getOrderFrom().hashCode()); + result = prime * result + ((getDiscountPrice() == null) ? 0 : getDiscountPrice().hashCode()); + result = prime * result + ((getDiscountNum() == null) ? 0 : getDiscountNum().hashCode()); + result = prime * result + ((getGiveGoodsId() == null) ? 0 : getGiveGoodsId().hashCode()); + result = prime * result + ((getCouponRecordId() == null) ? 0 : getCouponRecordId().hashCode()); + result = prime * result + ((getIdCardNo() == null) ? 0 : getIdCardNo().hashCode()); + result = prime * result + ((getRefundTime() == null) ? 0 : getRefundTime().hashCode()); + return result; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", storeId=").append(storeId); + sb.append(", userId=").append(userId); + sb.append(", orderNo=").append(orderNo); + sb.append(", totalPrice=").append(totalPrice); + sb.append(", payPrice=").append(payPrice); + sb.append(", expressPrice=").append(expressPrice); + sb.append(", name=").append(name); + sb.append(", mobile=").append(mobile); + sb.append(", address=").append(address); + sb.append(", remark=").append(remark); + sb.append(", isPay=").append(isPay); + sb.append(", payType=").append(payType); + sb.append(", payTime=").append(payTime); + sb.append(", isSend=").append(isSend); + sb.append(", sendTime=").append(sendTime); + sb.append(", express=").append(express); + sb.append(", expressNo=").append(expressNo); + sb.append(", isConfirm=").append(isConfirm); + sb.append(", confirmTime=").append(confirmTime); + sb.append(", isComment=").append(isComment); + sb.append(", applyDelete=").append(applyDelete); + sb.append(", addtime=").append(addtime); + sb.append(", isDelete=").append(isDelete); + sb.append(", isPrice=").append(isPrice); + sb.append(", parentId=").append(parentId); + sb.append(", firstPrice=").append(firstPrice); + sb.append(", secondPrice=").append(secondPrice); + sb.append(", thirdPrice=").append(thirdPrice); + sb.append(", couponSubPrice=").append(couponSubPrice); + sb.append(", isOffline=").append(isOffline); + sb.append(", clerkId=").append(clerkId); + sb.append(", isCancel=").append(isCancel); + sb.append(", beforeUpdatePrice=").append(beforeUpdatePrice); + sb.append(", shopId=").append(shopId); + sb.append(", discount=").append(discount); + sb.append(", userCouponId=").append(userCouponId); + sb.append(", giveIntegral=").append(giveIntegral); + sb.append(", parentId1=").append(parentId1); + sb.append(", parentId2=").append(parentId2); + sb.append(", isSale=").append(isSale); + sb.append(", version=").append(version); + sb.append(", expressPrice1=").append(expressPrice1); + sb.append(", isRecycle=").append(isRecycle); + sb.append(", rebate=").append(rebate); + sb.append(", beforeUpdateExpress=").append(beforeUpdateExpress); + sb.append(", mchId=").append(mchId); + sb.append(", orderUnionId=").append(orderUnionId); + sb.append(", isTransfer=").append(isTransfer); + sb.append(", type=").append(type); + sb.append(", sharePrice=").append(sharePrice); + sb.append(", isShow=").append(isShow); + sb.append(", currency=").append(currency); + sb.append(", orderOrigin=").append(orderOrigin); + sb.append(", deliveryId=").append(deliveryId); + sb.append(", deliveryStatus=").append(deliveryStatus); + sb.append(", fyStatus=").append(fyStatus); + sb.append(", fyjine=").append(fyjine); + sb.append(", fysingle=").append(fysingle); + sb.append(", mchFyjine=").append(mchFyjine); + sb.append(", mchFysingle=").append(mchFysingle); + sb.append(", isFan=").append(isFan); + sb.append(", isDada=").append(isDada); + sb.append(", shopPeisong=").append(shopPeisong); + sb.append(", isOpenOffline=").append(isOpenOffline); + sb.append(", supplierId=").append(supplierId); + sb.append(", isSupTransfer=").append(isSupTransfer); + sb.append(", dabaoPrice=").append(dabaoPrice); + sb.append(", settlementAmount=").append(settlementAmount); + sb.append(", isSettlement=").append(isSettlement); + sb.append(", settlementTime=").append(settlementTime); + sb.append(", isMchShop=").append(isMchShop); + sb.append(", isDivideMoney=").append(isDivideMoney); + sb.append(", transactionId=").append(transactionId); + sb.append(", payUserId=").append(payUserId); + sb.append(", payTypeTrue=").append(payTypeTrue); + sb.append(", isVgoods=").append(isVgoods); + sb.append(", reductionPrice=").append(reductionPrice); + sb.append(", minusPrice=").append(minusPrice); + sb.append(", orderFrom=").append(orderFrom); + sb.append(", discountPrice=").append(discountPrice); + sb.append(", discountNum=").append(discountNum); + sb.append(", giveGoodsId=").append(giveGoodsId); + sb.append(", couponRecordId=").append(couponRecordId); + sb.append(", idCardNo=").append(idCardNo); + sb.append(", refundTime=").append(refundTime); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/service/src/main/java/com/hfkj/entity/CyymallOrderExample.java b/service/src/main/java/com/hfkj/entity/CyymallOrderExample.java new file mode 100644 index 0000000..fa922ed --- /dev/null +++ b/service/src/main/java/com/hfkj/entity/CyymallOrderExample.java @@ -0,0 +1,5493 @@ +package com.hfkj.entity; + +import java.math.BigDecimal; +import java.util.ArrayList; +import java.util.List; + +public class CyymallOrderExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + private Integer limit; + + private Long offset; + + public CyymallOrderExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + public void setLimit(Integer limit) { + this.limit = limit; + } + + public Integer getLimit() { + return limit; + } + + public void setOffset(Long offset) { + this.offset = offset; + } + + public Long getOffset() { + return offset; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Integer value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Integer value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Integer value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Integer value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Integer value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Integer value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Integer value1, Integer value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Integer value1, Integer value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andStoreIdIsNull() { + addCriterion("store_id is null"); + return (Criteria) this; + } + + public Criteria andStoreIdIsNotNull() { + addCriterion("store_id is not null"); + return (Criteria) this; + } + + public Criteria andStoreIdEqualTo(Integer value) { + addCriterion("store_id =", value, "storeId"); + return (Criteria) this; + } + + public Criteria andStoreIdNotEqualTo(Integer value) { + addCriterion("store_id <>", value, "storeId"); + return (Criteria) this; + } + + public Criteria andStoreIdGreaterThan(Integer value) { + addCriterion("store_id >", value, "storeId"); + return (Criteria) this; + } + + public Criteria andStoreIdGreaterThanOrEqualTo(Integer value) { + addCriterion("store_id >=", value, "storeId"); + return (Criteria) this; + } + + public Criteria andStoreIdLessThan(Integer value) { + addCriterion("store_id <", value, "storeId"); + return (Criteria) this; + } + + public Criteria andStoreIdLessThanOrEqualTo(Integer value) { + addCriterion("store_id <=", value, "storeId"); + return (Criteria) this; + } + + public Criteria andStoreIdIn(List values) { + addCriterion("store_id in", values, "storeId"); + return (Criteria) this; + } + + public Criteria andStoreIdNotIn(List values) { + addCriterion("store_id not in", values, "storeId"); + return (Criteria) this; + } + + public Criteria andStoreIdBetween(Integer value1, Integer value2) { + addCriterion("store_id between", value1, value2, "storeId"); + return (Criteria) this; + } + + public Criteria andStoreIdNotBetween(Integer value1, Integer value2) { + addCriterion("store_id not between", value1, value2, "storeId"); + return (Criteria) this; + } + + public Criteria andUserIdIsNull() { + addCriterion("user_id is null"); + return (Criteria) this; + } + + public Criteria andUserIdIsNotNull() { + addCriterion("user_id is not null"); + return (Criteria) this; + } + + public Criteria andUserIdEqualTo(Integer value) { + addCriterion("user_id =", value, "userId"); + return (Criteria) this; + } + + public Criteria andUserIdNotEqualTo(Integer value) { + addCriterion("user_id <>", value, "userId"); + return (Criteria) this; + } + + public Criteria andUserIdGreaterThan(Integer value) { + addCriterion("user_id >", value, "userId"); + return (Criteria) this; + } + + public Criteria andUserIdGreaterThanOrEqualTo(Integer value) { + addCriterion("user_id >=", value, "userId"); + return (Criteria) this; + } + + public Criteria andUserIdLessThan(Integer value) { + addCriterion("user_id <", value, "userId"); + return (Criteria) this; + } + + public Criteria andUserIdLessThanOrEqualTo(Integer value) { + addCriterion("user_id <=", value, "userId"); + return (Criteria) this; + } + + public Criteria andUserIdIn(List values) { + addCriterion("user_id in", values, "userId"); + return (Criteria) this; + } + + public Criteria andUserIdNotIn(List values) { + addCriterion("user_id not in", values, "userId"); + return (Criteria) this; + } + + public Criteria andUserIdBetween(Integer value1, Integer value2) { + addCriterion("user_id between", value1, value2, "userId"); + return (Criteria) this; + } + + public Criteria andUserIdNotBetween(Integer value1, Integer value2) { + addCriterion("user_id not between", value1, value2, "userId"); + return (Criteria) this; + } + + public Criteria andOrderNoIsNull() { + addCriterion("order_no is null"); + return (Criteria) this; + } + + public Criteria andOrderNoIsNotNull() { + addCriterion("order_no is not null"); + return (Criteria) this; + } + + public Criteria andOrderNoEqualTo(String value) { + addCriterion("order_no =", value, "orderNo"); + return (Criteria) this; + } + + public Criteria andOrderNoNotEqualTo(String value) { + addCriterion("order_no <>", value, "orderNo"); + return (Criteria) this; + } + + public Criteria andOrderNoGreaterThan(String value) { + addCriterion("order_no >", value, "orderNo"); + return (Criteria) this; + } + + public Criteria andOrderNoGreaterThanOrEqualTo(String value) { + addCriterion("order_no >=", value, "orderNo"); + return (Criteria) this; + } + + public Criteria andOrderNoLessThan(String value) { + addCriterion("order_no <", value, "orderNo"); + return (Criteria) this; + } + + public Criteria andOrderNoLessThanOrEqualTo(String value) { + addCriterion("order_no <=", value, "orderNo"); + return (Criteria) this; + } + + public Criteria andOrderNoLike(String value) { + addCriterion("order_no like", value, "orderNo"); + return (Criteria) this; + } + + public Criteria andOrderNoNotLike(String value) { + addCriterion("order_no not like", value, "orderNo"); + return (Criteria) this; + } + + public Criteria andOrderNoIn(List values) { + addCriterion("order_no in", values, "orderNo"); + return (Criteria) this; + } + + public Criteria andOrderNoNotIn(List values) { + addCriterion("order_no not in", values, "orderNo"); + return (Criteria) this; + } + + public Criteria andOrderNoBetween(String value1, String value2) { + addCriterion("order_no between", value1, value2, "orderNo"); + return (Criteria) this; + } + + public Criteria andOrderNoNotBetween(String value1, String value2) { + addCriterion("order_no not between", value1, value2, "orderNo"); + return (Criteria) this; + } + + public Criteria andTotalPriceIsNull() { + addCriterion("total_price is null"); + return (Criteria) this; + } + + public Criteria andTotalPriceIsNotNull() { + addCriterion("total_price is not null"); + return (Criteria) this; + } + + public Criteria andTotalPriceEqualTo(BigDecimal value) { + addCriterion("total_price =", value, "totalPrice"); + return (Criteria) this; + } + + public Criteria andTotalPriceNotEqualTo(BigDecimal value) { + addCriterion("total_price <>", value, "totalPrice"); + return (Criteria) this; + } + + public Criteria andTotalPriceGreaterThan(BigDecimal value) { + addCriterion("total_price >", value, "totalPrice"); + return (Criteria) this; + } + + public Criteria andTotalPriceGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("total_price >=", value, "totalPrice"); + return (Criteria) this; + } + + public Criteria andTotalPriceLessThan(BigDecimal value) { + addCriterion("total_price <", value, "totalPrice"); + return (Criteria) this; + } + + public Criteria andTotalPriceLessThanOrEqualTo(BigDecimal value) { + addCriterion("total_price <=", value, "totalPrice"); + return (Criteria) this; + } + + public Criteria andTotalPriceIn(List values) { + addCriterion("total_price in", values, "totalPrice"); + return (Criteria) this; + } + + public Criteria andTotalPriceNotIn(List values) { + addCriterion("total_price not in", values, "totalPrice"); + return (Criteria) this; + } + + public Criteria andTotalPriceBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("total_price between", value1, value2, "totalPrice"); + return (Criteria) this; + } + + public Criteria andTotalPriceNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("total_price not between", value1, value2, "totalPrice"); + return (Criteria) this; + } + + public Criteria andPayPriceIsNull() { + addCriterion("pay_price is null"); + return (Criteria) this; + } + + public Criteria andPayPriceIsNotNull() { + addCriterion("pay_price is not null"); + return (Criteria) this; + } + + public Criteria andPayPriceEqualTo(BigDecimal value) { + addCriterion("pay_price =", value, "payPrice"); + return (Criteria) this; + } + + public Criteria andPayPriceNotEqualTo(BigDecimal value) { + addCriterion("pay_price <>", value, "payPrice"); + return (Criteria) this; + } + + public Criteria andPayPriceGreaterThan(BigDecimal value) { + addCriterion("pay_price >", value, "payPrice"); + return (Criteria) this; + } + + public Criteria andPayPriceGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("pay_price >=", value, "payPrice"); + return (Criteria) this; + } + + public Criteria andPayPriceLessThan(BigDecimal value) { + addCriterion("pay_price <", value, "payPrice"); + return (Criteria) this; + } + + public Criteria andPayPriceLessThanOrEqualTo(BigDecimal value) { + addCriterion("pay_price <=", value, "payPrice"); + return (Criteria) this; + } + + public Criteria andPayPriceIn(List values) { + addCriterion("pay_price in", values, "payPrice"); + return (Criteria) this; + } + + public Criteria andPayPriceNotIn(List values) { + addCriterion("pay_price not in", values, "payPrice"); + return (Criteria) this; + } + + public Criteria andPayPriceBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("pay_price between", value1, value2, "payPrice"); + return (Criteria) this; + } + + public Criteria andPayPriceNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("pay_price not between", value1, value2, "payPrice"); + return (Criteria) this; + } + + public Criteria andExpressPriceIsNull() { + addCriterion("express_price is null"); + return (Criteria) this; + } + + public Criteria andExpressPriceIsNotNull() { + addCriterion("express_price is not null"); + return (Criteria) this; + } + + public Criteria andExpressPriceEqualTo(BigDecimal value) { + addCriterion("express_price =", value, "expressPrice"); + return (Criteria) this; + } + + public Criteria andExpressPriceNotEqualTo(BigDecimal value) { + addCriterion("express_price <>", value, "expressPrice"); + return (Criteria) this; + } + + public Criteria andExpressPriceGreaterThan(BigDecimal value) { + addCriterion("express_price >", value, "expressPrice"); + return (Criteria) this; + } + + public Criteria andExpressPriceGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("express_price >=", value, "expressPrice"); + return (Criteria) this; + } + + public Criteria andExpressPriceLessThan(BigDecimal value) { + addCriterion("express_price <", value, "expressPrice"); + return (Criteria) this; + } + + public Criteria andExpressPriceLessThanOrEqualTo(BigDecimal value) { + addCriterion("express_price <=", value, "expressPrice"); + return (Criteria) this; + } + + public Criteria andExpressPriceIn(List values) { + addCriterion("express_price in", values, "expressPrice"); + return (Criteria) this; + } + + public Criteria andExpressPriceNotIn(List values) { + addCriterion("express_price not in", values, "expressPrice"); + return (Criteria) this; + } + + public Criteria andExpressPriceBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("express_price between", value1, value2, "expressPrice"); + return (Criteria) this; + } + + public Criteria andExpressPriceNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("express_price not between", value1, value2, "expressPrice"); + return (Criteria) this; + } + + public Criteria andNameIsNull() { + addCriterion("`name` is null"); + return (Criteria) this; + } + + public Criteria andNameIsNotNull() { + addCriterion("`name` is not null"); + return (Criteria) this; + } + + public Criteria andNameEqualTo(String value) { + addCriterion("`name` =", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotEqualTo(String value) { + addCriterion("`name` <>", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThan(String value) { + addCriterion("`name` >", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThanOrEqualTo(String value) { + addCriterion("`name` >=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThan(String value) { + addCriterion("`name` <", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThanOrEqualTo(String value) { + addCriterion("`name` <=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLike(String value) { + addCriterion("`name` like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotLike(String value) { + addCriterion("`name` not like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameIn(List values) { + addCriterion("`name` in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameNotIn(List values) { + addCriterion("`name` not in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameBetween(String value1, String value2) { + addCriterion("`name` between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andNameNotBetween(String value1, String value2) { + addCriterion("`name` not between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andMobileIsNull() { + addCriterion("mobile is null"); + return (Criteria) this; + } + + public Criteria andMobileIsNotNull() { + addCriterion("mobile is not null"); + return (Criteria) this; + } + + public Criteria andMobileEqualTo(String value) { + addCriterion("mobile =", value, "mobile"); + return (Criteria) this; + } + + public Criteria andMobileNotEqualTo(String value) { + addCriterion("mobile <>", value, "mobile"); + return (Criteria) this; + } + + public Criteria andMobileGreaterThan(String value) { + addCriterion("mobile >", value, "mobile"); + return (Criteria) this; + } + + public Criteria andMobileGreaterThanOrEqualTo(String value) { + addCriterion("mobile >=", value, "mobile"); + return (Criteria) this; + } + + public Criteria andMobileLessThan(String value) { + addCriterion("mobile <", value, "mobile"); + return (Criteria) this; + } + + public Criteria andMobileLessThanOrEqualTo(String value) { + addCriterion("mobile <=", value, "mobile"); + return (Criteria) this; + } + + public Criteria andMobileLike(String value) { + addCriterion("mobile like", value, "mobile"); + return (Criteria) this; + } + + public Criteria andMobileNotLike(String value) { + addCriterion("mobile not like", value, "mobile"); + return (Criteria) this; + } + + public Criteria andMobileIn(List values) { + addCriterion("mobile in", values, "mobile"); + return (Criteria) this; + } + + public Criteria andMobileNotIn(List values) { + addCriterion("mobile not in", values, "mobile"); + return (Criteria) this; + } + + public Criteria andMobileBetween(String value1, String value2) { + addCriterion("mobile between", value1, value2, "mobile"); + return (Criteria) this; + } + + public Criteria andMobileNotBetween(String value1, String value2) { + addCriterion("mobile not between", value1, value2, "mobile"); + return (Criteria) this; + } + + public Criteria andAddressIsNull() { + addCriterion("address is null"); + return (Criteria) this; + } + + public Criteria andAddressIsNotNull() { + addCriterion("address is not null"); + return (Criteria) this; + } + + public Criteria andAddressEqualTo(String value) { + addCriterion("address =", value, "address"); + return (Criteria) this; + } + + public Criteria andAddressNotEqualTo(String value) { + addCriterion("address <>", value, "address"); + return (Criteria) this; + } + + public Criteria andAddressGreaterThan(String value) { + addCriterion("address >", value, "address"); + return (Criteria) this; + } + + public Criteria andAddressGreaterThanOrEqualTo(String value) { + addCriterion("address >=", value, "address"); + return (Criteria) this; + } + + public Criteria andAddressLessThan(String value) { + addCriterion("address <", value, "address"); + return (Criteria) this; + } + + public Criteria andAddressLessThanOrEqualTo(String value) { + addCriterion("address <=", value, "address"); + return (Criteria) this; + } + + public Criteria andAddressLike(String value) { + addCriterion("address like", value, "address"); + return (Criteria) this; + } + + public Criteria andAddressNotLike(String value) { + addCriterion("address not like", value, "address"); + return (Criteria) this; + } + + public Criteria andAddressIn(List values) { + addCriterion("address in", values, "address"); + return (Criteria) this; + } + + public Criteria andAddressNotIn(List values) { + addCriterion("address not in", values, "address"); + return (Criteria) this; + } + + public Criteria andAddressBetween(String value1, String value2) { + addCriterion("address between", value1, value2, "address"); + return (Criteria) this; + } + + public Criteria andAddressNotBetween(String value1, String value2) { + addCriterion("address not between", value1, value2, "address"); + return (Criteria) this; + } + + public Criteria andRemarkIsNull() { + addCriterion("remark is null"); + return (Criteria) this; + } + + public Criteria andRemarkIsNotNull() { + addCriterion("remark is not null"); + return (Criteria) this; + } + + public Criteria andRemarkEqualTo(String value) { + addCriterion("remark =", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotEqualTo(String value) { + addCriterion("remark <>", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkGreaterThan(String value) { + addCriterion("remark >", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkGreaterThanOrEqualTo(String value) { + addCriterion("remark >=", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkLessThan(String value) { + addCriterion("remark <", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkLessThanOrEqualTo(String value) { + addCriterion("remark <=", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkLike(String value) { + addCriterion("remark like", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotLike(String value) { + addCriterion("remark not like", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkIn(List values) { + addCriterion("remark in", values, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotIn(List values) { + addCriterion("remark not in", values, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkBetween(String value1, String value2) { + addCriterion("remark between", value1, value2, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotBetween(String value1, String value2) { + addCriterion("remark not between", value1, value2, "remark"); + return (Criteria) this; + } + + public Criteria andIsPayIsNull() { + addCriterion("is_pay is null"); + return (Criteria) this; + } + + public Criteria andIsPayIsNotNull() { + addCriterion("is_pay is not null"); + return (Criteria) this; + } + + public Criteria andIsPayEqualTo(Short value) { + addCriterion("is_pay =", value, "isPay"); + return (Criteria) this; + } + + public Criteria andIsPayNotEqualTo(Short value) { + addCriterion("is_pay <>", value, "isPay"); + return (Criteria) this; + } + + public Criteria andIsPayGreaterThan(Short value) { + addCriterion("is_pay >", value, "isPay"); + return (Criteria) this; + } + + public Criteria andIsPayGreaterThanOrEqualTo(Short value) { + addCriterion("is_pay >=", value, "isPay"); + return (Criteria) this; + } + + public Criteria andIsPayLessThan(Short value) { + addCriterion("is_pay <", value, "isPay"); + return (Criteria) this; + } + + public Criteria andIsPayLessThanOrEqualTo(Short value) { + addCriterion("is_pay <=", value, "isPay"); + return (Criteria) this; + } + + public Criteria andIsPayIn(List values) { + addCriterion("is_pay in", values, "isPay"); + return (Criteria) this; + } + + public Criteria andIsPayNotIn(List values) { + addCriterion("is_pay not in", values, "isPay"); + return (Criteria) this; + } + + public Criteria andIsPayBetween(Short value1, Short value2) { + addCriterion("is_pay between", value1, value2, "isPay"); + return (Criteria) this; + } + + public Criteria andIsPayNotBetween(Short value1, Short value2) { + addCriterion("is_pay not between", value1, value2, "isPay"); + return (Criteria) this; + } + + public Criteria andPayTypeIsNull() { + addCriterion("pay_type is null"); + return (Criteria) this; + } + + public Criteria andPayTypeIsNotNull() { + addCriterion("pay_type is not null"); + return (Criteria) this; + } + + public Criteria andPayTypeEqualTo(Short value) { + addCriterion("pay_type =", value, "payType"); + return (Criteria) this; + } + + public Criteria andPayTypeNotEqualTo(Short value) { + addCriterion("pay_type <>", value, "payType"); + return (Criteria) this; + } + + public Criteria andPayTypeGreaterThan(Short value) { + addCriterion("pay_type >", value, "payType"); + return (Criteria) this; + } + + public Criteria andPayTypeGreaterThanOrEqualTo(Short value) { + addCriterion("pay_type >=", value, "payType"); + return (Criteria) this; + } + + public Criteria andPayTypeLessThan(Short value) { + addCriterion("pay_type <", value, "payType"); + return (Criteria) this; + } + + public Criteria andPayTypeLessThanOrEqualTo(Short value) { + addCriterion("pay_type <=", value, "payType"); + return (Criteria) this; + } + + public Criteria andPayTypeIn(List values) { + addCriterion("pay_type in", values, "payType"); + return (Criteria) this; + } + + public Criteria andPayTypeNotIn(List values) { + addCriterion("pay_type not in", values, "payType"); + return (Criteria) this; + } + + public Criteria andPayTypeBetween(Short value1, Short value2) { + addCriterion("pay_type between", value1, value2, "payType"); + return (Criteria) this; + } + + public Criteria andPayTypeNotBetween(Short value1, Short value2) { + addCriterion("pay_type not between", value1, value2, "payType"); + return (Criteria) this; + } + + public Criteria andPayTimeIsNull() { + addCriterion("pay_time is null"); + return (Criteria) this; + } + + public Criteria andPayTimeIsNotNull() { + addCriterion("pay_time is not null"); + return (Criteria) this; + } + + public Criteria andPayTimeEqualTo(Integer value) { + addCriterion("pay_time =", value, "payTime"); + return (Criteria) this; + } + + public Criteria andPayTimeNotEqualTo(Integer value) { + addCriterion("pay_time <>", value, "payTime"); + return (Criteria) this; + } + + public Criteria andPayTimeGreaterThan(Integer value) { + addCriterion("pay_time >", value, "payTime"); + return (Criteria) this; + } + + public Criteria andPayTimeGreaterThanOrEqualTo(Integer value) { + addCriterion("pay_time >=", value, "payTime"); + return (Criteria) this; + } + + public Criteria andPayTimeLessThan(Integer value) { + addCriterion("pay_time <", value, "payTime"); + return (Criteria) this; + } + + public Criteria andPayTimeLessThanOrEqualTo(Integer value) { + addCriterion("pay_time <=", value, "payTime"); + return (Criteria) this; + } + + public Criteria andPayTimeIn(List values) { + addCriterion("pay_time in", values, "payTime"); + return (Criteria) this; + } + + public Criteria andPayTimeNotIn(List values) { + addCriterion("pay_time not in", values, "payTime"); + return (Criteria) this; + } + + public Criteria andPayTimeBetween(Integer value1, Integer value2) { + addCriterion("pay_time between", value1, value2, "payTime"); + return (Criteria) this; + } + + public Criteria andPayTimeNotBetween(Integer value1, Integer value2) { + addCriterion("pay_time not between", value1, value2, "payTime"); + return (Criteria) this; + } + + public Criteria andIsSendIsNull() { + addCriterion("is_send is null"); + return (Criteria) this; + } + + public Criteria andIsSendIsNotNull() { + addCriterion("is_send is not null"); + return (Criteria) this; + } + + public Criteria andIsSendEqualTo(Short value) { + addCriterion("is_send =", value, "isSend"); + return (Criteria) this; + } + + public Criteria andIsSendNotEqualTo(Short value) { + addCriterion("is_send <>", value, "isSend"); + return (Criteria) this; + } + + public Criteria andIsSendGreaterThan(Short value) { + addCriterion("is_send >", value, "isSend"); + return (Criteria) this; + } + + public Criteria andIsSendGreaterThanOrEqualTo(Short value) { + addCriterion("is_send >=", value, "isSend"); + return (Criteria) this; + } + + public Criteria andIsSendLessThan(Short value) { + addCriterion("is_send <", value, "isSend"); + return (Criteria) this; + } + + public Criteria andIsSendLessThanOrEqualTo(Short value) { + addCriterion("is_send <=", value, "isSend"); + return (Criteria) this; + } + + public Criteria andIsSendIn(List values) { + addCriterion("is_send in", values, "isSend"); + return (Criteria) this; + } + + public Criteria andIsSendNotIn(List values) { + addCriterion("is_send not in", values, "isSend"); + return (Criteria) this; + } + + public Criteria andIsSendBetween(Short value1, Short value2) { + addCriterion("is_send between", value1, value2, "isSend"); + return (Criteria) this; + } + + public Criteria andIsSendNotBetween(Short value1, Short value2) { + addCriterion("is_send not between", value1, value2, "isSend"); + return (Criteria) this; + } + + public Criteria andSendTimeIsNull() { + addCriterion("send_time is null"); + return (Criteria) this; + } + + public Criteria andSendTimeIsNotNull() { + addCriterion("send_time is not null"); + return (Criteria) this; + } + + public Criteria andSendTimeEqualTo(Integer value) { + addCriterion("send_time =", value, "sendTime"); + return (Criteria) this; + } + + public Criteria andSendTimeNotEqualTo(Integer value) { + addCriterion("send_time <>", value, "sendTime"); + return (Criteria) this; + } + + public Criteria andSendTimeGreaterThan(Integer value) { + addCriterion("send_time >", value, "sendTime"); + return (Criteria) this; + } + + public Criteria andSendTimeGreaterThanOrEqualTo(Integer value) { + addCriterion("send_time >=", value, "sendTime"); + return (Criteria) this; + } + + public Criteria andSendTimeLessThan(Integer value) { + addCriterion("send_time <", value, "sendTime"); + return (Criteria) this; + } + + public Criteria andSendTimeLessThanOrEqualTo(Integer value) { + addCriterion("send_time <=", value, "sendTime"); + return (Criteria) this; + } + + public Criteria andSendTimeIn(List values) { + addCriterion("send_time in", values, "sendTime"); + return (Criteria) this; + } + + public Criteria andSendTimeNotIn(List values) { + addCriterion("send_time not in", values, "sendTime"); + return (Criteria) this; + } + + public Criteria andSendTimeBetween(Integer value1, Integer value2) { + addCriterion("send_time between", value1, value2, "sendTime"); + return (Criteria) this; + } + + public Criteria andSendTimeNotBetween(Integer value1, Integer value2) { + addCriterion("send_time not between", value1, value2, "sendTime"); + return (Criteria) this; + } + + public Criteria andExpressIsNull() { + addCriterion("express is null"); + return (Criteria) this; + } + + public Criteria andExpressIsNotNull() { + addCriterion("express is not null"); + return (Criteria) this; + } + + public Criteria andExpressEqualTo(String value) { + addCriterion("express =", value, "express"); + return (Criteria) this; + } + + public Criteria andExpressNotEqualTo(String value) { + addCriterion("express <>", value, "express"); + return (Criteria) this; + } + + public Criteria andExpressGreaterThan(String value) { + addCriterion("express >", value, "express"); + return (Criteria) this; + } + + public Criteria andExpressGreaterThanOrEqualTo(String value) { + addCriterion("express >=", value, "express"); + return (Criteria) this; + } + + public Criteria andExpressLessThan(String value) { + addCriterion("express <", value, "express"); + return (Criteria) this; + } + + public Criteria andExpressLessThanOrEqualTo(String value) { + addCriterion("express <=", value, "express"); + return (Criteria) this; + } + + public Criteria andExpressLike(String value) { + addCriterion("express like", value, "express"); + return (Criteria) this; + } + + public Criteria andExpressNotLike(String value) { + addCriterion("express not like", value, "express"); + return (Criteria) this; + } + + public Criteria andExpressIn(List values) { + addCriterion("express in", values, "express"); + return (Criteria) this; + } + + public Criteria andExpressNotIn(List values) { + addCriterion("express not in", values, "express"); + return (Criteria) this; + } + + public Criteria andExpressBetween(String value1, String value2) { + addCriterion("express between", value1, value2, "express"); + return (Criteria) this; + } + + public Criteria andExpressNotBetween(String value1, String value2) { + addCriterion("express not between", value1, value2, "express"); + return (Criteria) this; + } + + public Criteria andExpressNoIsNull() { + addCriterion("express_no is null"); + return (Criteria) this; + } + + public Criteria andExpressNoIsNotNull() { + addCriterion("express_no is not null"); + return (Criteria) this; + } + + public Criteria andExpressNoEqualTo(String value) { + addCriterion("express_no =", value, "expressNo"); + return (Criteria) this; + } + + public Criteria andExpressNoNotEqualTo(String value) { + addCriterion("express_no <>", value, "expressNo"); + return (Criteria) this; + } + + public Criteria andExpressNoGreaterThan(String value) { + addCriterion("express_no >", value, "expressNo"); + return (Criteria) this; + } + + public Criteria andExpressNoGreaterThanOrEqualTo(String value) { + addCriterion("express_no >=", value, "expressNo"); + return (Criteria) this; + } + + public Criteria andExpressNoLessThan(String value) { + addCriterion("express_no <", value, "expressNo"); + return (Criteria) this; + } + + public Criteria andExpressNoLessThanOrEqualTo(String value) { + addCriterion("express_no <=", value, "expressNo"); + return (Criteria) this; + } + + public Criteria andExpressNoLike(String value) { + addCriterion("express_no like", value, "expressNo"); + return (Criteria) this; + } + + public Criteria andExpressNoNotLike(String value) { + addCriterion("express_no not like", value, "expressNo"); + return (Criteria) this; + } + + public Criteria andExpressNoIn(List values) { + addCriterion("express_no in", values, "expressNo"); + return (Criteria) this; + } + + public Criteria andExpressNoNotIn(List values) { + addCriterion("express_no not in", values, "expressNo"); + return (Criteria) this; + } + + public Criteria andExpressNoBetween(String value1, String value2) { + addCriterion("express_no between", value1, value2, "expressNo"); + return (Criteria) this; + } + + public Criteria andExpressNoNotBetween(String value1, String value2) { + addCriterion("express_no not between", value1, value2, "expressNo"); + return (Criteria) this; + } + + public Criteria andIsConfirmIsNull() { + addCriterion("is_confirm is null"); + return (Criteria) this; + } + + public Criteria andIsConfirmIsNotNull() { + addCriterion("is_confirm is not null"); + return (Criteria) this; + } + + public Criteria andIsConfirmEqualTo(Short value) { + addCriterion("is_confirm =", value, "isConfirm"); + return (Criteria) this; + } + + public Criteria andIsConfirmNotEqualTo(Short value) { + addCriterion("is_confirm <>", value, "isConfirm"); + return (Criteria) this; + } + + public Criteria andIsConfirmGreaterThan(Short value) { + addCriterion("is_confirm >", value, "isConfirm"); + return (Criteria) this; + } + + public Criteria andIsConfirmGreaterThanOrEqualTo(Short value) { + addCriterion("is_confirm >=", value, "isConfirm"); + return (Criteria) this; + } + + public Criteria andIsConfirmLessThan(Short value) { + addCriterion("is_confirm <", value, "isConfirm"); + return (Criteria) this; + } + + public Criteria andIsConfirmLessThanOrEqualTo(Short value) { + addCriterion("is_confirm <=", value, "isConfirm"); + return (Criteria) this; + } + + public Criteria andIsConfirmIn(List values) { + addCriterion("is_confirm in", values, "isConfirm"); + return (Criteria) this; + } + + public Criteria andIsConfirmNotIn(List values) { + addCriterion("is_confirm not in", values, "isConfirm"); + return (Criteria) this; + } + + public Criteria andIsConfirmBetween(Short value1, Short value2) { + addCriterion("is_confirm between", value1, value2, "isConfirm"); + return (Criteria) this; + } + + public Criteria andIsConfirmNotBetween(Short value1, Short value2) { + addCriterion("is_confirm not between", value1, value2, "isConfirm"); + return (Criteria) this; + } + + public Criteria andConfirmTimeIsNull() { + addCriterion("confirm_time is null"); + return (Criteria) this; + } + + public Criteria andConfirmTimeIsNotNull() { + addCriterion("confirm_time is not null"); + return (Criteria) this; + } + + public Criteria andConfirmTimeEqualTo(Integer value) { + addCriterion("confirm_time =", value, "confirmTime"); + return (Criteria) this; + } + + public Criteria andConfirmTimeNotEqualTo(Integer value) { + addCriterion("confirm_time <>", value, "confirmTime"); + return (Criteria) this; + } + + public Criteria andConfirmTimeGreaterThan(Integer value) { + addCriterion("confirm_time >", value, "confirmTime"); + return (Criteria) this; + } + + public Criteria andConfirmTimeGreaterThanOrEqualTo(Integer value) { + addCriterion("confirm_time >=", value, "confirmTime"); + return (Criteria) this; + } + + public Criteria andConfirmTimeLessThan(Integer value) { + addCriterion("confirm_time <", value, "confirmTime"); + return (Criteria) this; + } + + public Criteria andConfirmTimeLessThanOrEqualTo(Integer value) { + addCriterion("confirm_time <=", value, "confirmTime"); + return (Criteria) this; + } + + public Criteria andConfirmTimeIn(List values) { + addCriterion("confirm_time in", values, "confirmTime"); + return (Criteria) this; + } + + public Criteria andConfirmTimeNotIn(List values) { + addCriterion("confirm_time not in", values, "confirmTime"); + return (Criteria) this; + } + + public Criteria andConfirmTimeBetween(Integer value1, Integer value2) { + addCriterion("confirm_time between", value1, value2, "confirmTime"); + return (Criteria) this; + } + + public Criteria andConfirmTimeNotBetween(Integer value1, Integer value2) { + addCriterion("confirm_time not between", value1, value2, "confirmTime"); + return (Criteria) this; + } + + public Criteria andIsCommentIsNull() { + addCriterion("is_comment is null"); + return (Criteria) this; + } + + public Criteria andIsCommentIsNotNull() { + addCriterion("is_comment is not null"); + return (Criteria) this; + } + + public Criteria andIsCommentEqualTo(Short value) { + addCriterion("is_comment =", value, "isComment"); + return (Criteria) this; + } + + public Criteria andIsCommentNotEqualTo(Short value) { + addCriterion("is_comment <>", value, "isComment"); + return (Criteria) this; + } + + public Criteria andIsCommentGreaterThan(Short value) { + addCriterion("is_comment >", value, "isComment"); + return (Criteria) this; + } + + public Criteria andIsCommentGreaterThanOrEqualTo(Short value) { + addCriterion("is_comment >=", value, "isComment"); + return (Criteria) this; + } + + public Criteria andIsCommentLessThan(Short value) { + addCriterion("is_comment <", value, "isComment"); + return (Criteria) this; + } + + public Criteria andIsCommentLessThanOrEqualTo(Short value) { + addCriterion("is_comment <=", value, "isComment"); + return (Criteria) this; + } + + public Criteria andIsCommentIn(List values) { + addCriterion("is_comment in", values, "isComment"); + return (Criteria) this; + } + + public Criteria andIsCommentNotIn(List values) { + addCriterion("is_comment not in", values, "isComment"); + return (Criteria) this; + } + + public Criteria andIsCommentBetween(Short value1, Short value2) { + addCriterion("is_comment between", value1, value2, "isComment"); + return (Criteria) this; + } + + public Criteria andIsCommentNotBetween(Short value1, Short value2) { + addCriterion("is_comment not between", value1, value2, "isComment"); + return (Criteria) this; + } + + public Criteria andApplyDeleteIsNull() { + addCriterion("apply_delete is null"); + return (Criteria) this; + } + + public Criteria andApplyDeleteIsNotNull() { + addCriterion("apply_delete is not null"); + return (Criteria) this; + } + + public Criteria andApplyDeleteEqualTo(Short value) { + addCriterion("apply_delete =", value, "applyDelete"); + return (Criteria) this; + } + + public Criteria andApplyDeleteNotEqualTo(Short value) { + addCriterion("apply_delete <>", value, "applyDelete"); + return (Criteria) this; + } + + public Criteria andApplyDeleteGreaterThan(Short value) { + addCriterion("apply_delete >", value, "applyDelete"); + return (Criteria) this; + } + + public Criteria andApplyDeleteGreaterThanOrEqualTo(Short value) { + addCriterion("apply_delete >=", value, "applyDelete"); + return (Criteria) this; + } + + public Criteria andApplyDeleteLessThan(Short value) { + addCriterion("apply_delete <", value, "applyDelete"); + return (Criteria) this; + } + + public Criteria andApplyDeleteLessThanOrEqualTo(Short value) { + addCriterion("apply_delete <=", value, "applyDelete"); + return (Criteria) this; + } + + public Criteria andApplyDeleteIn(List values) { + addCriterion("apply_delete in", values, "applyDelete"); + return (Criteria) this; + } + + public Criteria andApplyDeleteNotIn(List values) { + addCriterion("apply_delete not in", values, "applyDelete"); + return (Criteria) this; + } + + public Criteria andApplyDeleteBetween(Short value1, Short value2) { + addCriterion("apply_delete between", value1, value2, "applyDelete"); + return (Criteria) this; + } + + public Criteria andApplyDeleteNotBetween(Short value1, Short value2) { + addCriterion("apply_delete not between", value1, value2, "applyDelete"); + return (Criteria) this; + } + + public Criteria andAddtimeIsNull() { + addCriterion("addtime is null"); + return (Criteria) this; + } + + public Criteria andAddtimeIsNotNull() { + addCriterion("addtime is not null"); + return (Criteria) this; + } + + public Criteria andAddtimeEqualTo(Integer value) { + addCriterion("addtime =", value, "addtime"); + return (Criteria) this; + } + + public Criteria andAddtimeNotEqualTo(Integer value) { + addCriterion("addtime <>", value, "addtime"); + return (Criteria) this; + } + + public Criteria andAddtimeGreaterThan(Integer value) { + addCriterion("addtime >", value, "addtime"); + return (Criteria) this; + } + + public Criteria andAddtimeGreaterThanOrEqualTo(Integer value) { + addCriterion("addtime >=", value, "addtime"); + return (Criteria) this; + } + + public Criteria andAddtimeLessThan(Integer value) { + addCriterion("addtime <", value, "addtime"); + return (Criteria) this; + } + + public Criteria andAddtimeLessThanOrEqualTo(Integer value) { + addCriterion("addtime <=", value, "addtime"); + return (Criteria) this; + } + + public Criteria andAddtimeIn(List values) { + addCriterion("addtime in", values, "addtime"); + return (Criteria) this; + } + + public Criteria andAddtimeNotIn(List values) { + addCriterion("addtime not in", values, "addtime"); + return (Criteria) this; + } + + public Criteria andAddtimeBetween(Integer value1, Integer value2) { + addCriterion("addtime between", value1, value2, "addtime"); + return (Criteria) this; + } + + public Criteria andAddtimeNotBetween(Integer value1, Integer value2) { + addCriterion("addtime not between", value1, value2, "addtime"); + return (Criteria) this; + } + + public Criteria andIsDeleteIsNull() { + addCriterion("is_delete is null"); + return (Criteria) this; + } + + public Criteria andIsDeleteIsNotNull() { + addCriterion("is_delete is not null"); + return (Criteria) this; + } + + public Criteria andIsDeleteEqualTo(Short value) { + addCriterion("is_delete =", value, "isDelete"); + return (Criteria) this; + } + + public Criteria andIsDeleteNotEqualTo(Short value) { + addCriterion("is_delete <>", value, "isDelete"); + return (Criteria) this; + } + + public Criteria andIsDeleteGreaterThan(Short value) { + addCriterion("is_delete >", value, "isDelete"); + return (Criteria) this; + } + + public Criteria andIsDeleteGreaterThanOrEqualTo(Short value) { + addCriterion("is_delete >=", value, "isDelete"); + return (Criteria) this; + } + + public Criteria andIsDeleteLessThan(Short value) { + addCriterion("is_delete <", value, "isDelete"); + return (Criteria) this; + } + + public Criteria andIsDeleteLessThanOrEqualTo(Short value) { + addCriterion("is_delete <=", value, "isDelete"); + return (Criteria) this; + } + + public Criteria andIsDeleteIn(List values) { + addCriterion("is_delete in", values, "isDelete"); + return (Criteria) this; + } + + public Criteria andIsDeleteNotIn(List values) { + addCriterion("is_delete not in", values, "isDelete"); + return (Criteria) this; + } + + public Criteria andIsDeleteBetween(Short value1, Short value2) { + addCriterion("is_delete between", value1, value2, "isDelete"); + return (Criteria) this; + } + + public Criteria andIsDeleteNotBetween(Short value1, Short value2) { + addCriterion("is_delete not between", value1, value2, "isDelete"); + return (Criteria) this; + } + + public Criteria andIsPriceIsNull() { + addCriterion("is_price is null"); + return (Criteria) this; + } + + public Criteria andIsPriceIsNotNull() { + addCriterion("is_price is not null"); + return (Criteria) this; + } + + public Criteria andIsPriceEqualTo(Short value) { + addCriterion("is_price =", value, "isPrice"); + return (Criteria) this; + } + + public Criteria andIsPriceNotEqualTo(Short value) { + addCriterion("is_price <>", value, "isPrice"); + return (Criteria) this; + } + + public Criteria andIsPriceGreaterThan(Short value) { + addCriterion("is_price >", value, "isPrice"); + return (Criteria) this; + } + + public Criteria andIsPriceGreaterThanOrEqualTo(Short value) { + addCriterion("is_price >=", value, "isPrice"); + return (Criteria) this; + } + + public Criteria andIsPriceLessThan(Short value) { + addCriterion("is_price <", value, "isPrice"); + return (Criteria) this; + } + + public Criteria andIsPriceLessThanOrEqualTo(Short value) { + addCriterion("is_price <=", value, "isPrice"); + return (Criteria) this; + } + + public Criteria andIsPriceIn(List values) { + addCriterion("is_price in", values, "isPrice"); + return (Criteria) this; + } + + public Criteria andIsPriceNotIn(List values) { + addCriterion("is_price not in", values, "isPrice"); + return (Criteria) this; + } + + public Criteria andIsPriceBetween(Short value1, Short value2) { + addCriterion("is_price between", value1, value2, "isPrice"); + return (Criteria) this; + } + + public Criteria andIsPriceNotBetween(Short value1, Short value2) { + addCriterion("is_price not between", value1, value2, "isPrice"); + return (Criteria) this; + } + + public Criteria andParentIdIsNull() { + addCriterion("parent_id is null"); + return (Criteria) this; + } + + public Criteria andParentIdIsNotNull() { + addCriterion("parent_id is not null"); + return (Criteria) this; + } + + public Criteria andParentIdEqualTo(Integer value) { + addCriterion("parent_id =", value, "parentId"); + return (Criteria) this; + } + + public Criteria andParentIdNotEqualTo(Integer value) { + addCriterion("parent_id <>", value, "parentId"); + return (Criteria) this; + } + + public Criteria andParentIdGreaterThan(Integer value) { + addCriterion("parent_id >", value, "parentId"); + return (Criteria) this; + } + + public Criteria andParentIdGreaterThanOrEqualTo(Integer value) { + addCriterion("parent_id >=", value, "parentId"); + return (Criteria) this; + } + + public Criteria andParentIdLessThan(Integer value) { + addCriterion("parent_id <", value, "parentId"); + return (Criteria) this; + } + + public Criteria andParentIdLessThanOrEqualTo(Integer value) { + addCriterion("parent_id <=", value, "parentId"); + return (Criteria) this; + } + + public Criteria andParentIdIn(List values) { + addCriterion("parent_id in", values, "parentId"); + return (Criteria) this; + } + + public Criteria andParentIdNotIn(List values) { + addCriterion("parent_id not in", values, "parentId"); + return (Criteria) this; + } + + public Criteria andParentIdBetween(Integer value1, Integer value2) { + addCriterion("parent_id between", value1, value2, "parentId"); + return (Criteria) this; + } + + public Criteria andParentIdNotBetween(Integer value1, Integer value2) { + addCriterion("parent_id not between", value1, value2, "parentId"); + return (Criteria) this; + } + + public Criteria andFirstPriceIsNull() { + addCriterion("first_price is null"); + return (Criteria) this; + } + + public Criteria andFirstPriceIsNotNull() { + addCriterion("first_price is not null"); + return (Criteria) this; + } + + public Criteria andFirstPriceEqualTo(BigDecimal value) { + addCriterion("first_price =", value, "firstPrice"); + return (Criteria) this; + } + + public Criteria andFirstPriceNotEqualTo(BigDecimal value) { + addCriterion("first_price <>", value, "firstPrice"); + return (Criteria) this; + } + + public Criteria andFirstPriceGreaterThan(BigDecimal value) { + addCriterion("first_price >", value, "firstPrice"); + return (Criteria) this; + } + + public Criteria andFirstPriceGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("first_price >=", value, "firstPrice"); + return (Criteria) this; + } + + public Criteria andFirstPriceLessThan(BigDecimal value) { + addCriterion("first_price <", value, "firstPrice"); + return (Criteria) this; + } + + public Criteria andFirstPriceLessThanOrEqualTo(BigDecimal value) { + addCriterion("first_price <=", value, "firstPrice"); + return (Criteria) this; + } + + public Criteria andFirstPriceIn(List values) { + addCriterion("first_price in", values, "firstPrice"); + return (Criteria) this; + } + + public Criteria andFirstPriceNotIn(List values) { + addCriterion("first_price not in", values, "firstPrice"); + return (Criteria) this; + } + + public Criteria andFirstPriceBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("first_price between", value1, value2, "firstPrice"); + return (Criteria) this; + } + + public Criteria andFirstPriceNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("first_price not between", value1, value2, "firstPrice"); + return (Criteria) this; + } + + public Criteria andSecondPriceIsNull() { + addCriterion("second_price is null"); + return (Criteria) this; + } + + public Criteria andSecondPriceIsNotNull() { + addCriterion("second_price is not null"); + return (Criteria) this; + } + + public Criteria andSecondPriceEqualTo(BigDecimal value) { + addCriterion("second_price =", value, "secondPrice"); + return (Criteria) this; + } + + public Criteria andSecondPriceNotEqualTo(BigDecimal value) { + addCriterion("second_price <>", value, "secondPrice"); + return (Criteria) this; + } + + public Criteria andSecondPriceGreaterThan(BigDecimal value) { + addCriterion("second_price >", value, "secondPrice"); + return (Criteria) this; + } + + public Criteria andSecondPriceGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("second_price >=", value, "secondPrice"); + return (Criteria) this; + } + + public Criteria andSecondPriceLessThan(BigDecimal value) { + addCriterion("second_price <", value, "secondPrice"); + return (Criteria) this; + } + + public Criteria andSecondPriceLessThanOrEqualTo(BigDecimal value) { + addCriterion("second_price <=", value, "secondPrice"); + return (Criteria) this; + } + + public Criteria andSecondPriceIn(List values) { + addCriterion("second_price in", values, "secondPrice"); + return (Criteria) this; + } + + public Criteria andSecondPriceNotIn(List values) { + addCriterion("second_price not in", values, "secondPrice"); + return (Criteria) this; + } + + public Criteria andSecondPriceBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("second_price between", value1, value2, "secondPrice"); + return (Criteria) this; + } + + public Criteria andSecondPriceNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("second_price not between", value1, value2, "secondPrice"); + return (Criteria) this; + } + + public Criteria andThirdPriceIsNull() { + addCriterion("third_price is null"); + return (Criteria) this; + } + + public Criteria andThirdPriceIsNotNull() { + addCriterion("third_price is not null"); + return (Criteria) this; + } + + public Criteria andThirdPriceEqualTo(BigDecimal value) { + addCriterion("third_price =", value, "thirdPrice"); + return (Criteria) this; + } + + public Criteria andThirdPriceNotEqualTo(BigDecimal value) { + addCriterion("third_price <>", value, "thirdPrice"); + return (Criteria) this; + } + + public Criteria andThirdPriceGreaterThan(BigDecimal value) { + addCriterion("third_price >", value, "thirdPrice"); + return (Criteria) this; + } + + public Criteria andThirdPriceGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("third_price >=", value, "thirdPrice"); + return (Criteria) this; + } + + public Criteria andThirdPriceLessThan(BigDecimal value) { + addCriterion("third_price <", value, "thirdPrice"); + return (Criteria) this; + } + + public Criteria andThirdPriceLessThanOrEqualTo(BigDecimal value) { + addCriterion("third_price <=", value, "thirdPrice"); + return (Criteria) this; + } + + public Criteria andThirdPriceIn(List values) { + addCriterion("third_price in", values, "thirdPrice"); + return (Criteria) this; + } + + public Criteria andThirdPriceNotIn(List values) { + addCriterion("third_price not in", values, "thirdPrice"); + return (Criteria) this; + } + + public Criteria andThirdPriceBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("third_price between", value1, value2, "thirdPrice"); + return (Criteria) this; + } + + public Criteria andThirdPriceNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("third_price not between", value1, value2, "thirdPrice"); + return (Criteria) this; + } + + public Criteria andCouponSubPriceIsNull() { + addCriterion("coupon_sub_price is null"); + return (Criteria) this; + } + + public Criteria andCouponSubPriceIsNotNull() { + addCriterion("coupon_sub_price is not null"); + return (Criteria) this; + } + + public Criteria andCouponSubPriceEqualTo(BigDecimal value) { + addCriterion("coupon_sub_price =", value, "couponSubPrice"); + return (Criteria) this; + } + + public Criteria andCouponSubPriceNotEqualTo(BigDecimal value) { + addCriterion("coupon_sub_price <>", value, "couponSubPrice"); + return (Criteria) this; + } + + public Criteria andCouponSubPriceGreaterThan(BigDecimal value) { + addCriterion("coupon_sub_price >", value, "couponSubPrice"); + return (Criteria) this; + } + + public Criteria andCouponSubPriceGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("coupon_sub_price >=", value, "couponSubPrice"); + return (Criteria) this; + } + + public Criteria andCouponSubPriceLessThan(BigDecimal value) { + addCriterion("coupon_sub_price <", value, "couponSubPrice"); + return (Criteria) this; + } + + public Criteria andCouponSubPriceLessThanOrEqualTo(BigDecimal value) { + addCriterion("coupon_sub_price <=", value, "couponSubPrice"); + return (Criteria) this; + } + + public Criteria andCouponSubPriceIn(List values) { + addCriterion("coupon_sub_price in", values, "couponSubPrice"); + return (Criteria) this; + } + + public Criteria andCouponSubPriceNotIn(List values) { + addCriterion("coupon_sub_price not in", values, "couponSubPrice"); + return (Criteria) this; + } + + public Criteria andCouponSubPriceBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("coupon_sub_price between", value1, value2, "couponSubPrice"); + return (Criteria) this; + } + + public Criteria andCouponSubPriceNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("coupon_sub_price not between", value1, value2, "couponSubPrice"); + return (Criteria) this; + } + + public Criteria andIsOfflineIsNull() { + addCriterion("is_offline is null"); + return (Criteria) this; + } + + public Criteria andIsOfflineIsNotNull() { + addCriterion("is_offline is not null"); + return (Criteria) this; + } + + public Criteria andIsOfflineEqualTo(Integer value) { + addCriterion("is_offline =", value, "isOffline"); + return (Criteria) this; + } + + public Criteria andIsOfflineNotEqualTo(Integer value) { + addCriterion("is_offline <>", value, "isOffline"); + return (Criteria) this; + } + + public Criteria andIsOfflineGreaterThan(Integer value) { + addCriterion("is_offline >", value, "isOffline"); + return (Criteria) this; + } + + public Criteria andIsOfflineGreaterThanOrEqualTo(Integer value) { + addCriterion("is_offline >=", value, "isOffline"); + return (Criteria) this; + } + + public Criteria andIsOfflineLessThan(Integer value) { + addCriterion("is_offline <", value, "isOffline"); + return (Criteria) this; + } + + public Criteria andIsOfflineLessThanOrEqualTo(Integer value) { + addCriterion("is_offline <=", value, "isOffline"); + return (Criteria) this; + } + + public Criteria andIsOfflineIn(List values) { + addCriterion("is_offline in", values, "isOffline"); + return (Criteria) this; + } + + public Criteria andIsOfflineNotIn(List values) { + addCriterion("is_offline not in", values, "isOffline"); + return (Criteria) this; + } + + public Criteria andIsOfflineBetween(Integer value1, Integer value2) { + addCriterion("is_offline between", value1, value2, "isOffline"); + return (Criteria) this; + } + + public Criteria andIsOfflineNotBetween(Integer value1, Integer value2) { + addCriterion("is_offline not between", value1, value2, "isOffline"); + return (Criteria) this; + } + + public Criteria andClerkIdIsNull() { + addCriterion("clerk_id is null"); + return (Criteria) this; + } + + public Criteria andClerkIdIsNotNull() { + addCriterion("clerk_id is not null"); + return (Criteria) this; + } + + public Criteria andClerkIdEqualTo(Integer value) { + addCriterion("clerk_id =", value, "clerkId"); + return (Criteria) this; + } + + public Criteria andClerkIdNotEqualTo(Integer value) { + addCriterion("clerk_id <>", value, "clerkId"); + return (Criteria) this; + } + + public Criteria andClerkIdGreaterThan(Integer value) { + addCriterion("clerk_id >", value, "clerkId"); + return (Criteria) this; + } + + public Criteria andClerkIdGreaterThanOrEqualTo(Integer value) { + addCriterion("clerk_id >=", value, "clerkId"); + return (Criteria) this; + } + + public Criteria andClerkIdLessThan(Integer value) { + addCriterion("clerk_id <", value, "clerkId"); + return (Criteria) this; + } + + public Criteria andClerkIdLessThanOrEqualTo(Integer value) { + addCriterion("clerk_id <=", value, "clerkId"); + return (Criteria) this; + } + + public Criteria andClerkIdIn(List values) { + addCriterion("clerk_id in", values, "clerkId"); + return (Criteria) this; + } + + public Criteria andClerkIdNotIn(List values) { + addCriterion("clerk_id not in", values, "clerkId"); + return (Criteria) this; + } + + public Criteria andClerkIdBetween(Integer value1, Integer value2) { + addCriterion("clerk_id between", value1, value2, "clerkId"); + return (Criteria) this; + } + + public Criteria andClerkIdNotBetween(Integer value1, Integer value2) { + addCriterion("clerk_id not between", value1, value2, "clerkId"); + return (Criteria) this; + } + + public Criteria andIsCancelIsNull() { + addCriterion("is_cancel is null"); + return (Criteria) this; + } + + public Criteria andIsCancelIsNotNull() { + addCriterion("is_cancel is not null"); + return (Criteria) this; + } + + public Criteria andIsCancelEqualTo(Short value) { + addCriterion("is_cancel =", value, "isCancel"); + return (Criteria) this; + } + + public Criteria andIsCancelNotEqualTo(Short value) { + addCriterion("is_cancel <>", value, "isCancel"); + return (Criteria) this; + } + + public Criteria andIsCancelGreaterThan(Short value) { + addCriterion("is_cancel >", value, "isCancel"); + return (Criteria) this; + } + + public Criteria andIsCancelGreaterThanOrEqualTo(Short value) { + addCriterion("is_cancel >=", value, "isCancel"); + return (Criteria) this; + } + + public Criteria andIsCancelLessThan(Short value) { + addCriterion("is_cancel <", value, "isCancel"); + return (Criteria) this; + } + + public Criteria andIsCancelLessThanOrEqualTo(Short value) { + addCriterion("is_cancel <=", value, "isCancel"); + return (Criteria) this; + } + + public Criteria andIsCancelIn(List values) { + addCriterion("is_cancel in", values, "isCancel"); + return (Criteria) this; + } + + public Criteria andIsCancelNotIn(List values) { + addCriterion("is_cancel not in", values, "isCancel"); + return (Criteria) this; + } + + public Criteria andIsCancelBetween(Short value1, Short value2) { + addCriterion("is_cancel between", value1, value2, "isCancel"); + return (Criteria) this; + } + + public Criteria andIsCancelNotBetween(Short value1, Short value2) { + addCriterion("is_cancel not between", value1, value2, "isCancel"); + return (Criteria) this; + } + + public Criteria andBeforeUpdatePriceIsNull() { + addCriterion("before_update_price is null"); + return (Criteria) this; + } + + public Criteria andBeforeUpdatePriceIsNotNull() { + addCriterion("before_update_price is not null"); + return (Criteria) this; + } + + public Criteria andBeforeUpdatePriceEqualTo(BigDecimal value) { + addCriterion("before_update_price =", value, "beforeUpdatePrice"); + return (Criteria) this; + } + + public Criteria andBeforeUpdatePriceNotEqualTo(BigDecimal value) { + addCriterion("before_update_price <>", value, "beforeUpdatePrice"); + return (Criteria) this; + } + + public Criteria andBeforeUpdatePriceGreaterThan(BigDecimal value) { + addCriterion("before_update_price >", value, "beforeUpdatePrice"); + return (Criteria) this; + } + + public Criteria andBeforeUpdatePriceGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("before_update_price >=", value, "beforeUpdatePrice"); + return (Criteria) this; + } + + public Criteria andBeforeUpdatePriceLessThan(BigDecimal value) { + addCriterion("before_update_price <", value, "beforeUpdatePrice"); + return (Criteria) this; + } + + public Criteria andBeforeUpdatePriceLessThanOrEqualTo(BigDecimal value) { + addCriterion("before_update_price <=", value, "beforeUpdatePrice"); + return (Criteria) this; + } + + public Criteria andBeforeUpdatePriceIn(List values) { + addCriterion("before_update_price in", values, "beforeUpdatePrice"); + return (Criteria) this; + } + + public Criteria andBeforeUpdatePriceNotIn(List values) { + addCriterion("before_update_price not in", values, "beforeUpdatePrice"); + return (Criteria) this; + } + + public Criteria andBeforeUpdatePriceBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("before_update_price between", value1, value2, "beforeUpdatePrice"); + return (Criteria) this; + } + + public Criteria andBeforeUpdatePriceNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("before_update_price not between", value1, value2, "beforeUpdatePrice"); + return (Criteria) this; + } + + public Criteria andShopIdIsNull() { + addCriterion("shop_id is null"); + return (Criteria) this; + } + + public Criteria andShopIdIsNotNull() { + addCriterion("shop_id is not null"); + return (Criteria) this; + } + + public Criteria andShopIdEqualTo(Integer value) { + addCriterion("shop_id =", value, "shopId"); + return (Criteria) this; + } + + public Criteria andShopIdNotEqualTo(Integer value) { + addCriterion("shop_id <>", value, "shopId"); + return (Criteria) this; + } + + public Criteria andShopIdGreaterThan(Integer value) { + addCriterion("shop_id >", value, "shopId"); + return (Criteria) this; + } + + public Criteria andShopIdGreaterThanOrEqualTo(Integer value) { + addCriterion("shop_id >=", value, "shopId"); + return (Criteria) this; + } + + public Criteria andShopIdLessThan(Integer value) { + addCriterion("shop_id <", value, "shopId"); + return (Criteria) this; + } + + public Criteria andShopIdLessThanOrEqualTo(Integer value) { + addCriterion("shop_id <=", value, "shopId"); + return (Criteria) this; + } + + public Criteria andShopIdIn(List values) { + addCriterion("shop_id in", values, "shopId"); + return (Criteria) this; + } + + public Criteria andShopIdNotIn(List values) { + addCriterion("shop_id not in", values, "shopId"); + return (Criteria) this; + } + + public Criteria andShopIdBetween(Integer value1, Integer value2) { + addCriterion("shop_id between", value1, value2, "shopId"); + return (Criteria) this; + } + + public Criteria andShopIdNotBetween(Integer value1, Integer value2) { + addCriterion("shop_id not between", value1, value2, "shopId"); + return (Criteria) this; + } + + public Criteria andDiscountIsNull() { + addCriterion("discount is null"); + return (Criteria) this; + } + + public Criteria andDiscountIsNotNull() { + addCriterion("discount is not null"); + return (Criteria) this; + } + + public Criteria andDiscountEqualTo(BigDecimal value) { + addCriterion("discount =", value, "discount"); + return (Criteria) this; + } + + public Criteria andDiscountNotEqualTo(BigDecimal value) { + addCriterion("discount <>", value, "discount"); + return (Criteria) this; + } + + public Criteria andDiscountGreaterThan(BigDecimal value) { + addCriterion("discount >", value, "discount"); + return (Criteria) this; + } + + public Criteria andDiscountGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("discount >=", value, "discount"); + return (Criteria) this; + } + + public Criteria andDiscountLessThan(BigDecimal value) { + addCriterion("discount <", value, "discount"); + return (Criteria) this; + } + + public Criteria andDiscountLessThanOrEqualTo(BigDecimal value) { + addCriterion("discount <=", value, "discount"); + return (Criteria) this; + } + + public Criteria andDiscountIn(List values) { + addCriterion("discount in", values, "discount"); + return (Criteria) this; + } + + public Criteria andDiscountNotIn(List values) { + addCriterion("discount not in", values, "discount"); + return (Criteria) this; + } + + public Criteria andDiscountBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("discount between", value1, value2, "discount"); + return (Criteria) this; + } + + public Criteria andDiscountNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("discount not between", value1, value2, "discount"); + return (Criteria) this; + } + + public Criteria andUserCouponIdIsNull() { + addCriterion("user_coupon_id is null"); + return (Criteria) this; + } + + public Criteria andUserCouponIdIsNotNull() { + addCriterion("user_coupon_id is not null"); + return (Criteria) this; + } + + public Criteria andUserCouponIdEqualTo(Integer value) { + addCriterion("user_coupon_id =", value, "userCouponId"); + return (Criteria) this; + } + + public Criteria andUserCouponIdNotEqualTo(Integer value) { + addCriterion("user_coupon_id <>", value, "userCouponId"); + return (Criteria) this; + } + + public Criteria andUserCouponIdGreaterThan(Integer value) { + addCriterion("user_coupon_id >", value, "userCouponId"); + return (Criteria) this; + } + + public Criteria andUserCouponIdGreaterThanOrEqualTo(Integer value) { + addCriterion("user_coupon_id >=", value, "userCouponId"); + return (Criteria) this; + } + + public Criteria andUserCouponIdLessThan(Integer value) { + addCriterion("user_coupon_id <", value, "userCouponId"); + return (Criteria) this; + } + + public Criteria andUserCouponIdLessThanOrEqualTo(Integer value) { + addCriterion("user_coupon_id <=", value, "userCouponId"); + return (Criteria) this; + } + + public Criteria andUserCouponIdIn(List values) { + addCriterion("user_coupon_id in", values, "userCouponId"); + return (Criteria) this; + } + + public Criteria andUserCouponIdNotIn(List values) { + addCriterion("user_coupon_id not in", values, "userCouponId"); + return (Criteria) this; + } + + public Criteria andUserCouponIdBetween(Integer value1, Integer value2) { + addCriterion("user_coupon_id between", value1, value2, "userCouponId"); + return (Criteria) this; + } + + public Criteria andUserCouponIdNotBetween(Integer value1, Integer value2) { + addCriterion("user_coupon_id not between", value1, value2, "userCouponId"); + return (Criteria) this; + } + + public Criteria andGiveIntegralIsNull() { + addCriterion("give_integral is null"); + return (Criteria) this; + } + + public Criteria andGiveIntegralIsNotNull() { + addCriterion("give_integral is not null"); + return (Criteria) this; + } + + public Criteria andGiveIntegralEqualTo(Short value) { + addCriterion("give_integral =", value, "giveIntegral"); + return (Criteria) this; + } + + public Criteria andGiveIntegralNotEqualTo(Short value) { + addCriterion("give_integral <>", value, "giveIntegral"); + return (Criteria) this; + } + + public Criteria andGiveIntegralGreaterThan(Short value) { + addCriterion("give_integral >", value, "giveIntegral"); + return (Criteria) this; + } + + public Criteria andGiveIntegralGreaterThanOrEqualTo(Short value) { + addCriterion("give_integral >=", value, "giveIntegral"); + return (Criteria) this; + } + + public Criteria andGiveIntegralLessThan(Short value) { + addCriterion("give_integral <", value, "giveIntegral"); + return (Criteria) this; + } + + public Criteria andGiveIntegralLessThanOrEqualTo(Short value) { + addCriterion("give_integral <=", value, "giveIntegral"); + return (Criteria) this; + } + + public Criteria andGiveIntegralIn(List values) { + addCriterion("give_integral in", values, "giveIntegral"); + return (Criteria) this; + } + + public Criteria andGiveIntegralNotIn(List values) { + addCriterion("give_integral not in", values, "giveIntegral"); + return (Criteria) this; + } + + public Criteria andGiveIntegralBetween(Short value1, Short value2) { + addCriterion("give_integral between", value1, value2, "giveIntegral"); + return (Criteria) this; + } + + public Criteria andGiveIntegralNotBetween(Short value1, Short value2) { + addCriterion("give_integral not between", value1, value2, "giveIntegral"); + return (Criteria) this; + } + + public Criteria andParentId1IsNull() { + addCriterion("parent_id_1 is null"); + return (Criteria) this; + } + + public Criteria andParentId1IsNotNull() { + addCriterion("parent_id_1 is not null"); + return (Criteria) this; + } + + public Criteria andParentId1EqualTo(Integer value) { + addCriterion("parent_id_1 =", value, "parentId1"); + return (Criteria) this; + } + + public Criteria andParentId1NotEqualTo(Integer value) { + addCriterion("parent_id_1 <>", value, "parentId1"); + return (Criteria) this; + } + + public Criteria andParentId1GreaterThan(Integer value) { + addCriterion("parent_id_1 >", value, "parentId1"); + return (Criteria) this; + } + + public Criteria andParentId1GreaterThanOrEqualTo(Integer value) { + addCriterion("parent_id_1 >=", value, "parentId1"); + return (Criteria) this; + } + + public Criteria andParentId1LessThan(Integer value) { + addCriterion("parent_id_1 <", value, "parentId1"); + return (Criteria) this; + } + + public Criteria andParentId1LessThanOrEqualTo(Integer value) { + addCriterion("parent_id_1 <=", value, "parentId1"); + return (Criteria) this; + } + + public Criteria andParentId1In(List values) { + addCriterion("parent_id_1 in", values, "parentId1"); + return (Criteria) this; + } + + public Criteria andParentId1NotIn(List values) { + addCriterion("parent_id_1 not in", values, "parentId1"); + return (Criteria) this; + } + + public Criteria andParentId1Between(Integer value1, Integer value2) { + addCriterion("parent_id_1 between", value1, value2, "parentId1"); + return (Criteria) this; + } + + public Criteria andParentId1NotBetween(Integer value1, Integer value2) { + addCriterion("parent_id_1 not between", value1, value2, "parentId1"); + return (Criteria) this; + } + + public Criteria andParentId2IsNull() { + addCriterion("parent_id_2 is null"); + return (Criteria) this; + } + + public Criteria andParentId2IsNotNull() { + addCriterion("parent_id_2 is not null"); + return (Criteria) this; + } + + public Criteria andParentId2EqualTo(Integer value) { + addCriterion("parent_id_2 =", value, "parentId2"); + return (Criteria) this; + } + + public Criteria andParentId2NotEqualTo(Integer value) { + addCriterion("parent_id_2 <>", value, "parentId2"); + return (Criteria) this; + } + + public Criteria andParentId2GreaterThan(Integer value) { + addCriterion("parent_id_2 >", value, "parentId2"); + return (Criteria) this; + } + + public Criteria andParentId2GreaterThanOrEqualTo(Integer value) { + addCriterion("parent_id_2 >=", value, "parentId2"); + return (Criteria) this; + } + + public Criteria andParentId2LessThan(Integer value) { + addCriterion("parent_id_2 <", value, "parentId2"); + return (Criteria) this; + } + + public Criteria andParentId2LessThanOrEqualTo(Integer value) { + addCriterion("parent_id_2 <=", value, "parentId2"); + return (Criteria) this; + } + + public Criteria andParentId2In(List values) { + addCriterion("parent_id_2 in", values, "parentId2"); + return (Criteria) this; + } + + public Criteria andParentId2NotIn(List values) { + addCriterion("parent_id_2 not in", values, "parentId2"); + return (Criteria) this; + } + + public Criteria andParentId2Between(Integer value1, Integer value2) { + addCriterion("parent_id_2 between", value1, value2, "parentId2"); + return (Criteria) this; + } + + public Criteria andParentId2NotBetween(Integer value1, Integer value2) { + addCriterion("parent_id_2 not between", value1, value2, "parentId2"); + return (Criteria) this; + } + + public Criteria andIsSaleIsNull() { + addCriterion("is_sale is null"); + return (Criteria) this; + } + + public Criteria andIsSaleIsNotNull() { + addCriterion("is_sale is not null"); + return (Criteria) this; + } + + public Criteria andIsSaleEqualTo(Integer value) { + addCriterion("is_sale =", value, "isSale"); + return (Criteria) this; + } + + public Criteria andIsSaleNotEqualTo(Integer value) { + addCriterion("is_sale <>", value, "isSale"); + return (Criteria) this; + } + + public Criteria andIsSaleGreaterThan(Integer value) { + addCriterion("is_sale >", value, "isSale"); + return (Criteria) this; + } + + public Criteria andIsSaleGreaterThanOrEqualTo(Integer value) { + addCriterion("is_sale >=", value, "isSale"); + return (Criteria) this; + } + + public Criteria andIsSaleLessThan(Integer value) { + addCriterion("is_sale <", value, "isSale"); + return (Criteria) this; + } + + public Criteria andIsSaleLessThanOrEqualTo(Integer value) { + addCriterion("is_sale <=", value, "isSale"); + return (Criteria) this; + } + + public Criteria andIsSaleIn(List values) { + addCriterion("is_sale in", values, "isSale"); + return (Criteria) this; + } + + public Criteria andIsSaleNotIn(List values) { + addCriterion("is_sale not in", values, "isSale"); + return (Criteria) this; + } + + public Criteria andIsSaleBetween(Integer value1, Integer value2) { + addCriterion("is_sale between", value1, value2, "isSale"); + return (Criteria) this; + } + + public Criteria andIsSaleNotBetween(Integer value1, Integer value2) { + addCriterion("is_sale not between", value1, value2, "isSale"); + return (Criteria) this; + } + + public Criteria andVersionIsNull() { + addCriterion("version is null"); + return (Criteria) this; + } + + public Criteria andVersionIsNotNull() { + addCriterion("version is not null"); + return (Criteria) this; + } + + public Criteria andVersionEqualTo(String value) { + addCriterion("version =", value, "version"); + return (Criteria) this; + } + + public Criteria andVersionNotEqualTo(String value) { + addCriterion("version <>", value, "version"); + return (Criteria) this; + } + + public Criteria andVersionGreaterThan(String value) { + addCriterion("version >", value, "version"); + return (Criteria) this; + } + + public Criteria andVersionGreaterThanOrEqualTo(String value) { + addCriterion("version >=", value, "version"); + return (Criteria) this; + } + + public Criteria andVersionLessThan(String value) { + addCriterion("version <", value, "version"); + return (Criteria) this; + } + + public Criteria andVersionLessThanOrEqualTo(String value) { + addCriterion("version <=", value, "version"); + return (Criteria) this; + } + + public Criteria andVersionLike(String value) { + addCriterion("version like", value, "version"); + return (Criteria) this; + } + + public Criteria andVersionNotLike(String value) { + addCriterion("version not like", value, "version"); + return (Criteria) this; + } + + public Criteria andVersionIn(List values) { + addCriterion("version in", values, "version"); + return (Criteria) this; + } + + public Criteria andVersionNotIn(List values) { + addCriterion("version not in", values, "version"); + return (Criteria) this; + } + + public Criteria andVersionBetween(String value1, String value2) { + addCriterion("version between", value1, value2, "version"); + return (Criteria) this; + } + + public Criteria andVersionNotBetween(String value1, String value2) { + addCriterion("version not between", value1, value2, "version"); + return (Criteria) this; + } + + public Criteria andExpressPrice1IsNull() { + addCriterion("express_price_1 is null"); + return (Criteria) this; + } + + public Criteria andExpressPrice1IsNotNull() { + addCriterion("express_price_1 is not null"); + return (Criteria) this; + } + + public Criteria andExpressPrice1EqualTo(BigDecimal value) { + addCriterion("express_price_1 =", value, "expressPrice1"); + return (Criteria) this; + } + + public Criteria andExpressPrice1NotEqualTo(BigDecimal value) { + addCriterion("express_price_1 <>", value, "expressPrice1"); + return (Criteria) this; + } + + public Criteria andExpressPrice1GreaterThan(BigDecimal value) { + addCriterion("express_price_1 >", value, "expressPrice1"); + return (Criteria) this; + } + + public Criteria andExpressPrice1GreaterThanOrEqualTo(BigDecimal value) { + addCriterion("express_price_1 >=", value, "expressPrice1"); + return (Criteria) this; + } + + public Criteria andExpressPrice1LessThan(BigDecimal value) { + addCriterion("express_price_1 <", value, "expressPrice1"); + return (Criteria) this; + } + + public Criteria andExpressPrice1LessThanOrEqualTo(BigDecimal value) { + addCriterion("express_price_1 <=", value, "expressPrice1"); + return (Criteria) this; + } + + public Criteria andExpressPrice1In(List values) { + addCriterion("express_price_1 in", values, "expressPrice1"); + return (Criteria) this; + } + + public Criteria andExpressPrice1NotIn(List values) { + addCriterion("express_price_1 not in", values, "expressPrice1"); + return (Criteria) this; + } + + public Criteria andExpressPrice1Between(BigDecimal value1, BigDecimal value2) { + addCriterion("express_price_1 between", value1, value2, "expressPrice1"); + return (Criteria) this; + } + + public Criteria andExpressPrice1NotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("express_price_1 not between", value1, value2, "expressPrice1"); + return (Criteria) this; + } + + public Criteria andIsRecycleIsNull() { + addCriterion("is_recycle is null"); + return (Criteria) this; + } + + public Criteria andIsRecycleIsNotNull() { + addCriterion("is_recycle is not null"); + return (Criteria) this; + } + + public Criteria andIsRecycleEqualTo(Short value) { + addCriterion("is_recycle =", value, "isRecycle"); + return (Criteria) this; + } + + public Criteria andIsRecycleNotEqualTo(Short value) { + addCriterion("is_recycle <>", value, "isRecycle"); + return (Criteria) this; + } + + public Criteria andIsRecycleGreaterThan(Short value) { + addCriterion("is_recycle >", value, "isRecycle"); + return (Criteria) this; + } + + public Criteria andIsRecycleGreaterThanOrEqualTo(Short value) { + addCriterion("is_recycle >=", value, "isRecycle"); + return (Criteria) this; + } + + public Criteria andIsRecycleLessThan(Short value) { + addCriterion("is_recycle <", value, "isRecycle"); + return (Criteria) this; + } + + public Criteria andIsRecycleLessThanOrEqualTo(Short value) { + addCriterion("is_recycle <=", value, "isRecycle"); + return (Criteria) this; + } + + public Criteria andIsRecycleIn(List values) { + addCriterion("is_recycle in", values, "isRecycle"); + return (Criteria) this; + } + + public Criteria andIsRecycleNotIn(List values) { + addCriterion("is_recycle not in", values, "isRecycle"); + return (Criteria) this; + } + + public Criteria andIsRecycleBetween(Short value1, Short value2) { + addCriterion("is_recycle between", value1, value2, "isRecycle"); + return (Criteria) this; + } + + public Criteria andIsRecycleNotBetween(Short value1, Short value2) { + addCriterion("is_recycle not between", value1, value2, "isRecycle"); + return (Criteria) this; + } + + public Criteria andRebateIsNull() { + addCriterion("rebate is null"); + return (Criteria) this; + } + + public Criteria andRebateIsNotNull() { + addCriterion("rebate is not null"); + return (Criteria) this; + } + + public Criteria andRebateEqualTo(BigDecimal value) { + addCriterion("rebate =", value, "rebate"); + return (Criteria) this; + } + + public Criteria andRebateNotEqualTo(BigDecimal value) { + addCriterion("rebate <>", value, "rebate"); + return (Criteria) this; + } + + public Criteria andRebateGreaterThan(BigDecimal value) { + addCriterion("rebate >", value, "rebate"); + return (Criteria) this; + } + + public Criteria andRebateGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("rebate >=", value, "rebate"); + return (Criteria) this; + } + + public Criteria andRebateLessThan(BigDecimal value) { + addCriterion("rebate <", value, "rebate"); + return (Criteria) this; + } + + public Criteria andRebateLessThanOrEqualTo(BigDecimal value) { + addCriterion("rebate <=", value, "rebate"); + return (Criteria) this; + } + + public Criteria andRebateIn(List values) { + addCriterion("rebate in", values, "rebate"); + return (Criteria) this; + } + + public Criteria andRebateNotIn(List values) { + addCriterion("rebate not in", values, "rebate"); + return (Criteria) this; + } + + public Criteria andRebateBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("rebate between", value1, value2, "rebate"); + return (Criteria) this; + } + + public Criteria andRebateNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("rebate not between", value1, value2, "rebate"); + return (Criteria) this; + } + + public Criteria andBeforeUpdateExpressIsNull() { + addCriterion("before_update_express is null"); + return (Criteria) this; + } + + public Criteria andBeforeUpdateExpressIsNotNull() { + addCriterion("before_update_express is not null"); + return (Criteria) this; + } + + public Criteria andBeforeUpdateExpressEqualTo(BigDecimal value) { + addCriterion("before_update_express =", value, "beforeUpdateExpress"); + return (Criteria) this; + } + + public Criteria andBeforeUpdateExpressNotEqualTo(BigDecimal value) { + addCriterion("before_update_express <>", value, "beforeUpdateExpress"); + return (Criteria) this; + } + + public Criteria andBeforeUpdateExpressGreaterThan(BigDecimal value) { + addCriterion("before_update_express >", value, "beforeUpdateExpress"); + return (Criteria) this; + } + + public Criteria andBeforeUpdateExpressGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("before_update_express >=", value, "beforeUpdateExpress"); + return (Criteria) this; + } + + public Criteria andBeforeUpdateExpressLessThan(BigDecimal value) { + addCriterion("before_update_express <", value, "beforeUpdateExpress"); + return (Criteria) this; + } + + public Criteria andBeforeUpdateExpressLessThanOrEqualTo(BigDecimal value) { + addCriterion("before_update_express <=", value, "beforeUpdateExpress"); + return (Criteria) this; + } + + public Criteria andBeforeUpdateExpressIn(List values) { + addCriterion("before_update_express in", values, "beforeUpdateExpress"); + return (Criteria) this; + } + + public Criteria andBeforeUpdateExpressNotIn(List values) { + addCriterion("before_update_express not in", values, "beforeUpdateExpress"); + return (Criteria) this; + } + + public Criteria andBeforeUpdateExpressBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("before_update_express between", value1, value2, "beforeUpdateExpress"); + return (Criteria) this; + } + + public Criteria andBeforeUpdateExpressNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("before_update_express not between", value1, value2, "beforeUpdateExpress"); + return (Criteria) this; + } + + public Criteria andMchIdIsNull() { + addCriterion("mch_id is null"); + return (Criteria) this; + } + + public Criteria andMchIdIsNotNull() { + addCriterion("mch_id is not null"); + return (Criteria) this; + } + + public Criteria andMchIdEqualTo(Integer value) { + addCriterion("mch_id =", value, "mchId"); + return (Criteria) this; + } + + public Criteria andMchIdNotEqualTo(Integer value) { + addCriterion("mch_id <>", value, "mchId"); + return (Criteria) this; + } + + public Criteria andMchIdGreaterThan(Integer value) { + addCriterion("mch_id >", value, "mchId"); + return (Criteria) this; + } + + public Criteria andMchIdGreaterThanOrEqualTo(Integer value) { + addCriterion("mch_id >=", value, "mchId"); + return (Criteria) this; + } + + public Criteria andMchIdLessThan(Integer value) { + addCriterion("mch_id <", value, "mchId"); + return (Criteria) this; + } + + public Criteria andMchIdLessThanOrEqualTo(Integer value) { + addCriterion("mch_id <=", value, "mchId"); + return (Criteria) this; + } + + public Criteria andMchIdIn(List values) { + addCriterion("mch_id in", values, "mchId"); + return (Criteria) this; + } + + public Criteria andMchIdNotIn(List values) { + addCriterion("mch_id not in", values, "mchId"); + return (Criteria) this; + } + + public Criteria andMchIdBetween(Integer value1, Integer value2) { + addCriterion("mch_id between", value1, value2, "mchId"); + return (Criteria) this; + } + + public Criteria andMchIdNotBetween(Integer value1, Integer value2) { + addCriterion("mch_id not between", value1, value2, "mchId"); + return (Criteria) this; + } + + public Criteria andOrderUnionIdIsNull() { + addCriterion("order_union_id is null"); + return (Criteria) this; + } + + public Criteria andOrderUnionIdIsNotNull() { + addCriterion("order_union_id is not null"); + return (Criteria) this; + } + + public Criteria andOrderUnionIdEqualTo(Integer value) { + addCriterion("order_union_id =", value, "orderUnionId"); + return (Criteria) this; + } + + public Criteria andOrderUnionIdNotEqualTo(Integer value) { + addCriterion("order_union_id <>", value, "orderUnionId"); + return (Criteria) this; + } + + public Criteria andOrderUnionIdGreaterThan(Integer value) { + addCriterion("order_union_id >", value, "orderUnionId"); + return (Criteria) this; + } + + public Criteria andOrderUnionIdGreaterThanOrEqualTo(Integer value) { + addCriterion("order_union_id >=", value, "orderUnionId"); + return (Criteria) this; + } + + public Criteria andOrderUnionIdLessThan(Integer value) { + addCriterion("order_union_id <", value, "orderUnionId"); + return (Criteria) this; + } + + public Criteria andOrderUnionIdLessThanOrEqualTo(Integer value) { + addCriterion("order_union_id <=", value, "orderUnionId"); + return (Criteria) this; + } + + public Criteria andOrderUnionIdIn(List values) { + addCriterion("order_union_id in", values, "orderUnionId"); + return (Criteria) this; + } + + public Criteria andOrderUnionIdNotIn(List values) { + addCriterion("order_union_id not in", values, "orderUnionId"); + return (Criteria) this; + } + + public Criteria andOrderUnionIdBetween(Integer value1, Integer value2) { + addCriterion("order_union_id between", value1, value2, "orderUnionId"); + return (Criteria) this; + } + + public Criteria andOrderUnionIdNotBetween(Integer value1, Integer value2) { + addCriterion("order_union_id not between", value1, value2, "orderUnionId"); + return (Criteria) this; + } + + public Criteria andIsTransferIsNull() { + addCriterion("is_transfer is null"); + return (Criteria) this; + } + + public Criteria andIsTransferIsNotNull() { + addCriterion("is_transfer is not null"); + return (Criteria) this; + } + + public Criteria andIsTransferEqualTo(Short value) { + addCriterion("is_transfer =", value, "isTransfer"); + return (Criteria) this; + } + + public Criteria andIsTransferNotEqualTo(Short value) { + addCriterion("is_transfer <>", value, "isTransfer"); + return (Criteria) this; + } + + public Criteria andIsTransferGreaterThan(Short value) { + addCriterion("is_transfer >", value, "isTransfer"); + return (Criteria) this; + } + + public Criteria andIsTransferGreaterThanOrEqualTo(Short value) { + addCriterion("is_transfer >=", value, "isTransfer"); + return (Criteria) this; + } + + public Criteria andIsTransferLessThan(Short value) { + addCriterion("is_transfer <", value, "isTransfer"); + return (Criteria) this; + } + + public Criteria andIsTransferLessThanOrEqualTo(Short value) { + addCriterion("is_transfer <=", value, "isTransfer"); + return (Criteria) this; + } + + public Criteria andIsTransferIn(List values) { + addCriterion("is_transfer in", values, "isTransfer"); + return (Criteria) this; + } + + public Criteria andIsTransferNotIn(List values) { + addCriterion("is_transfer not in", values, "isTransfer"); + return (Criteria) this; + } + + public Criteria andIsTransferBetween(Short value1, Short value2) { + addCriterion("is_transfer between", value1, value2, "isTransfer"); + return (Criteria) this; + } + + public Criteria andIsTransferNotBetween(Short value1, Short value2) { + addCriterion("is_transfer not between", value1, value2, "isTransfer"); + return (Criteria) this; + } + + public Criteria andTypeIsNull() { + addCriterion("`type` is null"); + return (Criteria) this; + } + + public Criteria andTypeIsNotNull() { + addCriterion("`type` is not null"); + return (Criteria) this; + } + + public Criteria andTypeEqualTo(Integer value) { + addCriterion("`type` =", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeNotEqualTo(Integer value) { + addCriterion("`type` <>", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeGreaterThan(Integer value) { + addCriterion("`type` >", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeGreaterThanOrEqualTo(Integer value) { + addCriterion("`type` >=", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeLessThan(Integer value) { + addCriterion("`type` <", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeLessThanOrEqualTo(Integer value) { + addCriterion("`type` <=", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeIn(List values) { + addCriterion("`type` in", values, "type"); + return (Criteria) this; + } + + public Criteria andTypeNotIn(List values) { + addCriterion("`type` not in", values, "type"); + return (Criteria) this; + } + + public Criteria andTypeBetween(Integer value1, Integer value2) { + addCriterion("`type` between", value1, value2, "type"); + return (Criteria) this; + } + + public Criteria andTypeNotBetween(Integer value1, Integer value2) { + addCriterion("`type` not between", value1, value2, "type"); + return (Criteria) this; + } + + public Criteria andSharePriceIsNull() { + addCriterion("share_price is null"); + return (Criteria) this; + } + + public Criteria andSharePriceIsNotNull() { + addCriterion("share_price is not null"); + return (Criteria) this; + } + + public Criteria andSharePriceEqualTo(BigDecimal value) { + addCriterion("share_price =", value, "sharePrice"); + return (Criteria) this; + } + + public Criteria andSharePriceNotEqualTo(BigDecimal value) { + addCriterion("share_price <>", value, "sharePrice"); + return (Criteria) this; + } + + public Criteria andSharePriceGreaterThan(BigDecimal value) { + addCriterion("share_price >", value, "sharePrice"); + return (Criteria) this; + } + + public Criteria andSharePriceGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("share_price >=", value, "sharePrice"); + return (Criteria) this; + } + + public Criteria andSharePriceLessThan(BigDecimal value) { + addCriterion("share_price <", value, "sharePrice"); + return (Criteria) this; + } + + public Criteria andSharePriceLessThanOrEqualTo(BigDecimal value) { + addCriterion("share_price <=", value, "sharePrice"); + return (Criteria) this; + } + + public Criteria andSharePriceIn(List values) { + addCriterion("share_price in", values, "sharePrice"); + return (Criteria) this; + } + + public Criteria andSharePriceNotIn(List values) { + addCriterion("share_price not in", values, "sharePrice"); + return (Criteria) this; + } + + public Criteria andSharePriceBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("share_price between", value1, value2, "sharePrice"); + return (Criteria) this; + } + + public Criteria andSharePriceNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("share_price not between", value1, value2, "sharePrice"); + return (Criteria) this; + } + + public Criteria andIsShowIsNull() { + addCriterion("is_show is null"); + return (Criteria) this; + } + + public Criteria andIsShowIsNotNull() { + addCriterion("is_show is not null"); + return (Criteria) this; + } + + public Criteria andIsShowEqualTo(Short value) { + addCriterion("is_show =", value, "isShow"); + return (Criteria) this; + } + + public Criteria andIsShowNotEqualTo(Short value) { + addCriterion("is_show <>", value, "isShow"); + return (Criteria) this; + } + + public Criteria andIsShowGreaterThan(Short value) { + addCriterion("is_show >", value, "isShow"); + return (Criteria) this; + } + + public Criteria andIsShowGreaterThanOrEqualTo(Short value) { + addCriterion("is_show >=", value, "isShow"); + return (Criteria) this; + } + + public Criteria andIsShowLessThan(Short value) { + addCriterion("is_show <", value, "isShow"); + return (Criteria) this; + } + + public Criteria andIsShowLessThanOrEqualTo(Short value) { + addCriterion("is_show <=", value, "isShow"); + return (Criteria) this; + } + + public Criteria andIsShowIn(List values) { + addCriterion("is_show in", values, "isShow"); + return (Criteria) this; + } + + public Criteria andIsShowNotIn(List values) { + addCriterion("is_show not in", values, "isShow"); + return (Criteria) this; + } + + public Criteria andIsShowBetween(Short value1, Short value2) { + addCriterion("is_show between", value1, value2, "isShow"); + return (Criteria) this; + } + + public Criteria andIsShowNotBetween(Short value1, Short value2) { + addCriterion("is_show not between", value1, value2, "isShow"); + return (Criteria) this; + } + + public Criteria andCurrencyIsNull() { + addCriterion("currency is null"); + return (Criteria) this; + } + + public Criteria andCurrencyIsNotNull() { + addCriterion("currency is not null"); + return (Criteria) this; + } + + public Criteria andCurrencyEqualTo(BigDecimal value) { + addCriterion("currency =", value, "currency"); + return (Criteria) this; + } + + public Criteria andCurrencyNotEqualTo(BigDecimal value) { + addCriterion("currency <>", value, "currency"); + return (Criteria) this; + } + + public Criteria andCurrencyGreaterThan(BigDecimal value) { + addCriterion("currency >", value, "currency"); + return (Criteria) this; + } + + public Criteria andCurrencyGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("currency >=", value, "currency"); + return (Criteria) this; + } + + public Criteria andCurrencyLessThan(BigDecimal value) { + addCriterion("currency <", value, "currency"); + return (Criteria) this; + } + + public Criteria andCurrencyLessThanOrEqualTo(BigDecimal value) { + addCriterion("currency <=", value, "currency"); + return (Criteria) this; + } + + public Criteria andCurrencyIn(List values) { + addCriterion("currency in", values, "currency"); + return (Criteria) this; + } + + public Criteria andCurrencyNotIn(List values) { + addCriterion("currency not in", values, "currency"); + return (Criteria) this; + } + + public Criteria andCurrencyBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("currency between", value1, value2, "currency"); + return (Criteria) this; + } + + public Criteria andCurrencyNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("currency not between", value1, value2, "currency"); + return (Criteria) this; + } + + public Criteria andOrderOriginIsNull() { + addCriterion("order_origin is null"); + return (Criteria) this; + } + + public Criteria andOrderOriginIsNotNull() { + addCriterion("order_origin is not null"); + return (Criteria) this; + } + + public Criteria andOrderOriginEqualTo(Boolean value) { + addCriterion("order_origin =", value, "orderOrigin"); + return (Criteria) this; + } + + public Criteria andOrderOriginNotEqualTo(Boolean value) { + addCriterion("order_origin <>", value, "orderOrigin"); + return (Criteria) this; + } + + public Criteria andOrderOriginGreaterThan(Boolean value) { + addCriterion("order_origin >", value, "orderOrigin"); + return (Criteria) this; + } + + public Criteria andOrderOriginGreaterThanOrEqualTo(Boolean value) { + addCriterion("order_origin >=", value, "orderOrigin"); + return (Criteria) this; + } + + public Criteria andOrderOriginLessThan(Boolean value) { + addCriterion("order_origin <", value, "orderOrigin"); + return (Criteria) this; + } + + public Criteria andOrderOriginLessThanOrEqualTo(Boolean value) { + addCriterion("order_origin <=", value, "orderOrigin"); + return (Criteria) this; + } + + public Criteria andOrderOriginIn(List values) { + addCriterion("order_origin in", values, "orderOrigin"); + return (Criteria) this; + } + + public Criteria andOrderOriginNotIn(List values) { + addCriterion("order_origin not in", values, "orderOrigin"); + return (Criteria) this; + } + + public Criteria andOrderOriginBetween(Boolean value1, Boolean value2) { + addCriterion("order_origin between", value1, value2, "orderOrigin"); + return (Criteria) this; + } + + public Criteria andOrderOriginNotBetween(Boolean value1, Boolean value2) { + addCriterion("order_origin not between", value1, value2, "orderOrigin"); + return (Criteria) this; + } + + public Criteria andDeliveryIdIsNull() { + addCriterion("delivery_id is null"); + return (Criteria) this; + } + + public Criteria andDeliveryIdIsNotNull() { + addCriterion("delivery_id is not null"); + return (Criteria) this; + } + + public Criteria andDeliveryIdEqualTo(Integer value) { + addCriterion("delivery_id =", value, "deliveryId"); + return (Criteria) this; + } + + public Criteria andDeliveryIdNotEqualTo(Integer value) { + addCriterion("delivery_id <>", value, "deliveryId"); + return (Criteria) this; + } + + public Criteria andDeliveryIdGreaterThan(Integer value) { + addCriterion("delivery_id >", value, "deliveryId"); + return (Criteria) this; + } + + public Criteria andDeliveryIdGreaterThanOrEqualTo(Integer value) { + addCriterion("delivery_id >=", value, "deliveryId"); + return (Criteria) this; + } + + public Criteria andDeliveryIdLessThan(Integer value) { + addCriterion("delivery_id <", value, "deliveryId"); + return (Criteria) this; + } + + public Criteria andDeliveryIdLessThanOrEqualTo(Integer value) { + addCriterion("delivery_id <=", value, "deliveryId"); + return (Criteria) this; + } + + public Criteria andDeliveryIdIn(List values) { + addCriterion("delivery_id in", values, "deliveryId"); + return (Criteria) this; + } + + public Criteria andDeliveryIdNotIn(List values) { + addCriterion("delivery_id not in", values, "deliveryId"); + return (Criteria) this; + } + + public Criteria andDeliveryIdBetween(Integer value1, Integer value2) { + addCriterion("delivery_id between", value1, value2, "deliveryId"); + return (Criteria) this; + } + + public Criteria andDeliveryIdNotBetween(Integer value1, Integer value2) { + addCriterion("delivery_id not between", value1, value2, "deliveryId"); + return (Criteria) this; + } + + public Criteria andDeliveryStatusIsNull() { + addCriterion("delivery_status is null"); + return (Criteria) this; + } + + public Criteria andDeliveryStatusIsNotNull() { + addCriterion("delivery_status is not null"); + return (Criteria) this; + } + + public Criteria andDeliveryStatusEqualTo(Boolean value) { + addCriterion("delivery_status =", value, "deliveryStatus"); + return (Criteria) this; + } + + public Criteria andDeliveryStatusNotEqualTo(Boolean value) { + addCriterion("delivery_status <>", value, "deliveryStatus"); + return (Criteria) this; + } + + public Criteria andDeliveryStatusGreaterThan(Boolean value) { + addCriterion("delivery_status >", value, "deliveryStatus"); + return (Criteria) this; + } + + public Criteria andDeliveryStatusGreaterThanOrEqualTo(Boolean value) { + addCriterion("delivery_status >=", value, "deliveryStatus"); + return (Criteria) this; + } + + public Criteria andDeliveryStatusLessThan(Boolean value) { + addCriterion("delivery_status <", value, "deliveryStatus"); + return (Criteria) this; + } + + public Criteria andDeliveryStatusLessThanOrEqualTo(Boolean value) { + addCriterion("delivery_status <=", value, "deliveryStatus"); + return (Criteria) this; + } + + public Criteria andDeliveryStatusIn(List values) { + addCriterion("delivery_status in", values, "deliveryStatus"); + return (Criteria) this; + } + + public Criteria andDeliveryStatusNotIn(List values) { + addCriterion("delivery_status not in", values, "deliveryStatus"); + return (Criteria) this; + } + + public Criteria andDeliveryStatusBetween(Boolean value1, Boolean value2) { + addCriterion("delivery_status between", value1, value2, "deliveryStatus"); + return (Criteria) this; + } + + public Criteria andDeliveryStatusNotBetween(Boolean value1, Boolean value2) { + addCriterion("delivery_status not between", value1, value2, "deliveryStatus"); + return (Criteria) this; + } + + public Criteria andFyStatusIsNull() { + addCriterion("fy_status is null"); + return (Criteria) this; + } + + public Criteria andFyStatusIsNotNull() { + addCriterion("fy_status is not null"); + return (Criteria) this; + } + + public Criteria andFyStatusEqualTo(Boolean value) { + addCriterion("fy_status =", value, "fyStatus"); + return (Criteria) this; + } + + public Criteria andFyStatusNotEqualTo(Boolean value) { + addCriterion("fy_status <>", value, "fyStatus"); + return (Criteria) this; + } + + public Criteria andFyStatusGreaterThan(Boolean value) { + addCriterion("fy_status >", value, "fyStatus"); + return (Criteria) this; + } + + public Criteria andFyStatusGreaterThanOrEqualTo(Boolean value) { + addCriterion("fy_status >=", value, "fyStatus"); + return (Criteria) this; + } + + public Criteria andFyStatusLessThan(Boolean value) { + addCriterion("fy_status <", value, "fyStatus"); + return (Criteria) this; + } + + public Criteria andFyStatusLessThanOrEqualTo(Boolean value) { + addCriterion("fy_status <=", value, "fyStatus"); + return (Criteria) this; + } + + public Criteria andFyStatusIn(List values) { + addCriterion("fy_status in", values, "fyStatus"); + return (Criteria) this; + } + + public Criteria andFyStatusNotIn(List values) { + addCriterion("fy_status not in", values, "fyStatus"); + return (Criteria) this; + } + + public Criteria andFyStatusBetween(Boolean value1, Boolean value2) { + addCriterion("fy_status between", value1, value2, "fyStatus"); + return (Criteria) this; + } + + public Criteria andFyStatusNotBetween(Boolean value1, Boolean value2) { + addCriterion("fy_status not between", value1, value2, "fyStatus"); + return (Criteria) this; + } + + public Criteria andFyjineIsNull() { + addCriterion("fyjine is null"); + return (Criteria) this; + } + + public Criteria andFyjineIsNotNull() { + addCriterion("fyjine is not null"); + return (Criteria) this; + } + + public Criteria andFyjineEqualTo(BigDecimal value) { + addCriterion("fyjine =", value, "fyjine"); + return (Criteria) this; + } + + public Criteria andFyjineNotEqualTo(BigDecimal value) { + addCriterion("fyjine <>", value, "fyjine"); + return (Criteria) this; + } + + public Criteria andFyjineGreaterThan(BigDecimal value) { + addCriterion("fyjine >", value, "fyjine"); + return (Criteria) this; + } + + public Criteria andFyjineGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("fyjine >=", value, "fyjine"); + return (Criteria) this; + } + + public Criteria andFyjineLessThan(BigDecimal value) { + addCriterion("fyjine <", value, "fyjine"); + return (Criteria) this; + } + + public Criteria andFyjineLessThanOrEqualTo(BigDecimal value) { + addCriterion("fyjine <=", value, "fyjine"); + return (Criteria) this; + } + + public Criteria andFyjineIn(List values) { + addCriterion("fyjine in", values, "fyjine"); + return (Criteria) this; + } + + public Criteria andFyjineNotIn(List values) { + addCriterion("fyjine not in", values, "fyjine"); + return (Criteria) this; + } + + public Criteria andFyjineBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("fyjine between", value1, value2, "fyjine"); + return (Criteria) this; + } + + public Criteria andFyjineNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("fyjine not between", value1, value2, "fyjine"); + return (Criteria) this; + } + + public Criteria andFysingleIsNull() { + addCriterion("fysingle is null"); + return (Criteria) this; + } + + public Criteria andFysingleIsNotNull() { + addCriterion("fysingle is not null"); + return (Criteria) this; + } + + public Criteria andFysingleEqualTo(BigDecimal value) { + addCriterion("fysingle =", value, "fysingle"); + return (Criteria) this; + } + + public Criteria andFysingleNotEqualTo(BigDecimal value) { + addCriterion("fysingle <>", value, "fysingle"); + return (Criteria) this; + } + + public Criteria andFysingleGreaterThan(BigDecimal value) { + addCriterion("fysingle >", value, "fysingle"); + return (Criteria) this; + } + + public Criteria andFysingleGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("fysingle >=", value, "fysingle"); + return (Criteria) this; + } + + public Criteria andFysingleLessThan(BigDecimal value) { + addCriterion("fysingle <", value, "fysingle"); + return (Criteria) this; + } + + public Criteria andFysingleLessThanOrEqualTo(BigDecimal value) { + addCriterion("fysingle <=", value, "fysingle"); + return (Criteria) this; + } + + public Criteria andFysingleIn(List values) { + addCriterion("fysingle in", values, "fysingle"); + return (Criteria) this; + } + + public Criteria andFysingleNotIn(List values) { + addCriterion("fysingle not in", values, "fysingle"); + return (Criteria) this; + } + + public Criteria andFysingleBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("fysingle between", value1, value2, "fysingle"); + return (Criteria) this; + } + + public Criteria andFysingleNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("fysingle not between", value1, value2, "fysingle"); + return (Criteria) this; + } + + public Criteria andMchFyjineIsNull() { + addCriterion("mch_fyjine is null"); + return (Criteria) this; + } + + public Criteria andMchFyjineIsNotNull() { + addCriterion("mch_fyjine is not null"); + return (Criteria) this; + } + + public Criteria andMchFyjineEqualTo(BigDecimal value) { + addCriterion("mch_fyjine =", value, "mchFyjine"); + return (Criteria) this; + } + + public Criteria andMchFyjineNotEqualTo(BigDecimal value) { + addCriterion("mch_fyjine <>", value, "mchFyjine"); + return (Criteria) this; + } + + public Criteria andMchFyjineGreaterThan(BigDecimal value) { + addCriterion("mch_fyjine >", value, "mchFyjine"); + return (Criteria) this; + } + + public Criteria andMchFyjineGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("mch_fyjine >=", value, "mchFyjine"); + return (Criteria) this; + } + + public Criteria andMchFyjineLessThan(BigDecimal value) { + addCriterion("mch_fyjine <", value, "mchFyjine"); + return (Criteria) this; + } + + public Criteria andMchFyjineLessThanOrEqualTo(BigDecimal value) { + addCriterion("mch_fyjine <=", value, "mchFyjine"); + return (Criteria) this; + } + + public Criteria andMchFyjineIn(List values) { + addCriterion("mch_fyjine in", values, "mchFyjine"); + return (Criteria) this; + } + + public Criteria andMchFyjineNotIn(List values) { + addCriterion("mch_fyjine not in", values, "mchFyjine"); + return (Criteria) this; + } + + public Criteria andMchFyjineBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("mch_fyjine between", value1, value2, "mchFyjine"); + return (Criteria) this; + } + + public Criteria andMchFyjineNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("mch_fyjine not between", value1, value2, "mchFyjine"); + return (Criteria) this; + } + + public Criteria andMchFysingleIsNull() { + addCriterion("mch_fysingle is null"); + return (Criteria) this; + } + + public Criteria andMchFysingleIsNotNull() { + addCriterion("mch_fysingle is not null"); + return (Criteria) this; + } + + public Criteria andMchFysingleEqualTo(BigDecimal value) { + addCriterion("mch_fysingle =", value, "mchFysingle"); + return (Criteria) this; + } + + public Criteria andMchFysingleNotEqualTo(BigDecimal value) { + addCriterion("mch_fysingle <>", value, "mchFysingle"); + return (Criteria) this; + } + + public Criteria andMchFysingleGreaterThan(BigDecimal value) { + addCriterion("mch_fysingle >", value, "mchFysingle"); + return (Criteria) this; + } + + public Criteria andMchFysingleGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("mch_fysingle >=", value, "mchFysingle"); + return (Criteria) this; + } + + public Criteria andMchFysingleLessThan(BigDecimal value) { + addCriterion("mch_fysingle <", value, "mchFysingle"); + return (Criteria) this; + } + + public Criteria andMchFysingleLessThanOrEqualTo(BigDecimal value) { + addCriterion("mch_fysingle <=", value, "mchFysingle"); + return (Criteria) this; + } + + public Criteria andMchFysingleIn(List values) { + addCriterion("mch_fysingle in", values, "mchFysingle"); + return (Criteria) this; + } + + public Criteria andMchFysingleNotIn(List values) { + addCriterion("mch_fysingle not in", values, "mchFysingle"); + return (Criteria) this; + } + + public Criteria andMchFysingleBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("mch_fysingle between", value1, value2, "mchFysingle"); + return (Criteria) this; + } + + public Criteria andMchFysingleNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("mch_fysingle not between", value1, value2, "mchFysingle"); + return (Criteria) this; + } + + public Criteria andIsFanIsNull() { + addCriterion("is_fan is null"); + return (Criteria) this; + } + + public Criteria andIsFanIsNotNull() { + addCriterion("is_fan is not null"); + return (Criteria) this; + } + + public Criteria andIsFanEqualTo(Boolean value) { + addCriterion("is_fan =", value, "isFan"); + return (Criteria) this; + } + + public Criteria andIsFanNotEqualTo(Boolean value) { + addCriterion("is_fan <>", value, "isFan"); + return (Criteria) this; + } + + public Criteria andIsFanGreaterThan(Boolean value) { + addCriterion("is_fan >", value, "isFan"); + return (Criteria) this; + } + + public Criteria andIsFanGreaterThanOrEqualTo(Boolean value) { + addCriterion("is_fan >=", value, "isFan"); + return (Criteria) this; + } + + public Criteria andIsFanLessThan(Boolean value) { + addCriterion("is_fan <", value, "isFan"); + return (Criteria) this; + } + + public Criteria andIsFanLessThanOrEqualTo(Boolean value) { + addCriterion("is_fan <=", value, "isFan"); + return (Criteria) this; + } + + public Criteria andIsFanIn(List values) { + addCriterion("is_fan in", values, "isFan"); + return (Criteria) this; + } + + public Criteria andIsFanNotIn(List values) { + addCriterion("is_fan not in", values, "isFan"); + return (Criteria) this; + } + + public Criteria andIsFanBetween(Boolean value1, Boolean value2) { + addCriterion("is_fan between", value1, value2, "isFan"); + return (Criteria) this; + } + + public Criteria andIsFanNotBetween(Boolean value1, Boolean value2) { + addCriterion("is_fan not between", value1, value2, "isFan"); + return (Criteria) this; + } + + public Criteria andIsDadaIsNull() { + addCriterion("is_dada is null"); + return (Criteria) this; + } + + public Criteria andIsDadaIsNotNull() { + addCriterion("is_dada is not null"); + return (Criteria) this; + } + + public Criteria andIsDadaEqualTo(Boolean value) { + addCriterion("is_dada =", value, "isDada"); + return (Criteria) this; + } + + public Criteria andIsDadaNotEqualTo(Boolean value) { + addCriterion("is_dada <>", value, "isDada"); + return (Criteria) this; + } + + public Criteria andIsDadaGreaterThan(Boolean value) { + addCriterion("is_dada >", value, "isDada"); + return (Criteria) this; + } + + public Criteria andIsDadaGreaterThanOrEqualTo(Boolean value) { + addCriterion("is_dada >=", value, "isDada"); + return (Criteria) this; + } + + public Criteria andIsDadaLessThan(Boolean value) { + addCriterion("is_dada <", value, "isDada"); + return (Criteria) this; + } + + public Criteria andIsDadaLessThanOrEqualTo(Boolean value) { + addCriterion("is_dada <=", value, "isDada"); + return (Criteria) this; + } + + public Criteria andIsDadaIn(List values) { + addCriterion("is_dada in", values, "isDada"); + return (Criteria) this; + } + + public Criteria andIsDadaNotIn(List values) { + addCriterion("is_dada not in", values, "isDada"); + return (Criteria) this; + } + + public Criteria andIsDadaBetween(Boolean value1, Boolean value2) { + addCriterion("is_dada between", value1, value2, "isDada"); + return (Criteria) this; + } + + public Criteria andIsDadaNotBetween(Boolean value1, Boolean value2) { + addCriterion("is_dada not between", value1, value2, "isDada"); + return (Criteria) this; + } + + public Criteria andShopPeisongIsNull() { + addCriterion("shop_peisong is null"); + return (Criteria) this; + } + + public Criteria andShopPeisongIsNotNull() { + addCriterion("shop_peisong is not null"); + return (Criteria) this; + } + + public Criteria andShopPeisongEqualTo(Integer value) { + addCriterion("shop_peisong =", value, "shopPeisong"); + return (Criteria) this; + } + + public Criteria andShopPeisongNotEqualTo(Integer value) { + addCriterion("shop_peisong <>", value, "shopPeisong"); + return (Criteria) this; + } + + public Criteria andShopPeisongGreaterThan(Integer value) { + addCriterion("shop_peisong >", value, "shopPeisong"); + return (Criteria) this; + } + + public Criteria andShopPeisongGreaterThanOrEqualTo(Integer value) { + addCriterion("shop_peisong >=", value, "shopPeisong"); + return (Criteria) this; + } + + public Criteria andShopPeisongLessThan(Integer value) { + addCriterion("shop_peisong <", value, "shopPeisong"); + return (Criteria) this; + } + + public Criteria andShopPeisongLessThanOrEqualTo(Integer value) { + addCriterion("shop_peisong <=", value, "shopPeisong"); + return (Criteria) this; + } + + public Criteria andShopPeisongIn(List values) { + addCriterion("shop_peisong in", values, "shopPeisong"); + return (Criteria) this; + } + + public Criteria andShopPeisongNotIn(List values) { + addCriterion("shop_peisong not in", values, "shopPeisong"); + return (Criteria) this; + } + + public Criteria andShopPeisongBetween(Integer value1, Integer value2) { + addCriterion("shop_peisong between", value1, value2, "shopPeisong"); + return (Criteria) this; + } + + public Criteria andShopPeisongNotBetween(Integer value1, Integer value2) { + addCriterion("shop_peisong not between", value1, value2, "shopPeisong"); + return (Criteria) this; + } + + public Criteria andIsOpenOfflineIsNull() { + addCriterion("is_open_offline is null"); + return (Criteria) this; + } + + public Criteria andIsOpenOfflineIsNotNull() { + addCriterion("is_open_offline is not null"); + return (Criteria) this; + } + + public Criteria andIsOpenOfflineEqualTo(Boolean value) { + addCriterion("is_open_offline =", value, "isOpenOffline"); + return (Criteria) this; + } + + public Criteria andIsOpenOfflineNotEqualTo(Boolean value) { + addCriterion("is_open_offline <>", value, "isOpenOffline"); + return (Criteria) this; + } + + public Criteria andIsOpenOfflineGreaterThan(Boolean value) { + addCriterion("is_open_offline >", value, "isOpenOffline"); + return (Criteria) this; + } + + public Criteria andIsOpenOfflineGreaterThanOrEqualTo(Boolean value) { + addCriterion("is_open_offline >=", value, "isOpenOffline"); + return (Criteria) this; + } + + public Criteria andIsOpenOfflineLessThan(Boolean value) { + addCriterion("is_open_offline <", value, "isOpenOffline"); + return (Criteria) this; + } + + public Criteria andIsOpenOfflineLessThanOrEqualTo(Boolean value) { + addCriterion("is_open_offline <=", value, "isOpenOffline"); + return (Criteria) this; + } + + public Criteria andIsOpenOfflineIn(List values) { + addCriterion("is_open_offline in", values, "isOpenOffline"); + return (Criteria) this; + } + + public Criteria andIsOpenOfflineNotIn(List values) { + addCriterion("is_open_offline not in", values, "isOpenOffline"); + return (Criteria) this; + } + + public Criteria andIsOpenOfflineBetween(Boolean value1, Boolean value2) { + addCriterion("is_open_offline between", value1, value2, "isOpenOffline"); + return (Criteria) this; + } + + public Criteria andIsOpenOfflineNotBetween(Boolean value1, Boolean value2) { + addCriterion("is_open_offline not between", value1, value2, "isOpenOffline"); + return (Criteria) this; + } + + public Criteria andSupplierIdIsNull() { + addCriterion("supplier_id is null"); + return (Criteria) this; + } + + public Criteria andSupplierIdIsNotNull() { + addCriterion("supplier_id is not null"); + return (Criteria) this; + } + + public Criteria andSupplierIdEqualTo(Integer value) { + addCriterion("supplier_id =", value, "supplierId"); + return (Criteria) this; + } + + public Criteria andSupplierIdNotEqualTo(Integer value) { + addCriterion("supplier_id <>", value, "supplierId"); + return (Criteria) this; + } + + public Criteria andSupplierIdGreaterThan(Integer value) { + addCriterion("supplier_id >", value, "supplierId"); + return (Criteria) this; + } + + public Criteria andSupplierIdGreaterThanOrEqualTo(Integer value) { + addCriterion("supplier_id >=", value, "supplierId"); + return (Criteria) this; + } + + public Criteria andSupplierIdLessThan(Integer value) { + addCriterion("supplier_id <", value, "supplierId"); + return (Criteria) this; + } + + public Criteria andSupplierIdLessThanOrEqualTo(Integer value) { + addCriterion("supplier_id <=", value, "supplierId"); + return (Criteria) this; + } + + public Criteria andSupplierIdIn(List values) { + addCriterion("supplier_id in", values, "supplierId"); + return (Criteria) this; + } + + public Criteria andSupplierIdNotIn(List values) { + addCriterion("supplier_id not in", values, "supplierId"); + return (Criteria) this; + } + + public Criteria andSupplierIdBetween(Integer value1, Integer value2) { + addCriterion("supplier_id between", value1, value2, "supplierId"); + return (Criteria) this; + } + + public Criteria andSupplierIdNotBetween(Integer value1, Integer value2) { + addCriterion("supplier_id not between", value1, value2, "supplierId"); + return (Criteria) this; + } + + public Criteria andIsSupTransferIsNull() { + addCriterion("is_sup_transfer is null"); + return (Criteria) this; + } + + public Criteria andIsSupTransferIsNotNull() { + addCriterion("is_sup_transfer is not null"); + return (Criteria) this; + } + + public Criteria andIsSupTransferEqualTo(Boolean value) { + addCriterion("is_sup_transfer =", value, "isSupTransfer"); + return (Criteria) this; + } + + public Criteria andIsSupTransferNotEqualTo(Boolean value) { + addCriterion("is_sup_transfer <>", value, "isSupTransfer"); + return (Criteria) this; + } + + public Criteria andIsSupTransferGreaterThan(Boolean value) { + addCriterion("is_sup_transfer >", value, "isSupTransfer"); + return (Criteria) this; + } + + public Criteria andIsSupTransferGreaterThanOrEqualTo(Boolean value) { + addCriterion("is_sup_transfer >=", value, "isSupTransfer"); + return (Criteria) this; + } + + public Criteria andIsSupTransferLessThan(Boolean value) { + addCriterion("is_sup_transfer <", value, "isSupTransfer"); + return (Criteria) this; + } + + public Criteria andIsSupTransferLessThanOrEqualTo(Boolean value) { + addCriterion("is_sup_transfer <=", value, "isSupTransfer"); + return (Criteria) this; + } + + public Criteria andIsSupTransferIn(List values) { + addCriterion("is_sup_transfer in", values, "isSupTransfer"); + return (Criteria) this; + } + + public Criteria andIsSupTransferNotIn(List values) { + addCriterion("is_sup_transfer not in", values, "isSupTransfer"); + return (Criteria) this; + } + + public Criteria andIsSupTransferBetween(Boolean value1, Boolean value2) { + addCriterion("is_sup_transfer between", value1, value2, "isSupTransfer"); + return (Criteria) this; + } + + public Criteria andIsSupTransferNotBetween(Boolean value1, Boolean value2) { + addCriterion("is_sup_transfer not between", value1, value2, "isSupTransfer"); + return (Criteria) this; + } + + public Criteria andDabaoPriceIsNull() { + addCriterion("dabao_price is null"); + return (Criteria) this; + } + + public Criteria andDabaoPriceIsNotNull() { + addCriterion("dabao_price is not null"); + return (Criteria) this; + } + + public Criteria andDabaoPriceEqualTo(BigDecimal value) { + addCriterion("dabao_price =", value, "dabaoPrice"); + return (Criteria) this; + } + + public Criteria andDabaoPriceNotEqualTo(BigDecimal value) { + addCriterion("dabao_price <>", value, "dabaoPrice"); + return (Criteria) this; + } + + public Criteria andDabaoPriceGreaterThan(BigDecimal value) { + addCriterion("dabao_price >", value, "dabaoPrice"); + return (Criteria) this; + } + + public Criteria andDabaoPriceGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("dabao_price >=", value, "dabaoPrice"); + return (Criteria) this; + } + + public Criteria andDabaoPriceLessThan(BigDecimal value) { + addCriterion("dabao_price <", value, "dabaoPrice"); + return (Criteria) this; + } + + public Criteria andDabaoPriceLessThanOrEqualTo(BigDecimal value) { + addCriterion("dabao_price <=", value, "dabaoPrice"); + return (Criteria) this; + } + + public Criteria andDabaoPriceIn(List values) { + addCriterion("dabao_price in", values, "dabaoPrice"); + return (Criteria) this; + } + + public Criteria andDabaoPriceNotIn(List values) { + addCriterion("dabao_price not in", values, "dabaoPrice"); + return (Criteria) this; + } + + public Criteria andDabaoPriceBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("dabao_price between", value1, value2, "dabaoPrice"); + return (Criteria) this; + } + + public Criteria andDabaoPriceNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("dabao_price not between", value1, value2, "dabaoPrice"); + return (Criteria) this; + } + + public Criteria andSettlementAmountIsNull() { + addCriterion("settlement_amount is null"); + return (Criteria) this; + } + + public Criteria andSettlementAmountIsNotNull() { + addCriterion("settlement_amount is not null"); + return (Criteria) this; + } + + public Criteria andSettlementAmountEqualTo(BigDecimal value) { + addCriterion("settlement_amount =", value, "settlementAmount"); + return (Criteria) this; + } + + public Criteria andSettlementAmountNotEqualTo(BigDecimal value) { + addCriterion("settlement_amount <>", value, "settlementAmount"); + return (Criteria) this; + } + + public Criteria andSettlementAmountGreaterThan(BigDecimal value) { + addCriterion("settlement_amount >", value, "settlementAmount"); + return (Criteria) this; + } + + public Criteria andSettlementAmountGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("settlement_amount >=", value, "settlementAmount"); + return (Criteria) this; + } + + public Criteria andSettlementAmountLessThan(BigDecimal value) { + addCriterion("settlement_amount <", value, "settlementAmount"); + return (Criteria) this; + } + + public Criteria andSettlementAmountLessThanOrEqualTo(BigDecimal value) { + addCriterion("settlement_amount <=", value, "settlementAmount"); + return (Criteria) this; + } + + public Criteria andSettlementAmountIn(List values) { + addCriterion("settlement_amount in", values, "settlementAmount"); + return (Criteria) this; + } + + public Criteria andSettlementAmountNotIn(List values) { + addCriterion("settlement_amount not in", values, "settlementAmount"); + return (Criteria) this; + } + + public Criteria andSettlementAmountBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("settlement_amount between", value1, value2, "settlementAmount"); + return (Criteria) this; + } + + public Criteria andSettlementAmountNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("settlement_amount not between", value1, value2, "settlementAmount"); + return (Criteria) this; + } + + public Criteria andIsSettlementIsNull() { + addCriterion("is_settlement is null"); + return (Criteria) this; + } + + public Criteria andIsSettlementIsNotNull() { + addCriterion("is_settlement is not null"); + return (Criteria) this; + } + + public Criteria andIsSettlementEqualTo(Short value) { + addCriterion("is_settlement =", value, "isSettlement"); + return (Criteria) this; + } + + public Criteria andIsSettlementNotEqualTo(Short value) { + addCriterion("is_settlement <>", value, "isSettlement"); + return (Criteria) this; + } + + public Criteria andIsSettlementGreaterThan(Short value) { + addCriterion("is_settlement >", value, "isSettlement"); + return (Criteria) this; + } + + public Criteria andIsSettlementGreaterThanOrEqualTo(Short value) { + addCriterion("is_settlement >=", value, "isSettlement"); + return (Criteria) this; + } + + public Criteria andIsSettlementLessThan(Short value) { + addCriterion("is_settlement <", value, "isSettlement"); + return (Criteria) this; + } + + public Criteria andIsSettlementLessThanOrEqualTo(Short value) { + addCriterion("is_settlement <=", value, "isSettlement"); + return (Criteria) this; + } + + public Criteria andIsSettlementIn(List values) { + addCriterion("is_settlement in", values, "isSettlement"); + return (Criteria) this; + } + + public Criteria andIsSettlementNotIn(List values) { + addCriterion("is_settlement not in", values, "isSettlement"); + return (Criteria) this; + } + + public Criteria andIsSettlementBetween(Short value1, Short value2) { + addCriterion("is_settlement between", value1, value2, "isSettlement"); + return (Criteria) this; + } + + public Criteria andIsSettlementNotBetween(Short value1, Short value2) { + addCriterion("is_settlement not between", value1, value2, "isSettlement"); + return (Criteria) this; + } + + public Criteria andSettlementTimeIsNull() { + addCriterion("settlement_time is null"); + return (Criteria) this; + } + + public Criteria andSettlementTimeIsNotNull() { + addCriterion("settlement_time is not null"); + return (Criteria) this; + } + + public Criteria andSettlementTimeEqualTo(Integer value) { + addCriterion("settlement_time =", value, "settlementTime"); + return (Criteria) this; + } + + public Criteria andSettlementTimeNotEqualTo(Integer value) { + addCriterion("settlement_time <>", value, "settlementTime"); + return (Criteria) this; + } + + public Criteria andSettlementTimeGreaterThan(Integer value) { + addCriterion("settlement_time >", value, "settlementTime"); + return (Criteria) this; + } + + public Criteria andSettlementTimeGreaterThanOrEqualTo(Integer value) { + addCriterion("settlement_time >=", value, "settlementTime"); + return (Criteria) this; + } + + public Criteria andSettlementTimeLessThan(Integer value) { + addCriterion("settlement_time <", value, "settlementTime"); + return (Criteria) this; + } + + public Criteria andSettlementTimeLessThanOrEqualTo(Integer value) { + addCriterion("settlement_time <=", value, "settlementTime"); + return (Criteria) this; + } + + public Criteria andSettlementTimeIn(List values) { + addCriterion("settlement_time in", values, "settlementTime"); + return (Criteria) this; + } + + public Criteria andSettlementTimeNotIn(List values) { + addCriterion("settlement_time not in", values, "settlementTime"); + return (Criteria) this; + } + + public Criteria andSettlementTimeBetween(Integer value1, Integer value2) { + addCriterion("settlement_time between", value1, value2, "settlementTime"); + return (Criteria) this; + } + + public Criteria andSettlementTimeNotBetween(Integer value1, Integer value2) { + addCriterion("settlement_time not between", value1, value2, "settlementTime"); + return (Criteria) this; + } + + public Criteria andIsMchShopIsNull() { + addCriterion("is_mch_shop is null"); + return (Criteria) this; + } + + public Criteria andIsMchShopIsNotNull() { + addCriterion("is_mch_shop is not null"); + return (Criteria) this; + } + + public Criteria andIsMchShopEqualTo(Boolean value) { + addCriterion("is_mch_shop =", value, "isMchShop"); + return (Criteria) this; + } + + public Criteria andIsMchShopNotEqualTo(Boolean value) { + addCriterion("is_mch_shop <>", value, "isMchShop"); + return (Criteria) this; + } + + public Criteria andIsMchShopGreaterThan(Boolean value) { + addCriterion("is_mch_shop >", value, "isMchShop"); + return (Criteria) this; + } + + public Criteria andIsMchShopGreaterThanOrEqualTo(Boolean value) { + addCriterion("is_mch_shop >=", value, "isMchShop"); + return (Criteria) this; + } + + public Criteria andIsMchShopLessThan(Boolean value) { + addCriterion("is_mch_shop <", value, "isMchShop"); + return (Criteria) this; + } + + public Criteria andIsMchShopLessThanOrEqualTo(Boolean value) { + addCriterion("is_mch_shop <=", value, "isMchShop"); + return (Criteria) this; + } + + public Criteria andIsMchShopIn(List values) { + addCriterion("is_mch_shop in", values, "isMchShop"); + return (Criteria) this; + } + + public Criteria andIsMchShopNotIn(List values) { + addCriterion("is_mch_shop not in", values, "isMchShop"); + return (Criteria) this; + } + + public Criteria andIsMchShopBetween(Boolean value1, Boolean value2) { + addCriterion("is_mch_shop between", value1, value2, "isMchShop"); + return (Criteria) this; + } + + public Criteria andIsMchShopNotBetween(Boolean value1, Boolean value2) { + addCriterion("is_mch_shop not between", value1, value2, "isMchShop"); + return (Criteria) this; + } + + public Criteria andIsDivideMoneyIsNull() { + addCriterion("is_divide_money is null"); + return (Criteria) this; + } + + public Criteria andIsDivideMoneyIsNotNull() { + addCriterion("is_divide_money is not null"); + return (Criteria) this; + } + + public Criteria andIsDivideMoneyEqualTo(Boolean value) { + addCriterion("is_divide_money =", value, "isDivideMoney"); + return (Criteria) this; + } + + public Criteria andIsDivideMoneyNotEqualTo(Boolean value) { + addCriterion("is_divide_money <>", value, "isDivideMoney"); + return (Criteria) this; + } + + public Criteria andIsDivideMoneyGreaterThan(Boolean value) { + addCriterion("is_divide_money >", value, "isDivideMoney"); + return (Criteria) this; + } + + public Criteria andIsDivideMoneyGreaterThanOrEqualTo(Boolean value) { + addCriterion("is_divide_money >=", value, "isDivideMoney"); + return (Criteria) this; + } + + public Criteria andIsDivideMoneyLessThan(Boolean value) { + addCriterion("is_divide_money <", value, "isDivideMoney"); + return (Criteria) this; + } + + public Criteria andIsDivideMoneyLessThanOrEqualTo(Boolean value) { + addCriterion("is_divide_money <=", value, "isDivideMoney"); + return (Criteria) this; + } + + public Criteria andIsDivideMoneyIn(List values) { + addCriterion("is_divide_money in", values, "isDivideMoney"); + return (Criteria) this; + } + + public Criteria andIsDivideMoneyNotIn(List values) { + addCriterion("is_divide_money not in", values, "isDivideMoney"); + return (Criteria) this; + } + + public Criteria andIsDivideMoneyBetween(Boolean value1, Boolean value2) { + addCriterion("is_divide_money between", value1, value2, "isDivideMoney"); + return (Criteria) this; + } + + public Criteria andIsDivideMoneyNotBetween(Boolean value1, Boolean value2) { + addCriterion("is_divide_money not between", value1, value2, "isDivideMoney"); + return (Criteria) this; + } + + public Criteria andTransactionIdIsNull() { + addCriterion("transaction_id is null"); + return (Criteria) this; + } + + public Criteria andTransactionIdIsNotNull() { + addCriterion("transaction_id is not null"); + return (Criteria) this; + } + + public Criteria andTransactionIdEqualTo(String value) { + addCriterion("transaction_id =", value, "transactionId"); + return (Criteria) this; + } + + public Criteria andTransactionIdNotEqualTo(String value) { + addCriterion("transaction_id <>", value, "transactionId"); + return (Criteria) this; + } + + public Criteria andTransactionIdGreaterThan(String value) { + addCriterion("transaction_id >", value, "transactionId"); + return (Criteria) this; + } + + public Criteria andTransactionIdGreaterThanOrEqualTo(String value) { + addCriterion("transaction_id >=", value, "transactionId"); + return (Criteria) this; + } + + public Criteria andTransactionIdLessThan(String value) { + addCriterion("transaction_id <", value, "transactionId"); + return (Criteria) this; + } + + public Criteria andTransactionIdLessThanOrEqualTo(String value) { + addCriterion("transaction_id <=", value, "transactionId"); + return (Criteria) this; + } + + public Criteria andTransactionIdLike(String value) { + addCriterion("transaction_id like", value, "transactionId"); + return (Criteria) this; + } + + public Criteria andTransactionIdNotLike(String value) { + addCriterion("transaction_id not like", value, "transactionId"); + return (Criteria) this; + } + + public Criteria andTransactionIdIn(List values) { + addCriterion("transaction_id in", values, "transactionId"); + return (Criteria) this; + } + + public Criteria andTransactionIdNotIn(List values) { + addCriterion("transaction_id not in", values, "transactionId"); + return (Criteria) this; + } + + public Criteria andTransactionIdBetween(String value1, String value2) { + addCriterion("transaction_id between", value1, value2, "transactionId"); + return (Criteria) this; + } + + public Criteria andTransactionIdNotBetween(String value1, String value2) { + addCriterion("transaction_id not between", value1, value2, "transactionId"); + return (Criteria) this; + } + + public Criteria andPayUserIdIsNull() { + addCriterion("pay_user_id is null"); + return (Criteria) this; + } + + public Criteria andPayUserIdIsNotNull() { + addCriterion("pay_user_id is not null"); + return (Criteria) this; + } + + public Criteria andPayUserIdEqualTo(Integer value) { + addCriterion("pay_user_id =", value, "payUserId"); + return (Criteria) this; + } + + public Criteria andPayUserIdNotEqualTo(Integer value) { + addCriterion("pay_user_id <>", value, "payUserId"); + return (Criteria) this; + } + + public Criteria andPayUserIdGreaterThan(Integer value) { + addCriterion("pay_user_id >", value, "payUserId"); + return (Criteria) this; + } + + public Criteria andPayUserIdGreaterThanOrEqualTo(Integer value) { + addCriterion("pay_user_id >=", value, "payUserId"); + return (Criteria) this; + } + + public Criteria andPayUserIdLessThan(Integer value) { + addCriterion("pay_user_id <", value, "payUserId"); + return (Criteria) this; + } + + public Criteria andPayUserIdLessThanOrEqualTo(Integer value) { + addCriterion("pay_user_id <=", value, "payUserId"); + return (Criteria) this; + } + + public Criteria andPayUserIdIn(List values) { + addCriterion("pay_user_id in", values, "payUserId"); + return (Criteria) this; + } + + public Criteria andPayUserIdNotIn(List values) { + addCriterion("pay_user_id not in", values, "payUserId"); + return (Criteria) this; + } + + public Criteria andPayUserIdBetween(Integer value1, Integer value2) { + addCriterion("pay_user_id between", value1, value2, "payUserId"); + return (Criteria) this; + } + + public Criteria andPayUserIdNotBetween(Integer value1, Integer value2) { + addCriterion("pay_user_id not between", value1, value2, "payUserId"); + return (Criteria) this; + } + + public Criteria andPayTypeTrueIsNull() { + addCriterion("pay_type_true is null"); + return (Criteria) this; + } + + public Criteria andPayTypeTrueIsNotNull() { + addCriterion("pay_type_true is not null"); + return (Criteria) this; + } + + public Criteria andPayTypeTrueEqualTo(Boolean value) { + addCriterion("pay_type_true =", value, "payTypeTrue"); + return (Criteria) this; + } + + public Criteria andPayTypeTrueNotEqualTo(Boolean value) { + addCriterion("pay_type_true <>", value, "payTypeTrue"); + return (Criteria) this; + } + + public Criteria andPayTypeTrueGreaterThan(Boolean value) { + addCriterion("pay_type_true >", value, "payTypeTrue"); + return (Criteria) this; + } + + public Criteria andPayTypeTrueGreaterThanOrEqualTo(Boolean value) { + addCriterion("pay_type_true >=", value, "payTypeTrue"); + return (Criteria) this; + } + + public Criteria andPayTypeTrueLessThan(Boolean value) { + addCriterion("pay_type_true <", value, "payTypeTrue"); + return (Criteria) this; + } + + public Criteria andPayTypeTrueLessThanOrEqualTo(Boolean value) { + addCriterion("pay_type_true <=", value, "payTypeTrue"); + return (Criteria) this; + } + + public Criteria andPayTypeTrueIn(List values) { + addCriterion("pay_type_true in", values, "payTypeTrue"); + return (Criteria) this; + } + + public Criteria andPayTypeTrueNotIn(List values) { + addCriterion("pay_type_true not in", values, "payTypeTrue"); + return (Criteria) this; + } + + public Criteria andPayTypeTrueBetween(Boolean value1, Boolean value2) { + addCriterion("pay_type_true between", value1, value2, "payTypeTrue"); + return (Criteria) this; + } + + public Criteria andPayTypeTrueNotBetween(Boolean value1, Boolean value2) { + addCriterion("pay_type_true not between", value1, value2, "payTypeTrue"); + return (Criteria) this; + } + + public Criteria andIsVgoodsIsNull() { + addCriterion("is_vgoods is null"); + return (Criteria) this; + } + + public Criteria andIsVgoodsIsNotNull() { + addCriterion("is_vgoods is not null"); + return (Criteria) this; + } + + public Criteria andIsVgoodsEqualTo(Integer value) { + addCriterion("is_vgoods =", value, "isVgoods"); + return (Criteria) this; + } + + public Criteria andIsVgoodsNotEqualTo(Integer value) { + addCriterion("is_vgoods <>", value, "isVgoods"); + return (Criteria) this; + } + + public Criteria andIsVgoodsGreaterThan(Integer value) { + addCriterion("is_vgoods >", value, "isVgoods"); + return (Criteria) this; + } + + public Criteria andIsVgoodsGreaterThanOrEqualTo(Integer value) { + addCriterion("is_vgoods >=", value, "isVgoods"); + return (Criteria) this; + } + + public Criteria andIsVgoodsLessThan(Integer value) { + addCriterion("is_vgoods <", value, "isVgoods"); + return (Criteria) this; + } + + public Criteria andIsVgoodsLessThanOrEqualTo(Integer value) { + addCriterion("is_vgoods <=", value, "isVgoods"); + return (Criteria) this; + } + + public Criteria andIsVgoodsIn(List values) { + addCriterion("is_vgoods in", values, "isVgoods"); + return (Criteria) this; + } + + public Criteria andIsVgoodsNotIn(List values) { + addCriterion("is_vgoods not in", values, "isVgoods"); + return (Criteria) this; + } + + public Criteria andIsVgoodsBetween(Integer value1, Integer value2) { + addCriterion("is_vgoods between", value1, value2, "isVgoods"); + return (Criteria) this; + } + + public Criteria andIsVgoodsNotBetween(Integer value1, Integer value2) { + addCriterion("is_vgoods not between", value1, value2, "isVgoods"); + return (Criteria) this; + } + + public Criteria andReductionPriceIsNull() { + addCriterion("reduction_price is null"); + return (Criteria) this; + } + + public Criteria andReductionPriceIsNotNull() { + addCriterion("reduction_price is not null"); + return (Criteria) this; + } + + public Criteria andReductionPriceEqualTo(BigDecimal value) { + addCriterion("reduction_price =", value, "reductionPrice"); + return (Criteria) this; + } + + public Criteria andReductionPriceNotEqualTo(BigDecimal value) { + addCriterion("reduction_price <>", value, "reductionPrice"); + return (Criteria) this; + } + + public Criteria andReductionPriceGreaterThan(BigDecimal value) { + addCriterion("reduction_price >", value, "reductionPrice"); + return (Criteria) this; + } + + public Criteria andReductionPriceGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("reduction_price >=", value, "reductionPrice"); + return (Criteria) this; + } + + public Criteria andReductionPriceLessThan(BigDecimal value) { + addCriterion("reduction_price <", value, "reductionPrice"); + return (Criteria) this; + } + + public Criteria andReductionPriceLessThanOrEqualTo(BigDecimal value) { + addCriterion("reduction_price <=", value, "reductionPrice"); + return (Criteria) this; + } + + public Criteria andReductionPriceIn(List values) { + addCriterion("reduction_price in", values, "reductionPrice"); + return (Criteria) this; + } + + public Criteria andReductionPriceNotIn(List values) { + addCriterion("reduction_price not in", values, "reductionPrice"); + return (Criteria) this; + } + + public Criteria andReductionPriceBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("reduction_price between", value1, value2, "reductionPrice"); + return (Criteria) this; + } + + public Criteria andReductionPriceNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("reduction_price not between", value1, value2, "reductionPrice"); + return (Criteria) this; + } + + public Criteria andMinusPriceIsNull() { + addCriterion("minus_price is null"); + return (Criteria) this; + } + + public Criteria andMinusPriceIsNotNull() { + addCriterion("minus_price is not null"); + return (Criteria) this; + } + + public Criteria andMinusPriceEqualTo(BigDecimal value) { + addCriterion("minus_price =", value, "minusPrice"); + return (Criteria) this; + } + + public Criteria andMinusPriceNotEqualTo(BigDecimal value) { + addCriterion("minus_price <>", value, "minusPrice"); + return (Criteria) this; + } + + public Criteria andMinusPriceGreaterThan(BigDecimal value) { + addCriterion("minus_price >", value, "minusPrice"); + return (Criteria) this; + } + + public Criteria andMinusPriceGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("minus_price >=", value, "minusPrice"); + return (Criteria) this; + } + + public Criteria andMinusPriceLessThan(BigDecimal value) { + addCriterion("minus_price <", value, "minusPrice"); + return (Criteria) this; + } + + public Criteria andMinusPriceLessThanOrEqualTo(BigDecimal value) { + addCriterion("minus_price <=", value, "minusPrice"); + return (Criteria) this; + } + + public Criteria andMinusPriceIn(List values) { + addCriterion("minus_price in", values, "minusPrice"); + return (Criteria) this; + } + + public Criteria andMinusPriceNotIn(List values) { + addCriterion("minus_price not in", values, "minusPrice"); + return (Criteria) this; + } + + public Criteria andMinusPriceBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("minus_price between", value1, value2, "minusPrice"); + return (Criteria) this; + } + + public Criteria andMinusPriceNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("minus_price not between", value1, value2, "minusPrice"); + return (Criteria) this; + } + + public Criteria andOrderFromIsNull() { + addCriterion("order_from is null"); + return (Criteria) this; + } + + public Criteria andOrderFromIsNotNull() { + addCriterion("order_from is not null"); + return (Criteria) this; + } + + public Criteria andOrderFromEqualTo(Integer value) { + addCriterion("order_from =", value, "orderFrom"); + return (Criteria) this; + } + + public Criteria andOrderFromNotEqualTo(Integer value) { + addCriterion("order_from <>", value, "orderFrom"); + return (Criteria) this; + } + + public Criteria andOrderFromGreaterThan(Integer value) { + addCriterion("order_from >", value, "orderFrom"); + return (Criteria) this; + } + + public Criteria andOrderFromGreaterThanOrEqualTo(Integer value) { + addCriterion("order_from >=", value, "orderFrom"); + return (Criteria) this; + } + + public Criteria andOrderFromLessThan(Integer value) { + addCriterion("order_from <", value, "orderFrom"); + return (Criteria) this; + } + + public Criteria andOrderFromLessThanOrEqualTo(Integer value) { + addCriterion("order_from <=", value, "orderFrom"); + return (Criteria) this; + } + + public Criteria andOrderFromIn(List values) { + addCriterion("order_from in", values, "orderFrom"); + return (Criteria) this; + } + + public Criteria andOrderFromNotIn(List values) { + addCriterion("order_from not in", values, "orderFrom"); + return (Criteria) this; + } + + public Criteria andOrderFromBetween(Integer value1, Integer value2) { + addCriterion("order_from between", value1, value2, "orderFrom"); + return (Criteria) this; + } + + public Criteria andOrderFromNotBetween(Integer value1, Integer value2) { + addCriterion("order_from not between", value1, value2, "orderFrom"); + return (Criteria) this; + } + + public Criteria andDiscountPriceIsNull() { + addCriterion("discount_price is null"); + return (Criteria) this; + } + + public Criteria andDiscountPriceIsNotNull() { + addCriterion("discount_price is not null"); + return (Criteria) this; + } + + public Criteria andDiscountPriceEqualTo(BigDecimal value) { + addCriterion("discount_price =", value, "discountPrice"); + return (Criteria) this; + } + + public Criteria andDiscountPriceNotEqualTo(BigDecimal value) { + addCriterion("discount_price <>", value, "discountPrice"); + return (Criteria) this; + } + + public Criteria andDiscountPriceGreaterThan(BigDecimal value) { + addCriterion("discount_price >", value, "discountPrice"); + return (Criteria) this; + } + + public Criteria andDiscountPriceGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("discount_price >=", value, "discountPrice"); + return (Criteria) this; + } + + public Criteria andDiscountPriceLessThan(BigDecimal value) { + addCriterion("discount_price <", value, "discountPrice"); + return (Criteria) this; + } + + public Criteria andDiscountPriceLessThanOrEqualTo(BigDecimal value) { + addCriterion("discount_price <=", value, "discountPrice"); + return (Criteria) this; + } + + public Criteria andDiscountPriceIn(List values) { + addCriterion("discount_price in", values, "discountPrice"); + return (Criteria) this; + } + + public Criteria andDiscountPriceNotIn(List values) { + addCriterion("discount_price not in", values, "discountPrice"); + return (Criteria) this; + } + + public Criteria andDiscountPriceBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("discount_price between", value1, value2, "discountPrice"); + return (Criteria) this; + } + + public Criteria andDiscountPriceNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("discount_price not between", value1, value2, "discountPrice"); + return (Criteria) this; + } + + public Criteria andDiscountNumIsNull() { + addCriterion("discount_num is null"); + return (Criteria) this; + } + + public Criteria andDiscountNumIsNotNull() { + addCriterion("discount_num is not null"); + return (Criteria) this; + } + + public Criteria andDiscountNumEqualTo(BigDecimal value) { + addCriterion("discount_num =", value, "discountNum"); + return (Criteria) this; + } + + public Criteria andDiscountNumNotEqualTo(BigDecimal value) { + addCriterion("discount_num <>", value, "discountNum"); + return (Criteria) this; + } + + public Criteria andDiscountNumGreaterThan(BigDecimal value) { + addCriterion("discount_num >", value, "discountNum"); + return (Criteria) this; + } + + public Criteria andDiscountNumGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("discount_num >=", value, "discountNum"); + return (Criteria) this; + } + + public Criteria andDiscountNumLessThan(BigDecimal value) { + addCriterion("discount_num <", value, "discountNum"); + return (Criteria) this; + } + + public Criteria andDiscountNumLessThanOrEqualTo(BigDecimal value) { + addCriterion("discount_num <=", value, "discountNum"); + return (Criteria) this; + } + + public Criteria andDiscountNumIn(List values) { + addCriterion("discount_num in", values, "discountNum"); + return (Criteria) this; + } + + public Criteria andDiscountNumNotIn(List values) { + addCriterion("discount_num not in", values, "discountNum"); + return (Criteria) this; + } + + public Criteria andDiscountNumBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("discount_num between", value1, value2, "discountNum"); + return (Criteria) this; + } + + public Criteria andDiscountNumNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("discount_num not between", value1, value2, "discountNum"); + return (Criteria) this; + } + + public Criteria andGiveGoodsIdIsNull() { + addCriterion("give_goods_id is null"); + return (Criteria) this; + } + + public Criteria andGiveGoodsIdIsNotNull() { + addCriterion("give_goods_id is not null"); + return (Criteria) this; + } + + public Criteria andGiveGoodsIdEqualTo(Integer value) { + addCriterion("give_goods_id =", value, "giveGoodsId"); + return (Criteria) this; + } + + public Criteria andGiveGoodsIdNotEqualTo(Integer value) { + addCriterion("give_goods_id <>", value, "giveGoodsId"); + return (Criteria) this; + } + + public Criteria andGiveGoodsIdGreaterThan(Integer value) { + addCriterion("give_goods_id >", value, "giveGoodsId"); + return (Criteria) this; + } + + public Criteria andGiveGoodsIdGreaterThanOrEqualTo(Integer value) { + addCriterion("give_goods_id >=", value, "giveGoodsId"); + return (Criteria) this; + } + + public Criteria andGiveGoodsIdLessThan(Integer value) { + addCriterion("give_goods_id <", value, "giveGoodsId"); + return (Criteria) this; + } + + public Criteria andGiveGoodsIdLessThanOrEqualTo(Integer value) { + addCriterion("give_goods_id <=", value, "giveGoodsId"); + return (Criteria) this; + } + + public Criteria andGiveGoodsIdIn(List values) { + addCriterion("give_goods_id in", values, "giveGoodsId"); + return (Criteria) this; + } + + public Criteria andGiveGoodsIdNotIn(List values) { + addCriterion("give_goods_id not in", values, "giveGoodsId"); + return (Criteria) this; + } + + public Criteria andGiveGoodsIdBetween(Integer value1, Integer value2) { + addCriterion("give_goods_id between", value1, value2, "giveGoodsId"); + return (Criteria) this; + } + + public Criteria andGiveGoodsIdNotBetween(Integer value1, Integer value2) { + addCriterion("give_goods_id not between", value1, value2, "giveGoodsId"); + return (Criteria) this; + } + + public Criteria andCouponRecordIdIsNull() { + addCriterion("coupon_record_id is null"); + return (Criteria) this; + } + + public Criteria andCouponRecordIdIsNotNull() { + addCriterion("coupon_record_id is not null"); + return (Criteria) this; + } + + public Criteria andCouponRecordIdEqualTo(String value) { + addCriterion("coupon_record_id =", value, "couponRecordId"); + return (Criteria) this; + } + + public Criteria andCouponRecordIdNotEqualTo(String value) { + addCriterion("coupon_record_id <>", value, "couponRecordId"); + return (Criteria) this; + } + + public Criteria andCouponRecordIdGreaterThan(String value) { + addCriterion("coupon_record_id >", value, "couponRecordId"); + return (Criteria) this; + } + + public Criteria andCouponRecordIdGreaterThanOrEqualTo(String value) { + addCriterion("coupon_record_id >=", value, "couponRecordId"); + return (Criteria) this; + } + + public Criteria andCouponRecordIdLessThan(String value) { + addCriterion("coupon_record_id <", value, "couponRecordId"); + return (Criteria) this; + } + + public Criteria andCouponRecordIdLessThanOrEqualTo(String value) { + addCriterion("coupon_record_id <=", value, "couponRecordId"); + return (Criteria) this; + } + + public Criteria andCouponRecordIdLike(String value) { + addCriterion("coupon_record_id like", value, "couponRecordId"); + return (Criteria) this; + } + + public Criteria andCouponRecordIdNotLike(String value) { + addCriterion("coupon_record_id not like", value, "couponRecordId"); + return (Criteria) this; + } + + public Criteria andCouponRecordIdIn(List values) { + addCriterion("coupon_record_id in", values, "couponRecordId"); + return (Criteria) this; + } + + public Criteria andCouponRecordIdNotIn(List values) { + addCriterion("coupon_record_id not in", values, "couponRecordId"); + return (Criteria) this; + } + + public Criteria andCouponRecordIdBetween(String value1, String value2) { + addCriterion("coupon_record_id between", value1, value2, "couponRecordId"); + return (Criteria) this; + } + + public Criteria andCouponRecordIdNotBetween(String value1, String value2) { + addCriterion("coupon_record_id not between", value1, value2, "couponRecordId"); + return (Criteria) this; + } + + public Criteria andIdCardNoIsNull() { + addCriterion("id_card_no is null"); + return (Criteria) this; + } + + public Criteria andIdCardNoIsNotNull() { + addCriterion("id_card_no is not null"); + return (Criteria) this; + } + + public Criteria andIdCardNoEqualTo(String value) { + addCriterion("id_card_no =", value, "idCardNo"); + return (Criteria) this; + } + + public Criteria andIdCardNoNotEqualTo(String value) { + addCriterion("id_card_no <>", value, "idCardNo"); + return (Criteria) this; + } + + public Criteria andIdCardNoGreaterThan(String value) { + addCriterion("id_card_no >", value, "idCardNo"); + return (Criteria) this; + } + + public Criteria andIdCardNoGreaterThanOrEqualTo(String value) { + addCriterion("id_card_no >=", value, "idCardNo"); + return (Criteria) this; + } + + public Criteria andIdCardNoLessThan(String value) { + addCriterion("id_card_no <", value, "idCardNo"); + return (Criteria) this; + } + + public Criteria andIdCardNoLessThanOrEqualTo(String value) { + addCriterion("id_card_no <=", value, "idCardNo"); + return (Criteria) this; + } + + public Criteria andIdCardNoLike(String value) { + addCriterion("id_card_no like", value, "idCardNo"); + return (Criteria) this; + } + + public Criteria andIdCardNoNotLike(String value) { + addCriterion("id_card_no not like", value, "idCardNo"); + return (Criteria) this; + } + + public Criteria andIdCardNoIn(List values) { + addCriterion("id_card_no in", values, "idCardNo"); + return (Criteria) this; + } + + public Criteria andIdCardNoNotIn(List values) { + addCriterion("id_card_no not in", values, "idCardNo"); + return (Criteria) this; + } + + public Criteria andIdCardNoBetween(String value1, String value2) { + addCriterion("id_card_no between", value1, value2, "idCardNo"); + return (Criteria) this; + } + + public Criteria andIdCardNoNotBetween(String value1, String value2) { + addCriterion("id_card_no not between", value1, value2, "idCardNo"); + return (Criteria) this; + } + + public Criteria andRefundTimeIsNull() { + addCriterion("refund_time is null"); + return (Criteria) this; + } + + public Criteria andRefundTimeIsNotNull() { + addCriterion("refund_time is not null"); + return (Criteria) this; + } + + public Criteria andRefundTimeEqualTo(Integer value) { + addCriterion("refund_time =", value, "refundTime"); + return (Criteria) this; + } + + public Criteria andRefundTimeNotEqualTo(Integer value) { + addCriterion("refund_time <>", value, "refundTime"); + return (Criteria) this; + } + + public Criteria andRefundTimeGreaterThan(Integer value) { + addCriterion("refund_time >", value, "refundTime"); + return (Criteria) this; + } + + public Criteria andRefundTimeGreaterThanOrEqualTo(Integer value) { + addCriterion("refund_time >=", value, "refundTime"); + return (Criteria) this; + } + + public Criteria andRefundTimeLessThan(Integer value) { + addCriterion("refund_time <", value, "refundTime"); + return (Criteria) this; + } + + public Criteria andRefundTimeLessThanOrEqualTo(Integer value) { + addCriterion("refund_time <=", value, "refundTime"); + return (Criteria) this; + } + + public Criteria andRefundTimeIn(List values) { + addCriterion("refund_time in", values, "refundTime"); + return (Criteria) this; + } + + public Criteria andRefundTimeNotIn(List values) { + addCriterion("refund_time not in", values, "refundTime"); + return (Criteria) this; + } + + public Criteria andRefundTimeBetween(Integer value1, Integer value2) { + addCriterion("refund_time between", value1, value2, "refundTime"); + return (Criteria) this; + } + + public Criteria andRefundTimeNotBetween(Integer value1, Integer value2) { + addCriterion("refund_time not between", value1, value2, "refundTime"); + return (Criteria) this; + } + } + + /** + */ + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/service/src/main/java/com/hfkj/entity/CyymallOrderWithBLOBs.java b/service/src/main/java/com/hfkj/entity/CyymallOrderWithBLOBs.java new file mode 100644 index 0000000..b64b03b --- /dev/null +++ b/service/src/main/java/com/hfkj/entity/CyymallOrderWithBLOBs.java @@ -0,0 +1,308 @@ +package com.hfkj.entity; + +import java.io.Serializable; + +/** + * cyymall_order + * @author + */ +public class CyymallOrderWithBLOBs extends CyymallOrder implements Serializable { + private String content; + + /** + * 收货地址信息,json格式 + */ + private String addressData; + + /** + * 核销码 + */ + private String offlineQrcode; + + /** + * 积分使用 + */ + private String integral; + + /** + * 商家留言 + */ + private String words; + + /** + * 商家备注 + */ + private String sellerComments; + + private static final long serialVersionUID = 1L; + + public String getContent() { + return content; + } + + public void setContent(String content) { + this.content = content; + } + + public String getAddressData() { + return addressData; + } + + public void setAddressData(String addressData) { + this.addressData = addressData; + } + + public String getOfflineQrcode() { + return offlineQrcode; + } + + public void setOfflineQrcode(String offlineQrcode) { + this.offlineQrcode = offlineQrcode; + } + + public String getIntegral() { + return integral; + } + + public void setIntegral(String integral) { + this.integral = integral; + } + + public String getWords() { + return words; + } + + public void setWords(String words) { + this.words = words; + } + + public String getSellerComments() { + return sellerComments; + } + + public void setSellerComments(String sellerComments) { + this.sellerComments = sellerComments; + } + + @Override + public boolean equals(Object that) { + if (this == that) { + return true; + } + if (that == null) { + return false; + } + if (getClass() != that.getClass()) { + return false; + } + CyymallOrderWithBLOBs other = (CyymallOrderWithBLOBs) that; + return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId())) + && (this.getStoreId() == null ? other.getStoreId() == null : this.getStoreId().equals(other.getStoreId())) + && (this.getUserId() == null ? other.getUserId() == null : this.getUserId().equals(other.getUserId())) + && (this.getOrderNo() == null ? other.getOrderNo() == null : this.getOrderNo().equals(other.getOrderNo())) + && (this.getTotalPrice() == null ? other.getTotalPrice() == null : this.getTotalPrice().equals(other.getTotalPrice())) + && (this.getPayPrice() == null ? other.getPayPrice() == null : this.getPayPrice().equals(other.getPayPrice())) + && (this.getExpressPrice() == null ? other.getExpressPrice() == null : this.getExpressPrice().equals(other.getExpressPrice())) + && (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName())) + && (this.getMobile() == null ? other.getMobile() == null : this.getMobile().equals(other.getMobile())) + && (this.getAddress() == null ? other.getAddress() == null : this.getAddress().equals(other.getAddress())) + && (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark())) + && (this.getIsPay() == null ? other.getIsPay() == null : this.getIsPay().equals(other.getIsPay())) + && (this.getPayType() == null ? other.getPayType() == null : this.getPayType().equals(other.getPayType())) + && (this.getPayTime() == null ? other.getPayTime() == null : this.getPayTime().equals(other.getPayTime())) + && (this.getIsSend() == null ? other.getIsSend() == null : this.getIsSend().equals(other.getIsSend())) + && (this.getSendTime() == null ? other.getSendTime() == null : this.getSendTime().equals(other.getSendTime())) + && (this.getExpress() == null ? other.getExpress() == null : this.getExpress().equals(other.getExpress())) + && (this.getExpressNo() == null ? other.getExpressNo() == null : this.getExpressNo().equals(other.getExpressNo())) + && (this.getIsConfirm() == null ? other.getIsConfirm() == null : this.getIsConfirm().equals(other.getIsConfirm())) + && (this.getConfirmTime() == null ? other.getConfirmTime() == null : this.getConfirmTime().equals(other.getConfirmTime())) + && (this.getIsComment() == null ? other.getIsComment() == null : this.getIsComment().equals(other.getIsComment())) + && (this.getApplyDelete() == null ? other.getApplyDelete() == null : this.getApplyDelete().equals(other.getApplyDelete())) + && (this.getAddtime() == null ? other.getAddtime() == null : this.getAddtime().equals(other.getAddtime())) + && (this.getIsDelete() == null ? other.getIsDelete() == null : this.getIsDelete().equals(other.getIsDelete())) + && (this.getIsPrice() == null ? other.getIsPrice() == null : this.getIsPrice().equals(other.getIsPrice())) + && (this.getParentId() == null ? other.getParentId() == null : this.getParentId().equals(other.getParentId())) + && (this.getFirstPrice() == null ? other.getFirstPrice() == null : this.getFirstPrice().equals(other.getFirstPrice())) + && (this.getSecondPrice() == null ? other.getSecondPrice() == null : this.getSecondPrice().equals(other.getSecondPrice())) + && (this.getThirdPrice() == null ? other.getThirdPrice() == null : this.getThirdPrice().equals(other.getThirdPrice())) + && (this.getCouponSubPrice() == null ? other.getCouponSubPrice() == null : this.getCouponSubPrice().equals(other.getCouponSubPrice())) + && (this.getIsOffline() == null ? other.getIsOffline() == null : this.getIsOffline().equals(other.getIsOffline())) + && (this.getClerkId() == null ? other.getClerkId() == null : this.getClerkId().equals(other.getClerkId())) + && (this.getIsCancel() == null ? other.getIsCancel() == null : this.getIsCancel().equals(other.getIsCancel())) + && (this.getBeforeUpdatePrice() == null ? other.getBeforeUpdatePrice() == null : this.getBeforeUpdatePrice().equals(other.getBeforeUpdatePrice())) + && (this.getShopId() == null ? other.getShopId() == null : this.getShopId().equals(other.getShopId())) + && (this.getDiscount() == null ? other.getDiscount() == null : this.getDiscount().equals(other.getDiscount())) + && (this.getUserCouponId() == null ? other.getUserCouponId() == null : this.getUserCouponId().equals(other.getUserCouponId())) + && (this.getGiveIntegral() == null ? other.getGiveIntegral() == null : this.getGiveIntegral().equals(other.getGiveIntegral())) + && (this.getParentId1() == null ? other.getParentId1() == null : this.getParentId1().equals(other.getParentId1())) + && (this.getParentId2() == null ? other.getParentId2() == null : this.getParentId2().equals(other.getParentId2())) + && (this.getIsSale() == null ? other.getIsSale() == null : this.getIsSale().equals(other.getIsSale())) + && (this.getVersion() == null ? other.getVersion() == null : this.getVersion().equals(other.getVersion())) + && (this.getExpressPrice1() == null ? other.getExpressPrice1() == null : this.getExpressPrice1().equals(other.getExpressPrice1())) + && (this.getIsRecycle() == null ? other.getIsRecycle() == null : this.getIsRecycle().equals(other.getIsRecycle())) + && (this.getRebate() == null ? other.getRebate() == null : this.getRebate().equals(other.getRebate())) + && (this.getBeforeUpdateExpress() == null ? other.getBeforeUpdateExpress() == null : this.getBeforeUpdateExpress().equals(other.getBeforeUpdateExpress())) + && (this.getMchId() == null ? other.getMchId() == null : this.getMchId().equals(other.getMchId())) + && (this.getOrderUnionId() == null ? other.getOrderUnionId() == null : this.getOrderUnionId().equals(other.getOrderUnionId())) + && (this.getIsTransfer() == null ? other.getIsTransfer() == null : this.getIsTransfer().equals(other.getIsTransfer())) + && (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType())) + && (this.getSharePrice() == null ? other.getSharePrice() == null : this.getSharePrice().equals(other.getSharePrice())) + && (this.getIsShow() == null ? other.getIsShow() == null : this.getIsShow().equals(other.getIsShow())) + && (this.getCurrency() == null ? other.getCurrency() == null : this.getCurrency().equals(other.getCurrency())) + && (this.getOrderOrigin() == null ? other.getOrderOrigin() == null : this.getOrderOrigin().equals(other.getOrderOrigin())) + && (this.getDeliveryId() == null ? other.getDeliveryId() == null : this.getDeliveryId().equals(other.getDeliveryId())) + && (this.getDeliveryStatus() == null ? other.getDeliveryStatus() == null : this.getDeliveryStatus().equals(other.getDeliveryStatus())) + && (this.getFyStatus() == null ? other.getFyStatus() == null : this.getFyStatus().equals(other.getFyStatus())) + && (this.getFyjine() == null ? other.getFyjine() == null : this.getFyjine().equals(other.getFyjine())) + && (this.getFysingle() == null ? other.getFysingle() == null : this.getFysingle().equals(other.getFysingle())) + && (this.getMchFyjine() == null ? other.getMchFyjine() == null : this.getMchFyjine().equals(other.getMchFyjine())) + && (this.getMchFysingle() == null ? other.getMchFysingle() == null : this.getMchFysingle().equals(other.getMchFysingle())) + && (this.getIsFan() == null ? other.getIsFan() == null : this.getIsFan().equals(other.getIsFan())) + && (this.getIsDada() == null ? other.getIsDada() == null : this.getIsDada().equals(other.getIsDada())) + && (this.getShopPeisong() == null ? other.getShopPeisong() == null : this.getShopPeisong().equals(other.getShopPeisong())) + && (this.getIsOpenOffline() == null ? other.getIsOpenOffline() == null : this.getIsOpenOffline().equals(other.getIsOpenOffline())) + && (this.getSupplierId() == null ? other.getSupplierId() == null : this.getSupplierId().equals(other.getSupplierId())) + && (this.getIsSupTransfer() == null ? other.getIsSupTransfer() == null : this.getIsSupTransfer().equals(other.getIsSupTransfer())) + && (this.getDabaoPrice() == null ? other.getDabaoPrice() == null : this.getDabaoPrice().equals(other.getDabaoPrice())) + && (this.getSettlementAmount() == null ? other.getSettlementAmount() == null : this.getSettlementAmount().equals(other.getSettlementAmount())) + && (this.getIsSettlement() == null ? other.getIsSettlement() == null : this.getIsSettlement().equals(other.getIsSettlement())) + && (this.getSettlementTime() == null ? other.getSettlementTime() == null : this.getSettlementTime().equals(other.getSettlementTime())) + && (this.getIsMchShop() == null ? other.getIsMchShop() == null : this.getIsMchShop().equals(other.getIsMchShop())) + && (this.getIsDivideMoney() == null ? other.getIsDivideMoney() == null : this.getIsDivideMoney().equals(other.getIsDivideMoney())) + && (this.getTransactionId() == null ? other.getTransactionId() == null : this.getTransactionId().equals(other.getTransactionId())) + && (this.getPayUserId() == null ? other.getPayUserId() == null : this.getPayUserId().equals(other.getPayUserId())) + && (this.getPayTypeTrue() == null ? other.getPayTypeTrue() == null : this.getPayTypeTrue().equals(other.getPayTypeTrue())) + && (this.getIsVgoods() == null ? other.getIsVgoods() == null : this.getIsVgoods().equals(other.getIsVgoods())) + && (this.getReductionPrice() == null ? other.getReductionPrice() == null : this.getReductionPrice().equals(other.getReductionPrice())) + && (this.getMinusPrice() == null ? other.getMinusPrice() == null : this.getMinusPrice().equals(other.getMinusPrice())) + && (this.getOrderFrom() == null ? other.getOrderFrom() == null : this.getOrderFrom().equals(other.getOrderFrom())) + && (this.getDiscountPrice() == null ? other.getDiscountPrice() == null : this.getDiscountPrice().equals(other.getDiscountPrice())) + && (this.getDiscountNum() == null ? other.getDiscountNum() == null : this.getDiscountNum().equals(other.getDiscountNum())) + && (this.getGiveGoodsId() == null ? other.getGiveGoodsId() == null : this.getGiveGoodsId().equals(other.getGiveGoodsId())) + && (this.getCouponRecordId() == null ? other.getCouponRecordId() == null : this.getCouponRecordId().equals(other.getCouponRecordId())) + && (this.getIdCardNo() == null ? other.getIdCardNo() == null : this.getIdCardNo().equals(other.getIdCardNo())) + && (this.getRefundTime() == null ? other.getRefundTime() == null : this.getRefundTime().equals(other.getRefundTime())) + && (this.getContent() == null ? other.getContent() == null : this.getContent().equals(other.getContent())) + && (this.getAddressData() == null ? other.getAddressData() == null : this.getAddressData().equals(other.getAddressData())) + && (this.getOfflineQrcode() == null ? other.getOfflineQrcode() == null : this.getOfflineQrcode().equals(other.getOfflineQrcode())) + && (this.getIntegral() == null ? other.getIntegral() == null : this.getIntegral().equals(other.getIntegral())) + && (this.getWords() == null ? other.getWords() == null : this.getWords().equals(other.getWords())) + && (this.getSellerComments() == null ? other.getSellerComments() == null : this.getSellerComments().equals(other.getSellerComments())); + } + + @Override + public int hashCode() { + final int prime = 31; + int result = 1; + result = prime * result + ((getId() == null) ? 0 : getId().hashCode()); + result = prime * result + ((getStoreId() == null) ? 0 : getStoreId().hashCode()); + result = prime * result + ((getUserId() == null) ? 0 : getUserId().hashCode()); + result = prime * result + ((getOrderNo() == null) ? 0 : getOrderNo().hashCode()); + result = prime * result + ((getTotalPrice() == null) ? 0 : getTotalPrice().hashCode()); + result = prime * result + ((getPayPrice() == null) ? 0 : getPayPrice().hashCode()); + result = prime * result + ((getExpressPrice() == null) ? 0 : getExpressPrice().hashCode()); + result = prime * result + ((getName() == null) ? 0 : getName().hashCode()); + result = prime * result + ((getMobile() == null) ? 0 : getMobile().hashCode()); + result = prime * result + ((getAddress() == null) ? 0 : getAddress().hashCode()); + result = prime * result + ((getRemark() == null) ? 0 : getRemark().hashCode()); + result = prime * result + ((getIsPay() == null) ? 0 : getIsPay().hashCode()); + result = prime * result + ((getPayType() == null) ? 0 : getPayType().hashCode()); + result = prime * result + ((getPayTime() == null) ? 0 : getPayTime().hashCode()); + result = prime * result + ((getIsSend() == null) ? 0 : getIsSend().hashCode()); + result = prime * result + ((getSendTime() == null) ? 0 : getSendTime().hashCode()); + result = prime * result + ((getExpress() == null) ? 0 : getExpress().hashCode()); + result = prime * result + ((getExpressNo() == null) ? 0 : getExpressNo().hashCode()); + result = prime * result + ((getIsConfirm() == null) ? 0 : getIsConfirm().hashCode()); + result = prime * result + ((getConfirmTime() == null) ? 0 : getConfirmTime().hashCode()); + result = prime * result + ((getIsComment() == null) ? 0 : getIsComment().hashCode()); + result = prime * result + ((getApplyDelete() == null) ? 0 : getApplyDelete().hashCode()); + result = prime * result + ((getAddtime() == null) ? 0 : getAddtime().hashCode()); + result = prime * result + ((getIsDelete() == null) ? 0 : getIsDelete().hashCode()); + result = prime * result + ((getIsPrice() == null) ? 0 : getIsPrice().hashCode()); + result = prime * result + ((getParentId() == null) ? 0 : getParentId().hashCode()); + result = prime * result + ((getFirstPrice() == null) ? 0 : getFirstPrice().hashCode()); + result = prime * result + ((getSecondPrice() == null) ? 0 : getSecondPrice().hashCode()); + result = prime * result + ((getThirdPrice() == null) ? 0 : getThirdPrice().hashCode()); + result = prime * result + ((getCouponSubPrice() == null) ? 0 : getCouponSubPrice().hashCode()); + result = prime * result + ((getIsOffline() == null) ? 0 : getIsOffline().hashCode()); + result = prime * result + ((getClerkId() == null) ? 0 : getClerkId().hashCode()); + result = prime * result + ((getIsCancel() == null) ? 0 : getIsCancel().hashCode()); + result = prime * result + ((getBeforeUpdatePrice() == null) ? 0 : getBeforeUpdatePrice().hashCode()); + result = prime * result + ((getShopId() == null) ? 0 : getShopId().hashCode()); + result = prime * result + ((getDiscount() == null) ? 0 : getDiscount().hashCode()); + result = prime * result + ((getUserCouponId() == null) ? 0 : getUserCouponId().hashCode()); + result = prime * result + ((getGiveIntegral() == null) ? 0 : getGiveIntegral().hashCode()); + result = prime * result + ((getParentId1() == null) ? 0 : getParentId1().hashCode()); + result = prime * result + ((getParentId2() == null) ? 0 : getParentId2().hashCode()); + result = prime * result + ((getIsSale() == null) ? 0 : getIsSale().hashCode()); + result = prime * result + ((getVersion() == null) ? 0 : getVersion().hashCode()); + result = prime * result + ((getExpressPrice1() == null) ? 0 : getExpressPrice1().hashCode()); + result = prime * result + ((getIsRecycle() == null) ? 0 : getIsRecycle().hashCode()); + result = prime * result + ((getRebate() == null) ? 0 : getRebate().hashCode()); + result = prime * result + ((getBeforeUpdateExpress() == null) ? 0 : getBeforeUpdateExpress().hashCode()); + result = prime * result + ((getMchId() == null) ? 0 : getMchId().hashCode()); + result = prime * result + ((getOrderUnionId() == null) ? 0 : getOrderUnionId().hashCode()); + result = prime * result + ((getIsTransfer() == null) ? 0 : getIsTransfer().hashCode()); + result = prime * result + ((getType() == null) ? 0 : getType().hashCode()); + result = prime * result + ((getSharePrice() == null) ? 0 : getSharePrice().hashCode()); + result = prime * result + ((getIsShow() == null) ? 0 : getIsShow().hashCode()); + result = prime * result + ((getCurrency() == null) ? 0 : getCurrency().hashCode()); + result = prime * result + ((getOrderOrigin() == null) ? 0 : getOrderOrigin().hashCode()); + result = prime * result + ((getDeliveryId() == null) ? 0 : getDeliveryId().hashCode()); + result = prime * result + ((getDeliveryStatus() == null) ? 0 : getDeliveryStatus().hashCode()); + result = prime * result + ((getFyStatus() == null) ? 0 : getFyStatus().hashCode()); + result = prime * result + ((getFyjine() == null) ? 0 : getFyjine().hashCode()); + result = prime * result + ((getFysingle() == null) ? 0 : getFysingle().hashCode()); + result = prime * result + ((getMchFyjine() == null) ? 0 : getMchFyjine().hashCode()); + result = prime * result + ((getMchFysingle() == null) ? 0 : getMchFysingle().hashCode()); + result = prime * result + ((getIsFan() == null) ? 0 : getIsFan().hashCode()); + result = prime * result + ((getIsDada() == null) ? 0 : getIsDada().hashCode()); + result = prime * result + ((getShopPeisong() == null) ? 0 : getShopPeisong().hashCode()); + result = prime * result + ((getIsOpenOffline() == null) ? 0 : getIsOpenOffline().hashCode()); + result = prime * result + ((getSupplierId() == null) ? 0 : getSupplierId().hashCode()); + result = prime * result + ((getIsSupTransfer() == null) ? 0 : getIsSupTransfer().hashCode()); + result = prime * result + ((getDabaoPrice() == null) ? 0 : getDabaoPrice().hashCode()); + result = prime * result + ((getSettlementAmount() == null) ? 0 : getSettlementAmount().hashCode()); + result = prime * result + ((getIsSettlement() == null) ? 0 : getIsSettlement().hashCode()); + result = prime * result + ((getSettlementTime() == null) ? 0 : getSettlementTime().hashCode()); + result = prime * result + ((getIsMchShop() == null) ? 0 : getIsMchShop().hashCode()); + result = prime * result + ((getIsDivideMoney() == null) ? 0 : getIsDivideMoney().hashCode()); + result = prime * result + ((getTransactionId() == null) ? 0 : getTransactionId().hashCode()); + result = prime * result + ((getPayUserId() == null) ? 0 : getPayUserId().hashCode()); + result = prime * result + ((getPayTypeTrue() == null) ? 0 : getPayTypeTrue().hashCode()); + result = prime * result + ((getIsVgoods() == null) ? 0 : getIsVgoods().hashCode()); + result = prime * result + ((getReductionPrice() == null) ? 0 : getReductionPrice().hashCode()); + result = prime * result + ((getMinusPrice() == null) ? 0 : getMinusPrice().hashCode()); + result = prime * result + ((getOrderFrom() == null) ? 0 : getOrderFrom().hashCode()); + result = prime * result + ((getDiscountPrice() == null) ? 0 : getDiscountPrice().hashCode()); + result = prime * result + ((getDiscountNum() == null) ? 0 : getDiscountNum().hashCode()); + result = prime * result + ((getGiveGoodsId() == null) ? 0 : getGiveGoodsId().hashCode()); + result = prime * result + ((getCouponRecordId() == null) ? 0 : getCouponRecordId().hashCode()); + result = prime * result + ((getIdCardNo() == null) ? 0 : getIdCardNo().hashCode()); + result = prime * result + ((getRefundTime() == null) ? 0 : getRefundTime().hashCode()); + result = prime * result + ((getContent() == null) ? 0 : getContent().hashCode()); + result = prime * result + ((getAddressData() == null) ? 0 : getAddressData().hashCode()); + result = prime * result + ((getOfflineQrcode() == null) ? 0 : getOfflineQrcode().hashCode()); + result = prime * result + ((getIntegral() == null) ? 0 : getIntegral().hashCode()); + result = prime * result + ((getWords() == null) ? 0 : getWords().hashCode()); + result = prime * result + ((getSellerComments() == null) ? 0 : getSellerComments().hashCode()); + return result; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", content=").append(content); + sb.append(", addressData=").append(addressData); + sb.append(", offlineQrcode=").append(offlineQrcode); + sb.append(", integral=").append(integral); + sb.append(", words=").append(words); + sb.append(", sellerComments=").append(sellerComments); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/service/src/main/java/com/hfkj/entity/CyymallUser.java b/service/src/main/java/com/hfkj/entity/CyymallUser.java new file mode 100644 index 0000000..9827906 --- /dev/null +++ b/service/src/main/java/com/hfkj/entity/CyymallUser.java @@ -0,0 +1,987 @@ +package com.hfkj.entity; + +import java.io.Serializable; +import java.math.BigDecimal; + +/** + * cyymall_user + * @author + */ +/** + * + * 代码由工具生成 + * + **/ +public class CyymallUser implements Serializable { + private Integer id; + + /** + * 用户类型:0=管理员,1=普通用户 + */ + private Short type; + + private String username; + + private String password; + + private String authKey; + + private String accessToken; + + private Integer addtime; + + private Short isDelete; + + /** + * 微信openid + */ + private String wechatOpenId; + + /** + * 微信用户union id + */ + private String wechatUnionId; + + /** + * 昵称 + */ + private String nickname; + + private String avatarUrl; + + /** + * 商城id + */ + private Integer storeId; + + /** + * 是否是分销商 0--不是 1--是 2--申请中 + */ + private Integer isDistributor; + + /** + * 父级ID + */ + private Integer parentId; + + /** + * 成为分销商的时间 + */ + private Integer time; + + /** + * 累计佣金 + */ + private BigDecimal totalPrice; + + /** + * 可提现佣金 + */ + private BigDecimal price; + + /** + * 是否是核销员 0--不是 1--是 + */ + private Integer isClerk; + + /** + * 微擎账户id + */ + private Integer we7Uid; + + private Integer shopId; + + /** + * 会员等级 + */ + private Integer level; + + /** + * 用户当前积分 + */ + private Integer integral; + + /** + * 用户总获得积分 + */ + private Integer totalIntegral; + + /** + * 余额 + */ + private BigDecimal money; + + /** + * 联系方式 + */ + private String contactWay; + + /** + * 备注 + */ + private String comments; + + /** + * 授权手机号 + */ + private String binding; + + /** + * 微信公众号openid + */ + private String wechatPlatformOpenId; + + /** + * 小程序平台 0 => 微信, 1 => 支付宝 + */ + private Byte platform; + + /** + * 黑名单 0.否 | 1.是 + */ + private Boolean blacklist; + + /** + * 可能成为上级的ID + */ + private Integer parentUserId; + + private String appcid; + + private Boolean isAdmin; + + private BigDecimal tuanPrice; + + /** + * 1是配送员0不是 + */ + private Boolean isDelivery; + + private Integer mchId; + + /** + * 真实姓名 + */ + private String realName; + + /** + * 身份证号 + */ + private String realCode; + + /** + * 身份证正面照 + */ + private String realJustPic; + + /** + * 身份证反面照 + */ + private String realBackPic; + + /** + * 是否已实名注册 2审核中3审核未通过1审核通过 + */ + private Boolean isReal; + + /** + * 直播佣金 + */ + private BigDecimal livePrice; + + /** + * 待返总金额 + */ + private String fyjine; + + /** + * 已返金额 + */ + private String yifan; + + /** + * 骑手是否在线(0、在线,1离线) + */ + private Boolean deliveryOffice; + + /** + * 补贴金额 + */ + private BigDecimal subsidyPrice; + + private Integer deliveryMchId; + + /** + * 核销员入驻商id + */ + private Integer clerkMchId; + + /** + * 是否团长身份 0--否,1--是 + */ + private Integer isGroupCentre; + + /** + * 性别0-未知,1男,2女 + */ + private Integer sex; + + /** + * 出生日期 + */ + private String birthDate; + + /** + * 是否允许发布抖品:0=否,1=是 + */ + private Integer isVgoods; + + /** + * 分销商分组id + */ + private Integer shareCatId; + + /** + * 用户标签 + */ + private Integer userLabel; + + /** + * 工会卡号 + */ + private String ghCardNo; + + /** + * 工会卡消费密码 + */ + private Integer ghCardPwd; + + private String channelPhone; + + private String channelSign; + + private String email; + + private Integer applyTime; + + /** + * 1申请中也就是待处理,2已处理,其他就是不申请了 + */ + private Short applyStatus; + + private static final long serialVersionUID = 1L; + + public Integer getId() { + return id; + } + + public void setId(Integer id) { + this.id = id; + } + + public Short getType() { + return type; + } + + public void setType(Short type) { + this.type = type; + } + + public String getUsername() { + return username; + } + + public void setUsername(String username) { + this.username = username; + } + + public String getPassword() { + return password; + } + + public void setPassword(String password) { + this.password = password; + } + + public String getAuthKey() { + return authKey; + } + + public void setAuthKey(String authKey) { + this.authKey = authKey; + } + + public String getAccessToken() { + return accessToken; + } + + public void setAccessToken(String accessToken) { + this.accessToken = accessToken; + } + + public Integer getAddtime() { + return addtime; + } + + public void setAddtime(Integer addtime) { + this.addtime = addtime; + } + + public Short getIsDelete() { + return isDelete; + } + + public void setIsDelete(Short isDelete) { + this.isDelete = isDelete; + } + + public String getWechatOpenId() { + return wechatOpenId; + } + + public void setWechatOpenId(String wechatOpenId) { + this.wechatOpenId = wechatOpenId; + } + + public String getWechatUnionId() { + return wechatUnionId; + } + + public void setWechatUnionId(String wechatUnionId) { + this.wechatUnionId = wechatUnionId; + } + + public String getNickname() { + return nickname; + } + + public void setNickname(String nickname) { + this.nickname = nickname; + } + + public String getAvatarUrl() { + return avatarUrl; + } + + public void setAvatarUrl(String avatarUrl) { + this.avatarUrl = avatarUrl; + } + + public Integer getStoreId() { + return storeId; + } + + public void setStoreId(Integer storeId) { + this.storeId = storeId; + } + + public Integer getIsDistributor() { + return isDistributor; + } + + public void setIsDistributor(Integer isDistributor) { + this.isDistributor = isDistributor; + } + + public Integer getParentId() { + return parentId; + } + + public void setParentId(Integer parentId) { + this.parentId = parentId; + } + + public Integer getTime() { + return time; + } + + public void setTime(Integer time) { + this.time = time; + } + + public BigDecimal getTotalPrice() { + return totalPrice; + } + + public void setTotalPrice(BigDecimal totalPrice) { + this.totalPrice = totalPrice; + } + + public BigDecimal getPrice() { + return price; + } + + public void setPrice(BigDecimal price) { + this.price = price; + } + + public Integer getIsClerk() { + return isClerk; + } + + public void setIsClerk(Integer isClerk) { + this.isClerk = isClerk; + } + + public Integer getWe7Uid() { + return we7Uid; + } + + public void setWe7Uid(Integer we7Uid) { + this.we7Uid = we7Uid; + } + + public Integer getShopId() { + return shopId; + } + + public void setShopId(Integer shopId) { + this.shopId = shopId; + } + + public Integer getLevel() { + return level; + } + + public void setLevel(Integer level) { + this.level = level; + } + + public Integer getIntegral() { + return integral; + } + + public void setIntegral(Integer integral) { + this.integral = integral; + } + + public Integer getTotalIntegral() { + return totalIntegral; + } + + public void setTotalIntegral(Integer totalIntegral) { + this.totalIntegral = totalIntegral; + } + + public BigDecimal getMoney() { + return money; + } + + public void setMoney(BigDecimal money) { + this.money = money; + } + + public String getContactWay() { + return contactWay; + } + + public void setContactWay(String contactWay) { + this.contactWay = contactWay; + } + + public String getComments() { + return comments; + } + + public void setComments(String comments) { + this.comments = comments; + } + + public String getBinding() { + return binding; + } + + public void setBinding(String binding) { + this.binding = binding; + } + + public String getWechatPlatformOpenId() { + return wechatPlatformOpenId; + } + + public void setWechatPlatformOpenId(String wechatPlatformOpenId) { + this.wechatPlatformOpenId = wechatPlatformOpenId; + } + + public Byte getPlatform() { + return platform; + } + + public void setPlatform(Byte platform) { + this.platform = platform; + } + + public Boolean getBlacklist() { + return blacklist; + } + + public void setBlacklist(Boolean blacklist) { + this.blacklist = blacklist; + } + + public Integer getParentUserId() { + return parentUserId; + } + + public void setParentUserId(Integer parentUserId) { + this.parentUserId = parentUserId; + } + + public String getAppcid() { + return appcid; + } + + public void setAppcid(String appcid) { + this.appcid = appcid; + } + + public Boolean getIsAdmin() { + return isAdmin; + } + + public void setIsAdmin(Boolean isAdmin) { + this.isAdmin = isAdmin; + } + + public BigDecimal getTuanPrice() { + return tuanPrice; + } + + public void setTuanPrice(BigDecimal tuanPrice) { + this.tuanPrice = tuanPrice; + } + + public Boolean getIsDelivery() { + return isDelivery; + } + + public void setIsDelivery(Boolean isDelivery) { + this.isDelivery = isDelivery; + } + + public Integer getMchId() { + return mchId; + } + + public void setMchId(Integer mchId) { + this.mchId = mchId; + } + + public String getRealName() { + return realName; + } + + public void setRealName(String realName) { + this.realName = realName; + } + + public String getRealCode() { + return realCode; + } + + public void setRealCode(String realCode) { + this.realCode = realCode; + } + + public String getRealJustPic() { + return realJustPic; + } + + public void setRealJustPic(String realJustPic) { + this.realJustPic = realJustPic; + } + + public String getRealBackPic() { + return realBackPic; + } + + public void setRealBackPic(String realBackPic) { + this.realBackPic = realBackPic; + } + + public Boolean getIsReal() { + return isReal; + } + + public void setIsReal(Boolean isReal) { + this.isReal = isReal; + } + + public BigDecimal getLivePrice() { + return livePrice; + } + + public void setLivePrice(BigDecimal livePrice) { + this.livePrice = livePrice; + } + + public String getFyjine() { + return fyjine; + } + + public void setFyjine(String fyjine) { + this.fyjine = fyjine; + } + + public String getYifan() { + return yifan; + } + + public void setYifan(String yifan) { + this.yifan = yifan; + } + + public Boolean getDeliveryOffice() { + return deliveryOffice; + } + + public void setDeliveryOffice(Boolean deliveryOffice) { + this.deliveryOffice = deliveryOffice; + } + + public BigDecimal getSubsidyPrice() { + return subsidyPrice; + } + + public void setSubsidyPrice(BigDecimal subsidyPrice) { + this.subsidyPrice = subsidyPrice; + } + + public Integer getDeliveryMchId() { + return deliveryMchId; + } + + public void setDeliveryMchId(Integer deliveryMchId) { + this.deliveryMchId = deliveryMchId; + } + + public Integer getClerkMchId() { + return clerkMchId; + } + + public void setClerkMchId(Integer clerkMchId) { + this.clerkMchId = clerkMchId; + } + + public Integer getIsGroupCentre() { + return isGroupCentre; + } + + public void setIsGroupCentre(Integer isGroupCentre) { + this.isGroupCentre = isGroupCentre; + } + + public Integer getSex() { + return sex; + } + + public void setSex(Integer sex) { + this.sex = sex; + } + + public String getBirthDate() { + return birthDate; + } + + public void setBirthDate(String birthDate) { + this.birthDate = birthDate; + } + + public Integer getIsVgoods() { + return isVgoods; + } + + public void setIsVgoods(Integer isVgoods) { + this.isVgoods = isVgoods; + } + + public Integer getShareCatId() { + return shareCatId; + } + + public void setShareCatId(Integer shareCatId) { + this.shareCatId = shareCatId; + } + + public Integer getUserLabel() { + return userLabel; + } + + public void setUserLabel(Integer userLabel) { + this.userLabel = userLabel; + } + + public String getGhCardNo() { + return ghCardNo; + } + + public void setGhCardNo(String ghCardNo) { + this.ghCardNo = ghCardNo; + } + + public Integer getGhCardPwd() { + return ghCardPwd; + } + + public void setGhCardPwd(Integer ghCardPwd) { + this.ghCardPwd = ghCardPwd; + } + + public String getChannelPhone() { + return channelPhone; + } + + public void setChannelPhone(String channelPhone) { + this.channelPhone = channelPhone; + } + + public String getChannelSign() { + return channelSign; + } + + public void setChannelSign(String channelSign) { + this.channelSign = channelSign; + } + + public String getEmail() { + return email; + } + + public void setEmail(String email) { + this.email = email; + } + + public Integer getApplyTime() { + return applyTime; + } + + public void setApplyTime(Integer applyTime) { + this.applyTime = applyTime; + } + + public Short getApplyStatus() { + return applyStatus; + } + + public void setApplyStatus(Short applyStatus) { + this.applyStatus = applyStatus; + } + + @Override + public boolean equals(Object that) { + if (this == that) { + return true; + } + if (that == null) { + return false; + } + if (getClass() != that.getClass()) { + return false; + } + CyymallUser other = (CyymallUser) that; + return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId())) + && (this.getType() == null ? other.getType() == null : this.getType().equals(other.getType())) + && (this.getUsername() == null ? other.getUsername() == null : this.getUsername().equals(other.getUsername())) + && (this.getPassword() == null ? other.getPassword() == null : this.getPassword().equals(other.getPassword())) + && (this.getAuthKey() == null ? other.getAuthKey() == null : this.getAuthKey().equals(other.getAuthKey())) + && (this.getAccessToken() == null ? other.getAccessToken() == null : this.getAccessToken().equals(other.getAccessToken())) + && (this.getAddtime() == null ? other.getAddtime() == null : this.getAddtime().equals(other.getAddtime())) + && (this.getIsDelete() == null ? other.getIsDelete() == null : this.getIsDelete().equals(other.getIsDelete())) + && (this.getWechatOpenId() == null ? other.getWechatOpenId() == null : this.getWechatOpenId().equals(other.getWechatOpenId())) + && (this.getWechatUnionId() == null ? other.getWechatUnionId() == null : this.getWechatUnionId().equals(other.getWechatUnionId())) + && (this.getNickname() == null ? other.getNickname() == null : this.getNickname().equals(other.getNickname())) + && (this.getAvatarUrl() == null ? other.getAvatarUrl() == null : this.getAvatarUrl().equals(other.getAvatarUrl())) + && (this.getStoreId() == null ? other.getStoreId() == null : this.getStoreId().equals(other.getStoreId())) + && (this.getIsDistributor() == null ? other.getIsDistributor() == null : this.getIsDistributor().equals(other.getIsDistributor())) + && (this.getParentId() == null ? other.getParentId() == null : this.getParentId().equals(other.getParentId())) + && (this.getTime() == null ? other.getTime() == null : this.getTime().equals(other.getTime())) + && (this.getTotalPrice() == null ? other.getTotalPrice() == null : this.getTotalPrice().equals(other.getTotalPrice())) + && (this.getPrice() == null ? other.getPrice() == null : this.getPrice().equals(other.getPrice())) + && (this.getIsClerk() == null ? other.getIsClerk() == null : this.getIsClerk().equals(other.getIsClerk())) + && (this.getWe7Uid() == null ? other.getWe7Uid() == null : this.getWe7Uid().equals(other.getWe7Uid())) + && (this.getShopId() == null ? other.getShopId() == null : this.getShopId().equals(other.getShopId())) + && (this.getLevel() == null ? other.getLevel() == null : this.getLevel().equals(other.getLevel())) + && (this.getIntegral() == null ? other.getIntegral() == null : this.getIntegral().equals(other.getIntegral())) + && (this.getTotalIntegral() == null ? other.getTotalIntegral() == null : this.getTotalIntegral().equals(other.getTotalIntegral())) + && (this.getMoney() == null ? other.getMoney() == null : this.getMoney().equals(other.getMoney())) + && (this.getContactWay() == null ? other.getContactWay() == null : this.getContactWay().equals(other.getContactWay())) + && (this.getComments() == null ? other.getComments() == null : this.getComments().equals(other.getComments())) + && (this.getBinding() == null ? other.getBinding() == null : this.getBinding().equals(other.getBinding())) + && (this.getWechatPlatformOpenId() == null ? other.getWechatPlatformOpenId() == null : this.getWechatPlatformOpenId().equals(other.getWechatPlatformOpenId())) + && (this.getPlatform() == null ? other.getPlatform() == null : this.getPlatform().equals(other.getPlatform())) + && (this.getBlacklist() == null ? other.getBlacklist() == null : this.getBlacklist().equals(other.getBlacklist())) + && (this.getParentUserId() == null ? other.getParentUserId() == null : this.getParentUserId().equals(other.getParentUserId())) + && (this.getAppcid() == null ? other.getAppcid() == null : this.getAppcid().equals(other.getAppcid())) + && (this.getIsAdmin() == null ? other.getIsAdmin() == null : this.getIsAdmin().equals(other.getIsAdmin())) + && (this.getTuanPrice() == null ? other.getTuanPrice() == null : this.getTuanPrice().equals(other.getTuanPrice())) + && (this.getIsDelivery() == null ? other.getIsDelivery() == null : this.getIsDelivery().equals(other.getIsDelivery())) + && (this.getMchId() == null ? other.getMchId() == null : this.getMchId().equals(other.getMchId())) + && (this.getRealName() == null ? other.getRealName() == null : this.getRealName().equals(other.getRealName())) + && (this.getRealCode() == null ? other.getRealCode() == null : this.getRealCode().equals(other.getRealCode())) + && (this.getRealJustPic() == null ? other.getRealJustPic() == null : this.getRealJustPic().equals(other.getRealJustPic())) + && (this.getRealBackPic() == null ? other.getRealBackPic() == null : this.getRealBackPic().equals(other.getRealBackPic())) + && (this.getIsReal() == null ? other.getIsReal() == null : this.getIsReal().equals(other.getIsReal())) + && (this.getLivePrice() == null ? other.getLivePrice() == null : this.getLivePrice().equals(other.getLivePrice())) + && (this.getFyjine() == null ? other.getFyjine() == null : this.getFyjine().equals(other.getFyjine())) + && (this.getYifan() == null ? other.getYifan() == null : this.getYifan().equals(other.getYifan())) + && (this.getDeliveryOffice() == null ? other.getDeliveryOffice() == null : this.getDeliveryOffice().equals(other.getDeliveryOffice())) + && (this.getSubsidyPrice() == null ? other.getSubsidyPrice() == null : this.getSubsidyPrice().equals(other.getSubsidyPrice())) + && (this.getDeliveryMchId() == null ? other.getDeliveryMchId() == null : this.getDeliveryMchId().equals(other.getDeliveryMchId())) + && (this.getClerkMchId() == null ? other.getClerkMchId() == null : this.getClerkMchId().equals(other.getClerkMchId())) + && (this.getIsGroupCentre() == null ? other.getIsGroupCentre() == null : this.getIsGroupCentre().equals(other.getIsGroupCentre())) + && (this.getSex() == null ? other.getSex() == null : this.getSex().equals(other.getSex())) + && (this.getBirthDate() == null ? other.getBirthDate() == null : this.getBirthDate().equals(other.getBirthDate())) + && (this.getIsVgoods() == null ? other.getIsVgoods() == null : this.getIsVgoods().equals(other.getIsVgoods())) + && (this.getShareCatId() == null ? other.getShareCatId() == null : this.getShareCatId().equals(other.getShareCatId())) + && (this.getUserLabel() == null ? other.getUserLabel() == null : this.getUserLabel().equals(other.getUserLabel())) + && (this.getGhCardNo() == null ? other.getGhCardNo() == null : this.getGhCardNo().equals(other.getGhCardNo())) + && (this.getGhCardPwd() == null ? other.getGhCardPwd() == null : this.getGhCardPwd().equals(other.getGhCardPwd())) + && (this.getChannelPhone() == null ? other.getChannelPhone() == null : this.getChannelPhone().equals(other.getChannelPhone())) + && (this.getChannelSign() == null ? other.getChannelSign() == null : this.getChannelSign().equals(other.getChannelSign())) + && (this.getEmail() == null ? other.getEmail() == null : this.getEmail().equals(other.getEmail())) + && (this.getApplyTime() == null ? other.getApplyTime() == null : this.getApplyTime().equals(other.getApplyTime())) + && (this.getApplyStatus() == null ? other.getApplyStatus() == null : this.getApplyStatus().equals(other.getApplyStatus())); + } + + @Override + public int hashCode() { + final int prime = 31; + int result = 1; + result = prime * result + ((getId() == null) ? 0 : getId().hashCode()); + result = prime * result + ((getType() == null) ? 0 : getType().hashCode()); + result = prime * result + ((getUsername() == null) ? 0 : getUsername().hashCode()); + result = prime * result + ((getPassword() == null) ? 0 : getPassword().hashCode()); + result = prime * result + ((getAuthKey() == null) ? 0 : getAuthKey().hashCode()); + result = prime * result + ((getAccessToken() == null) ? 0 : getAccessToken().hashCode()); + result = prime * result + ((getAddtime() == null) ? 0 : getAddtime().hashCode()); + result = prime * result + ((getIsDelete() == null) ? 0 : getIsDelete().hashCode()); + result = prime * result + ((getWechatOpenId() == null) ? 0 : getWechatOpenId().hashCode()); + result = prime * result + ((getWechatUnionId() == null) ? 0 : getWechatUnionId().hashCode()); + result = prime * result + ((getNickname() == null) ? 0 : getNickname().hashCode()); + result = prime * result + ((getAvatarUrl() == null) ? 0 : getAvatarUrl().hashCode()); + result = prime * result + ((getStoreId() == null) ? 0 : getStoreId().hashCode()); + result = prime * result + ((getIsDistributor() == null) ? 0 : getIsDistributor().hashCode()); + result = prime * result + ((getParentId() == null) ? 0 : getParentId().hashCode()); + result = prime * result + ((getTime() == null) ? 0 : getTime().hashCode()); + result = prime * result + ((getTotalPrice() == null) ? 0 : getTotalPrice().hashCode()); + result = prime * result + ((getPrice() == null) ? 0 : getPrice().hashCode()); + result = prime * result + ((getIsClerk() == null) ? 0 : getIsClerk().hashCode()); + result = prime * result + ((getWe7Uid() == null) ? 0 : getWe7Uid().hashCode()); + result = prime * result + ((getShopId() == null) ? 0 : getShopId().hashCode()); + result = prime * result + ((getLevel() == null) ? 0 : getLevel().hashCode()); + result = prime * result + ((getIntegral() == null) ? 0 : getIntegral().hashCode()); + result = prime * result + ((getTotalIntegral() == null) ? 0 : getTotalIntegral().hashCode()); + result = prime * result + ((getMoney() == null) ? 0 : getMoney().hashCode()); + result = prime * result + ((getContactWay() == null) ? 0 : getContactWay().hashCode()); + result = prime * result + ((getComments() == null) ? 0 : getComments().hashCode()); + result = prime * result + ((getBinding() == null) ? 0 : getBinding().hashCode()); + result = prime * result + ((getWechatPlatformOpenId() == null) ? 0 : getWechatPlatformOpenId().hashCode()); + result = prime * result + ((getPlatform() == null) ? 0 : getPlatform().hashCode()); + result = prime * result + ((getBlacklist() == null) ? 0 : getBlacklist().hashCode()); + result = prime * result + ((getParentUserId() == null) ? 0 : getParentUserId().hashCode()); + result = prime * result + ((getAppcid() == null) ? 0 : getAppcid().hashCode()); + result = prime * result + ((getIsAdmin() == null) ? 0 : getIsAdmin().hashCode()); + result = prime * result + ((getTuanPrice() == null) ? 0 : getTuanPrice().hashCode()); + result = prime * result + ((getIsDelivery() == null) ? 0 : getIsDelivery().hashCode()); + result = prime * result + ((getMchId() == null) ? 0 : getMchId().hashCode()); + result = prime * result + ((getRealName() == null) ? 0 : getRealName().hashCode()); + result = prime * result + ((getRealCode() == null) ? 0 : getRealCode().hashCode()); + result = prime * result + ((getRealJustPic() == null) ? 0 : getRealJustPic().hashCode()); + result = prime * result + ((getRealBackPic() == null) ? 0 : getRealBackPic().hashCode()); + result = prime * result + ((getIsReal() == null) ? 0 : getIsReal().hashCode()); + result = prime * result + ((getLivePrice() == null) ? 0 : getLivePrice().hashCode()); + result = prime * result + ((getFyjine() == null) ? 0 : getFyjine().hashCode()); + result = prime * result + ((getYifan() == null) ? 0 : getYifan().hashCode()); + result = prime * result + ((getDeliveryOffice() == null) ? 0 : getDeliveryOffice().hashCode()); + result = prime * result + ((getSubsidyPrice() == null) ? 0 : getSubsidyPrice().hashCode()); + result = prime * result + ((getDeliveryMchId() == null) ? 0 : getDeliveryMchId().hashCode()); + result = prime * result + ((getClerkMchId() == null) ? 0 : getClerkMchId().hashCode()); + result = prime * result + ((getIsGroupCentre() == null) ? 0 : getIsGroupCentre().hashCode()); + result = prime * result + ((getSex() == null) ? 0 : getSex().hashCode()); + result = prime * result + ((getBirthDate() == null) ? 0 : getBirthDate().hashCode()); + result = prime * result + ((getIsVgoods() == null) ? 0 : getIsVgoods().hashCode()); + result = prime * result + ((getShareCatId() == null) ? 0 : getShareCatId().hashCode()); + result = prime * result + ((getUserLabel() == null) ? 0 : getUserLabel().hashCode()); + result = prime * result + ((getGhCardNo() == null) ? 0 : getGhCardNo().hashCode()); + result = prime * result + ((getGhCardPwd() == null) ? 0 : getGhCardPwd().hashCode()); + result = prime * result + ((getChannelPhone() == null) ? 0 : getChannelPhone().hashCode()); + result = prime * result + ((getChannelSign() == null) ? 0 : getChannelSign().hashCode()); + result = prime * result + ((getEmail() == null) ? 0 : getEmail().hashCode()); + result = prime * result + ((getApplyTime() == null) ? 0 : getApplyTime().hashCode()); + result = prime * result + ((getApplyStatus() == null) ? 0 : getApplyStatus().hashCode()); + return result; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", type=").append(type); + sb.append(", username=").append(username); + sb.append(", password=").append(password); + sb.append(", authKey=").append(authKey); + sb.append(", accessToken=").append(accessToken); + sb.append(", addtime=").append(addtime); + sb.append(", isDelete=").append(isDelete); + sb.append(", wechatOpenId=").append(wechatOpenId); + sb.append(", wechatUnionId=").append(wechatUnionId); + sb.append(", nickname=").append(nickname); + sb.append(", avatarUrl=").append(avatarUrl); + sb.append(", storeId=").append(storeId); + sb.append(", isDistributor=").append(isDistributor); + sb.append(", parentId=").append(parentId); + sb.append(", time=").append(time); + sb.append(", totalPrice=").append(totalPrice); + sb.append(", price=").append(price); + sb.append(", isClerk=").append(isClerk); + sb.append(", we7Uid=").append(we7Uid); + sb.append(", shopId=").append(shopId); + sb.append(", level=").append(level); + sb.append(", integral=").append(integral); + sb.append(", totalIntegral=").append(totalIntegral); + sb.append(", money=").append(money); + sb.append(", contactWay=").append(contactWay); + sb.append(", comments=").append(comments); + sb.append(", binding=").append(binding); + sb.append(", wechatPlatformOpenId=").append(wechatPlatformOpenId); + sb.append(", platform=").append(platform); + sb.append(", blacklist=").append(blacklist); + sb.append(", parentUserId=").append(parentUserId); + sb.append(", appcid=").append(appcid); + sb.append(", isAdmin=").append(isAdmin); + sb.append(", tuanPrice=").append(tuanPrice); + sb.append(", isDelivery=").append(isDelivery); + sb.append(", mchId=").append(mchId); + sb.append(", realName=").append(realName); + sb.append(", realCode=").append(realCode); + sb.append(", realJustPic=").append(realJustPic); + sb.append(", realBackPic=").append(realBackPic); + sb.append(", isReal=").append(isReal); + sb.append(", livePrice=").append(livePrice); + sb.append(", fyjine=").append(fyjine); + sb.append(", yifan=").append(yifan); + sb.append(", deliveryOffice=").append(deliveryOffice); + sb.append(", subsidyPrice=").append(subsidyPrice); + sb.append(", deliveryMchId=").append(deliveryMchId); + sb.append(", clerkMchId=").append(clerkMchId); + sb.append(", isGroupCentre=").append(isGroupCentre); + sb.append(", sex=").append(sex); + sb.append(", birthDate=").append(birthDate); + sb.append(", isVgoods=").append(isVgoods); + sb.append(", shareCatId=").append(shareCatId); + sb.append(", userLabel=").append(userLabel); + sb.append(", ghCardNo=").append(ghCardNo); + sb.append(", ghCardPwd=").append(ghCardPwd); + sb.append(", channelPhone=").append(channelPhone); + sb.append(", channelSign=").append(channelSign); + sb.append(", email=").append(email); + sb.append(", applyTime=").append(applyTime); + sb.append(", applyStatus=").append(applyStatus); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/service/src/main/java/com/hfkj/entity/CyymallUserExample.java b/service/src/main/java/com/hfkj/entity/CyymallUserExample.java new file mode 100644 index 0000000..28f346f --- /dev/null +++ b/service/src/main/java/com/hfkj/entity/CyymallUserExample.java @@ -0,0 +1,4183 @@ +package com.hfkj.entity; + +import java.math.BigDecimal; +import java.util.ArrayList; +import java.util.List; + +public class CyymallUserExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + private Integer limit; + + private Long offset; + + public CyymallUserExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + public void setLimit(Integer limit) { + this.limit = limit; + } + + public Integer getLimit() { + return limit; + } + + public void setOffset(Long offset) { + this.offset = offset; + } + + public Long getOffset() { + return offset; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Integer value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Integer value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Integer value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Integer value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Integer value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Integer value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Integer value1, Integer value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Integer value1, Integer value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andTypeIsNull() { + addCriterion("`type` is null"); + return (Criteria) this; + } + + public Criteria andTypeIsNotNull() { + addCriterion("`type` is not null"); + return (Criteria) this; + } + + public Criteria andTypeEqualTo(Short value) { + addCriterion("`type` =", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeNotEqualTo(Short value) { + addCriterion("`type` <>", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeGreaterThan(Short value) { + addCriterion("`type` >", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeGreaterThanOrEqualTo(Short value) { + addCriterion("`type` >=", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeLessThan(Short value) { + addCriterion("`type` <", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeLessThanOrEqualTo(Short value) { + addCriterion("`type` <=", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeIn(List values) { + addCriterion("`type` in", values, "type"); + return (Criteria) this; + } + + public Criteria andTypeNotIn(List values) { + addCriterion("`type` not in", values, "type"); + return (Criteria) this; + } + + public Criteria andTypeBetween(Short value1, Short value2) { + addCriterion("`type` between", value1, value2, "type"); + return (Criteria) this; + } + + public Criteria andTypeNotBetween(Short value1, Short value2) { + addCriterion("`type` not between", value1, value2, "type"); + return (Criteria) this; + } + + public Criteria andUsernameIsNull() { + addCriterion("username is null"); + return (Criteria) this; + } + + public Criteria andUsernameIsNotNull() { + addCriterion("username is not null"); + return (Criteria) this; + } + + public Criteria andUsernameEqualTo(String value) { + addCriterion("username =", value, "username"); + return (Criteria) this; + } + + public Criteria andUsernameNotEqualTo(String value) { + addCriterion("username <>", value, "username"); + return (Criteria) this; + } + + public Criteria andUsernameGreaterThan(String value) { + addCriterion("username >", value, "username"); + return (Criteria) this; + } + + public Criteria andUsernameGreaterThanOrEqualTo(String value) { + addCriterion("username >=", value, "username"); + return (Criteria) this; + } + + public Criteria andUsernameLessThan(String value) { + addCriterion("username <", value, "username"); + return (Criteria) this; + } + + public Criteria andUsernameLessThanOrEqualTo(String value) { + addCriterion("username <=", value, "username"); + return (Criteria) this; + } + + public Criteria andUsernameLike(String value) { + addCriterion("username like", value, "username"); + return (Criteria) this; + } + + public Criteria andUsernameNotLike(String value) { + addCriterion("username not like", value, "username"); + return (Criteria) this; + } + + public Criteria andUsernameIn(List values) { + addCriterion("username in", values, "username"); + return (Criteria) this; + } + + public Criteria andUsernameNotIn(List values) { + addCriterion("username not in", values, "username"); + return (Criteria) this; + } + + public Criteria andUsernameBetween(String value1, String value2) { + addCriterion("username between", value1, value2, "username"); + return (Criteria) this; + } + + public Criteria andUsernameNotBetween(String value1, String value2) { + addCriterion("username not between", value1, value2, "username"); + return (Criteria) this; + } + + public Criteria andPasswordIsNull() { + addCriterion("`password` is null"); + return (Criteria) this; + } + + public Criteria andPasswordIsNotNull() { + addCriterion("`password` is not null"); + return (Criteria) this; + } + + public Criteria andPasswordEqualTo(String value) { + addCriterion("`password` =", value, "password"); + return (Criteria) this; + } + + public Criteria andPasswordNotEqualTo(String value) { + addCriterion("`password` <>", value, "password"); + return (Criteria) this; + } + + public Criteria andPasswordGreaterThan(String value) { + addCriterion("`password` >", value, "password"); + return (Criteria) this; + } + + public Criteria andPasswordGreaterThanOrEqualTo(String value) { + addCriterion("`password` >=", value, "password"); + return (Criteria) this; + } + + public Criteria andPasswordLessThan(String value) { + addCriterion("`password` <", value, "password"); + return (Criteria) this; + } + + public Criteria andPasswordLessThanOrEqualTo(String value) { + addCriterion("`password` <=", value, "password"); + return (Criteria) this; + } + + public Criteria andPasswordLike(String value) { + addCriterion("`password` like", value, "password"); + return (Criteria) this; + } + + public Criteria andPasswordNotLike(String value) { + addCriterion("`password` not like", value, "password"); + return (Criteria) this; + } + + public Criteria andPasswordIn(List values) { + addCriterion("`password` in", values, "password"); + return (Criteria) this; + } + + public Criteria andPasswordNotIn(List values) { + addCriterion("`password` not in", values, "password"); + return (Criteria) this; + } + + public Criteria andPasswordBetween(String value1, String value2) { + addCriterion("`password` between", value1, value2, "password"); + return (Criteria) this; + } + + public Criteria andPasswordNotBetween(String value1, String value2) { + addCriterion("`password` not between", value1, value2, "password"); + return (Criteria) this; + } + + public Criteria andAuthKeyIsNull() { + addCriterion("auth_key is null"); + return (Criteria) this; + } + + public Criteria andAuthKeyIsNotNull() { + addCriterion("auth_key is not null"); + return (Criteria) this; + } + + public Criteria andAuthKeyEqualTo(String value) { + addCriterion("auth_key =", value, "authKey"); + return (Criteria) this; + } + + public Criteria andAuthKeyNotEqualTo(String value) { + addCriterion("auth_key <>", value, "authKey"); + return (Criteria) this; + } + + public Criteria andAuthKeyGreaterThan(String value) { + addCriterion("auth_key >", value, "authKey"); + return (Criteria) this; + } + + public Criteria andAuthKeyGreaterThanOrEqualTo(String value) { + addCriterion("auth_key >=", value, "authKey"); + return (Criteria) this; + } + + public Criteria andAuthKeyLessThan(String value) { + addCriterion("auth_key <", value, "authKey"); + return (Criteria) this; + } + + public Criteria andAuthKeyLessThanOrEqualTo(String value) { + addCriterion("auth_key <=", value, "authKey"); + return (Criteria) this; + } + + public Criteria andAuthKeyLike(String value) { + addCriterion("auth_key like", value, "authKey"); + return (Criteria) this; + } + + public Criteria andAuthKeyNotLike(String value) { + addCriterion("auth_key not like", value, "authKey"); + return (Criteria) this; + } + + public Criteria andAuthKeyIn(List values) { + addCriterion("auth_key in", values, "authKey"); + return (Criteria) this; + } + + public Criteria andAuthKeyNotIn(List values) { + addCriterion("auth_key not in", values, "authKey"); + return (Criteria) this; + } + + public Criteria andAuthKeyBetween(String value1, String value2) { + addCriterion("auth_key between", value1, value2, "authKey"); + return (Criteria) this; + } + + public Criteria andAuthKeyNotBetween(String value1, String value2) { + addCriterion("auth_key not between", value1, value2, "authKey"); + return (Criteria) this; + } + + public Criteria andAccessTokenIsNull() { + addCriterion("access_token is null"); + return (Criteria) this; + } + + public Criteria andAccessTokenIsNotNull() { + addCriterion("access_token is not null"); + return (Criteria) this; + } + + public Criteria andAccessTokenEqualTo(String value) { + addCriterion("access_token =", value, "accessToken"); + return (Criteria) this; + } + + public Criteria andAccessTokenNotEqualTo(String value) { + addCriterion("access_token <>", value, "accessToken"); + return (Criteria) this; + } + + public Criteria andAccessTokenGreaterThan(String value) { + addCriterion("access_token >", value, "accessToken"); + return (Criteria) this; + } + + public Criteria andAccessTokenGreaterThanOrEqualTo(String value) { + addCriterion("access_token >=", value, "accessToken"); + return (Criteria) this; + } + + public Criteria andAccessTokenLessThan(String value) { + addCriterion("access_token <", value, "accessToken"); + return (Criteria) this; + } + + public Criteria andAccessTokenLessThanOrEqualTo(String value) { + addCriterion("access_token <=", value, "accessToken"); + return (Criteria) this; + } + + public Criteria andAccessTokenLike(String value) { + addCriterion("access_token like", value, "accessToken"); + return (Criteria) this; + } + + public Criteria andAccessTokenNotLike(String value) { + addCriterion("access_token not like", value, "accessToken"); + return (Criteria) this; + } + + public Criteria andAccessTokenIn(List values) { + addCriterion("access_token in", values, "accessToken"); + return (Criteria) this; + } + + public Criteria andAccessTokenNotIn(List values) { + addCriterion("access_token not in", values, "accessToken"); + return (Criteria) this; + } + + public Criteria andAccessTokenBetween(String value1, String value2) { + addCriterion("access_token between", value1, value2, "accessToken"); + return (Criteria) this; + } + + public Criteria andAccessTokenNotBetween(String value1, String value2) { + addCriterion("access_token not between", value1, value2, "accessToken"); + return (Criteria) this; + } + + public Criteria andAddtimeIsNull() { + addCriterion("addtime is null"); + return (Criteria) this; + } + + public Criteria andAddtimeIsNotNull() { + addCriterion("addtime is not null"); + return (Criteria) this; + } + + public Criteria andAddtimeEqualTo(Integer value) { + addCriterion("addtime =", value, "addtime"); + return (Criteria) this; + } + + public Criteria andAddtimeNotEqualTo(Integer value) { + addCriterion("addtime <>", value, "addtime"); + return (Criteria) this; + } + + public Criteria andAddtimeGreaterThan(Integer value) { + addCriterion("addtime >", value, "addtime"); + return (Criteria) this; + } + + public Criteria andAddtimeGreaterThanOrEqualTo(Integer value) { + addCriterion("addtime >=", value, "addtime"); + return (Criteria) this; + } + + public Criteria andAddtimeLessThan(Integer value) { + addCriterion("addtime <", value, "addtime"); + return (Criteria) this; + } + + public Criteria andAddtimeLessThanOrEqualTo(Integer value) { + addCriterion("addtime <=", value, "addtime"); + return (Criteria) this; + } + + public Criteria andAddtimeIn(List values) { + addCriterion("addtime in", values, "addtime"); + return (Criteria) this; + } + + public Criteria andAddtimeNotIn(List values) { + addCriterion("addtime not in", values, "addtime"); + return (Criteria) this; + } + + public Criteria andAddtimeBetween(Integer value1, Integer value2) { + addCriterion("addtime between", value1, value2, "addtime"); + return (Criteria) this; + } + + public Criteria andAddtimeNotBetween(Integer value1, Integer value2) { + addCriterion("addtime not between", value1, value2, "addtime"); + return (Criteria) this; + } + + public Criteria andIsDeleteIsNull() { + addCriterion("is_delete is null"); + return (Criteria) this; + } + + public Criteria andIsDeleteIsNotNull() { + addCriterion("is_delete is not null"); + return (Criteria) this; + } + + public Criteria andIsDeleteEqualTo(Short value) { + addCriterion("is_delete =", value, "isDelete"); + return (Criteria) this; + } + + public Criteria andIsDeleteNotEqualTo(Short value) { + addCriterion("is_delete <>", value, "isDelete"); + return (Criteria) this; + } + + public Criteria andIsDeleteGreaterThan(Short value) { + addCriterion("is_delete >", value, "isDelete"); + return (Criteria) this; + } + + public Criteria andIsDeleteGreaterThanOrEqualTo(Short value) { + addCriterion("is_delete >=", value, "isDelete"); + return (Criteria) this; + } + + public Criteria andIsDeleteLessThan(Short value) { + addCriterion("is_delete <", value, "isDelete"); + return (Criteria) this; + } + + public Criteria andIsDeleteLessThanOrEqualTo(Short value) { + addCriterion("is_delete <=", value, "isDelete"); + return (Criteria) this; + } + + public Criteria andIsDeleteIn(List values) { + addCriterion("is_delete in", values, "isDelete"); + return (Criteria) this; + } + + public Criteria andIsDeleteNotIn(List values) { + addCriterion("is_delete not in", values, "isDelete"); + return (Criteria) this; + } + + public Criteria andIsDeleteBetween(Short value1, Short value2) { + addCriterion("is_delete between", value1, value2, "isDelete"); + return (Criteria) this; + } + + public Criteria andIsDeleteNotBetween(Short value1, Short value2) { + addCriterion("is_delete not between", value1, value2, "isDelete"); + return (Criteria) this; + } + + public Criteria andWechatOpenIdIsNull() { + addCriterion("wechat_open_id is null"); + return (Criteria) this; + } + + public Criteria andWechatOpenIdIsNotNull() { + addCriterion("wechat_open_id is not null"); + return (Criteria) this; + } + + public Criteria andWechatOpenIdEqualTo(String value) { + addCriterion("wechat_open_id =", value, "wechatOpenId"); + return (Criteria) this; + } + + public Criteria andWechatOpenIdNotEqualTo(String value) { + addCriterion("wechat_open_id <>", value, "wechatOpenId"); + return (Criteria) this; + } + + public Criteria andWechatOpenIdGreaterThan(String value) { + addCriterion("wechat_open_id >", value, "wechatOpenId"); + return (Criteria) this; + } + + public Criteria andWechatOpenIdGreaterThanOrEqualTo(String value) { + addCriterion("wechat_open_id >=", value, "wechatOpenId"); + return (Criteria) this; + } + + public Criteria andWechatOpenIdLessThan(String value) { + addCriterion("wechat_open_id <", value, "wechatOpenId"); + return (Criteria) this; + } + + public Criteria andWechatOpenIdLessThanOrEqualTo(String value) { + addCriterion("wechat_open_id <=", value, "wechatOpenId"); + return (Criteria) this; + } + + public Criteria andWechatOpenIdLike(String value) { + addCriterion("wechat_open_id like", value, "wechatOpenId"); + return (Criteria) this; + } + + public Criteria andWechatOpenIdNotLike(String value) { + addCriterion("wechat_open_id not like", value, "wechatOpenId"); + return (Criteria) this; + } + + public Criteria andWechatOpenIdIn(List values) { + addCriterion("wechat_open_id in", values, "wechatOpenId"); + return (Criteria) this; + } + + public Criteria andWechatOpenIdNotIn(List values) { + addCriterion("wechat_open_id not in", values, "wechatOpenId"); + return (Criteria) this; + } + + public Criteria andWechatOpenIdBetween(String value1, String value2) { + addCriterion("wechat_open_id between", value1, value2, "wechatOpenId"); + return (Criteria) this; + } + + public Criteria andWechatOpenIdNotBetween(String value1, String value2) { + addCriterion("wechat_open_id not between", value1, value2, "wechatOpenId"); + return (Criteria) this; + } + + public Criteria andWechatUnionIdIsNull() { + addCriterion("wechat_union_id is null"); + return (Criteria) this; + } + + public Criteria andWechatUnionIdIsNotNull() { + addCriterion("wechat_union_id is not null"); + return (Criteria) this; + } + + public Criteria andWechatUnionIdEqualTo(String value) { + addCriterion("wechat_union_id =", value, "wechatUnionId"); + return (Criteria) this; + } + + public Criteria andWechatUnionIdNotEqualTo(String value) { + addCriterion("wechat_union_id <>", value, "wechatUnionId"); + return (Criteria) this; + } + + public Criteria andWechatUnionIdGreaterThan(String value) { + addCriterion("wechat_union_id >", value, "wechatUnionId"); + return (Criteria) this; + } + + public Criteria andWechatUnionIdGreaterThanOrEqualTo(String value) { + addCriterion("wechat_union_id >=", value, "wechatUnionId"); + return (Criteria) this; + } + + public Criteria andWechatUnionIdLessThan(String value) { + addCriterion("wechat_union_id <", value, "wechatUnionId"); + return (Criteria) this; + } + + public Criteria andWechatUnionIdLessThanOrEqualTo(String value) { + addCriterion("wechat_union_id <=", value, "wechatUnionId"); + return (Criteria) this; + } + + public Criteria andWechatUnionIdLike(String value) { + addCriterion("wechat_union_id like", value, "wechatUnionId"); + return (Criteria) this; + } + + public Criteria andWechatUnionIdNotLike(String value) { + addCriterion("wechat_union_id not like", value, "wechatUnionId"); + return (Criteria) this; + } + + public Criteria andWechatUnionIdIn(List values) { + addCriterion("wechat_union_id in", values, "wechatUnionId"); + return (Criteria) this; + } + + public Criteria andWechatUnionIdNotIn(List values) { + addCriterion("wechat_union_id not in", values, "wechatUnionId"); + return (Criteria) this; + } + + public Criteria andWechatUnionIdBetween(String value1, String value2) { + addCriterion("wechat_union_id between", value1, value2, "wechatUnionId"); + return (Criteria) this; + } + + public Criteria andWechatUnionIdNotBetween(String value1, String value2) { + addCriterion("wechat_union_id not between", value1, value2, "wechatUnionId"); + return (Criteria) this; + } + + public Criteria andNicknameIsNull() { + addCriterion("nickname is null"); + return (Criteria) this; + } + + public Criteria andNicknameIsNotNull() { + addCriterion("nickname is not null"); + return (Criteria) this; + } + + public Criteria andNicknameEqualTo(String value) { + addCriterion("nickname =", value, "nickname"); + return (Criteria) this; + } + + public Criteria andNicknameNotEqualTo(String value) { + addCriterion("nickname <>", value, "nickname"); + return (Criteria) this; + } + + public Criteria andNicknameGreaterThan(String value) { + addCriterion("nickname >", value, "nickname"); + return (Criteria) this; + } + + public Criteria andNicknameGreaterThanOrEqualTo(String value) { + addCriterion("nickname >=", value, "nickname"); + return (Criteria) this; + } + + public Criteria andNicknameLessThan(String value) { + addCriterion("nickname <", value, "nickname"); + return (Criteria) this; + } + + public Criteria andNicknameLessThanOrEqualTo(String value) { + addCriterion("nickname <=", value, "nickname"); + return (Criteria) this; + } + + public Criteria andNicknameLike(String value) { + addCriterion("nickname like", value, "nickname"); + return (Criteria) this; + } + + public Criteria andNicknameNotLike(String value) { + addCriterion("nickname not like", value, "nickname"); + return (Criteria) this; + } + + public Criteria andNicknameIn(List values) { + addCriterion("nickname in", values, "nickname"); + return (Criteria) this; + } + + public Criteria andNicknameNotIn(List values) { + addCriterion("nickname not in", values, "nickname"); + return (Criteria) this; + } + + public Criteria andNicknameBetween(String value1, String value2) { + addCriterion("nickname between", value1, value2, "nickname"); + return (Criteria) this; + } + + public Criteria andNicknameNotBetween(String value1, String value2) { + addCriterion("nickname not between", value1, value2, "nickname"); + return (Criteria) this; + } + + public Criteria andAvatarUrlIsNull() { + addCriterion("avatar_url is null"); + return (Criteria) this; + } + + public Criteria andAvatarUrlIsNotNull() { + addCriterion("avatar_url is not null"); + return (Criteria) this; + } + + public Criteria andAvatarUrlEqualTo(String value) { + addCriterion("avatar_url =", value, "avatarUrl"); + return (Criteria) this; + } + + public Criteria andAvatarUrlNotEqualTo(String value) { + addCriterion("avatar_url <>", value, "avatarUrl"); + return (Criteria) this; + } + + public Criteria andAvatarUrlGreaterThan(String value) { + addCriterion("avatar_url >", value, "avatarUrl"); + return (Criteria) this; + } + + public Criteria andAvatarUrlGreaterThanOrEqualTo(String value) { + addCriterion("avatar_url >=", value, "avatarUrl"); + return (Criteria) this; + } + + public Criteria andAvatarUrlLessThan(String value) { + addCriterion("avatar_url <", value, "avatarUrl"); + return (Criteria) this; + } + + public Criteria andAvatarUrlLessThanOrEqualTo(String value) { + addCriterion("avatar_url <=", value, "avatarUrl"); + return (Criteria) this; + } + + public Criteria andAvatarUrlLike(String value) { + addCriterion("avatar_url like", value, "avatarUrl"); + return (Criteria) this; + } + + public Criteria andAvatarUrlNotLike(String value) { + addCriterion("avatar_url not like", value, "avatarUrl"); + return (Criteria) this; + } + + public Criteria andAvatarUrlIn(List values) { + addCriterion("avatar_url in", values, "avatarUrl"); + return (Criteria) this; + } + + public Criteria andAvatarUrlNotIn(List values) { + addCriterion("avatar_url not in", values, "avatarUrl"); + return (Criteria) this; + } + + public Criteria andAvatarUrlBetween(String value1, String value2) { + addCriterion("avatar_url between", value1, value2, "avatarUrl"); + return (Criteria) this; + } + + public Criteria andAvatarUrlNotBetween(String value1, String value2) { + addCriterion("avatar_url not between", value1, value2, "avatarUrl"); + return (Criteria) this; + } + + public Criteria andStoreIdIsNull() { + addCriterion("store_id is null"); + return (Criteria) this; + } + + public Criteria andStoreIdIsNotNull() { + addCriterion("store_id is not null"); + return (Criteria) this; + } + + public Criteria andStoreIdEqualTo(Integer value) { + addCriterion("store_id =", value, "storeId"); + return (Criteria) this; + } + + public Criteria andStoreIdNotEqualTo(Integer value) { + addCriterion("store_id <>", value, "storeId"); + return (Criteria) this; + } + + public Criteria andStoreIdGreaterThan(Integer value) { + addCriterion("store_id >", value, "storeId"); + return (Criteria) this; + } + + public Criteria andStoreIdGreaterThanOrEqualTo(Integer value) { + addCriterion("store_id >=", value, "storeId"); + return (Criteria) this; + } + + public Criteria andStoreIdLessThan(Integer value) { + addCriterion("store_id <", value, "storeId"); + return (Criteria) this; + } + + public Criteria andStoreIdLessThanOrEqualTo(Integer value) { + addCriterion("store_id <=", value, "storeId"); + return (Criteria) this; + } + + public Criteria andStoreIdIn(List values) { + addCriterion("store_id in", values, "storeId"); + return (Criteria) this; + } + + public Criteria andStoreIdNotIn(List values) { + addCriterion("store_id not in", values, "storeId"); + return (Criteria) this; + } + + public Criteria andStoreIdBetween(Integer value1, Integer value2) { + addCriterion("store_id between", value1, value2, "storeId"); + return (Criteria) this; + } + + public Criteria andStoreIdNotBetween(Integer value1, Integer value2) { + addCriterion("store_id not between", value1, value2, "storeId"); + return (Criteria) this; + } + + public Criteria andIsDistributorIsNull() { + addCriterion("is_distributor is null"); + return (Criteria) this; + } + + public Criteria andIsDistributorIsNotNull() { + addCriterion("is_distributor is not null"); + return (Criteria) this; + } + + public Criteria andIsDistributorEqualTo(Integer value) { + addCriterion("is_distributor =", value, "isDistributor"); + return (Criteria) this; + } + + public Criteria andIsDistributorNotEqualTo(Integer value) { + addCriterion("is_distributor <>", value, "isDistributor"); + return (Criteria) this; + } + + public Criteria andIsDistributorGreaterThan(Integer value) { + addCriterion("is_distributor >", value, "isDistributor"); + return (Criteria) this; + } + + public Criteria andIsDistributorGreaterThanOrEqualTo(Integer value) { + addCriterion("is_distributor >=", value, "isDistributor"); + return (Criteria) this; + } + + public Criteria andIsDistributorLessThan(Integer value) { + addCriterion("is_distributor <", value, "isDistributor"); + return (Criteria) this; + } + + public Criteria andIsDistributorLessThanOrEqualTo(Integer value) { + addCriterion("is_distributor <=", value, "isDistributor"); + return (Criteria) this; + } + + public Criteria andIsDistributorIn(List values) { + addCriterion("is_distributor in", values, "isDistributor"); + return (Criteria) this; + } + + public Criteria andIsDistributorNotIn(List values) { + addCriterion("is_distributor not in", values, "isDistributor"); + return (Criteria) this; + } + + public Criteria andIsDistributorBetween(Integer value1, Integer value2) { + addCriterion("is_distributor between", value1, value2, "isDistributor"); + return (Criteria) this; + } + + public Criteria andIsDistributorNotBetween(Integer value1, Integer value2) { + addCriterion("is_distributor not between", value1, value2, "isDistributor"); + return (Criteria) this; + } + + public Criteria andParentIdIsNull() { + addCriterion("parent_id is null"); + return (Criteria) this; + } + + public Criteria andParentIdIsNotNull() { + addCriterion("parent_id is not null"); + return (Criteria) this; + } + + public Criteria andParentIdEqualTo(Integer value) { + addCriterion("parent_id =", value, "parentId"); + return (Criteria) this; + } + + public Criteria andParentIdNotEqualTo(Integer value) { + addCriterion("parent_id <>", value, "parentId"); + return (Criteria) this; + } + + public Criteria andParentIdGreaterThan(Integer value) { + addCriterion("parent_id >", value, "parentId"); + return (Criteria) this; + } + + public Criteria andParentIdGreaterThanOrEqualTo(Integer value) { + addCriterion("parent_id >=", value, "parentId"); + return (Criteria) this; + } + + public Criteria andParentIdLessThan(Integer value) { + addCriterion("parent_id <", value, "parentId"); + return (Criteria) this; + } + + public Criteria andParentIdLessThanOrEqualTo(Integer value) { + addCriterion("parent_id <=", value, "parentId"); + return (Criteria) this; + } + + public Criteria andParentIdIn(List values) { + addCriterion("parent_id in", values, "parentId"); + return (Criteria) this; + } + + public Criteria andParentIdNotIn(List values) { + addCriterion("parent_id not in", values, "parentId"); + return (Criteria) this; + } + + public Criteria andParentIdBetween(Integer value1, Integer value2) { + addCriterion("parent_id between", value1, value2, "parentId"); + return (Criteria) this; + } + + public Criteria andParentIdNotBetween(Integer value1, Integer value2) { + addCriterion("parent_id not between", value1, value2, "parentId"); + return (Criteria) this; + } + + public Criteria andTimeIsNull() { + addCriterion("`time` is null"); + return (Criteria) this; + } + + public Criteria andTimeIsNotNull() { + addCriterion("`time` is not null"); + return (Criteria) this; + } + + public Criteria andTimeEqualTo(Integer value) { + addCriterion("`time` =", value, "time"); + return (Criteria) this; + } + + public Criteria andTimeNotEqualTo(Integer value) { + addCriterion("`time` <>", value, "time"); + return (Criteria) this; + } + + public Criteria andTimeGreaterThan(Integer value) { + addCriterion("`time` >", value, "time"); + return (Criteria) this; + } + + public Criteria andTimeGreaterThanOrEqualTo(Integer value) { + addCriterion("`time` >=", value, "time"); + return (Criteria) this; + } + + public Criteria andTimeLessThan(Integer value) { + addCriterion("`time` <", value, "time"); + return (Criteria) this; + } + + public Criteria andTimeLessThanOrEqualTo(Integer value) { + addCriterion("`time` <=", value, "time"); + return (Criteria) this; + } + + public Criteria andTimeIn(List values) { + addCriterion("`time` in", values, "time"); + return (Criteria) this; + } + + public Criteria andTimeNotIn(List values) { + addCriterion("`time` not in", values, "time"); + return (Criteria) this; + } + + public Criteria andTimeBetween(Integer value1, Integer value2) { + addCriterion("`time` between", value1, value2, "time"); + return (Criteria) this; + } + + public Criteria andTimeNotBetween(Integer value1, Integer value2) { + addCriterion("`time` not between", value1, value2, "time"); + return (Criteria) this; + } + + public Criteria andTotalPriceIsNull() { + addCriterion("total_price is null"); + return (Criteria) this; + } + + public Criteria andTotalPriceIsNotNull() { + addCriterion("total_price is not null"); + return (Criteria) this; + } + + public Criteria andTotalPriceEqualTo(BigDecimal value) { + addCriterion("total_price =", value, "totalPrice"); + return (Criteria) this; + } + + public Criteria andTotalPriceNotEqualTo(BigDecimal value) { + addCriterion("total_price <>", value, "totalPrice"); + return (Criteria) this; + } + + public Criteria andTotalPriceGreaterThan(BigDecimal value) { + addCriterion("total_price >", value, "totalPrice"); + return (Criteria) this; + } + + public Criteria andTotalPriceGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("total_price >=", value, "totalPrice"); + return (Criteria) this; + } + + public Criteria andTotalPriceLessThan(BigDecimal value) { + addCriterion("total_price <", value, "totalPrice"); + return (Criteria) this; + } + + public Criteria andTotalPriceLessThanOrEqualTo(BigDecimal value) { + addCriterion("total_price <=", value, "totalPrice"); + return (Criteria) this; + } + + public Criteria andTotalPriceIn(List values) { + addCriterion("total_price in", values, "totalPrice"); + return (Criteria) this; + } + + public Criteria andTotalPriceNotIn(List values) { + addCriterion("total_price not in", values, "totalPrice"); + return (Criteria) this; + } + + public Criteria andTotalPriceBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("total_price between", value1, value2, "totalPrice"); + return (Criteria) this; + } + + public Criteria andTotalPriceNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("total_price not between", value1, value2, "totalPrice"); + return (Criteria) this; + } + + public Criteria andPriceIsNull() { + addCriterion("price is null"); + return (Criteria) this; + } + + public Criteria andPriceIsNotNull() { + addCriterion("price is not null"); + return (Criteria) this; + } + + public Criteria andPriceEqualTo(BigDecimal value) { + addCriterion("price =", value, "price"); + return (Criteria) this; + } + + public Criteria andPriceNotEqualTo(BigDecimal value) { + addCriterion("price <>", value, "price"); + return (Criteria) this; + } + + public Criteria andPriceGreaterThan(BigDecimal value) { + addCriterion("price >", value, "price"); + return (Criteria) this; + } + + public Criteria andPriceGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("price >=", value, "price"); + return (Criteria) this; + } + + public Criteria andPriceLessThan(BigDecimal value) { + addCriterion("price <", value, "price"); + return (Criteria) this; + } + + public Criteria andPriceLessThanOrEqualTo(BigDecimal value) { + addCriterion("price <=", value, "price"); + return (Criteria) this; + } + + public Criteria andPriceIn(List values) { + addCriterion("price in", values, "price"); + return (Criteria) this; + } + + public Criteria andPriceNotIn(List values) { + addCriterion("price not in", values, "price"); + return (Criteria) this; + } + + public Criteria andPriceBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("price between", value1, value2, "price"); + return (Criteria) this; + } + + public Criteria andPriceNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("price not between", value1, value2, "price"); + return (Criteria) this; + } + + public Criteria andIsClerkIsNull() { + addCriterion("is_clerk is null"); + return (Criteria) this; + } + + public Criteria andIsClerkIsNotNull() { + addCriterion("is_clerk is not null"); + return (Criteria) this; + } + + public Criteria andIsClerkEqualTo(Integer value) { + addCriterion("is_clerk =", value, "isClerk"); + return (Criteria) this; + } + + public Criteria andIsClerkNotEqualTo(Integer value) { + addCriterion("is_clerk <>", value, "isClerk"); + return (Criteria) this; + } + + public Criteria andIsClerkGreaterThan(Integer value) { + addCriterion("is_clerk >", value, "isClerk"); + return (Criteria) this; + } + + public Criteria andIsClerkGreaterThanOrEqualTo(Integer value) { + addCriterion("is_clerk >=", value, "isClerk"); + return (Criteria) this; + } + + public Criteria andIsClerkLessThan(Integer value) { + addCriterion("is_clerk <", value, "isClerk"); + return (Criteria) this; + } + + public Criteria andIsClerkLessThanOrEqualTo(Integer value) { + addCriterion("is_clerk <=", value, "isClerk"); + return (Criteria) this; + } + + public Criteria andIsClerkIn(List values) { + addCriterion("is_clerk in", values, "isClerk"); + return (Criteria) this; + } + + public Criteria andIsClerkNotIn(List values) { + addCriterion("is_clerk not in", values, "isClerk"); + return (Criteria) this; + } + + public Criteria andIsClerkBetween(Integer value1, Integer value2) { + addCriterion("is_clerk between", value1, value2, "isClerk"); + return (Criteria) this; + } + + public Criteria andIsClerkNotBetween(Integer value1, Integer value2) { + addCriterion("is_clerk not between", value1, value2, "isClerk"); + return (Criteria) this; + } + + public Criteria andWe7UidIsNull() { + addCriterion("we7_uid is null"); + return (Criteria) this; + } + + public Criteria andWe7UidIsNotNull() { + addCriterion("we7_uid is not null"); + return (Criteria) this; + } + + public Criteria andWe7UidEqualTo(Integer value) { + addCriterion("we7_uid =", value, "we7Uid"); + return (Criteria) this; + } + + public Criteria andWe7UidNotEqualTo(Integer value) { + addCriterion("we7_uid <>", value, "we7Uid"); + return (Criteria) this; + } + + public Criteria andWe7UidGreaterThan(Integer value) { + addCriterion("we7_uid >", value, "we7Uid"); + return (Criteria) this; + } + + public Criteria andWe7UidGreaterThanOrEqualTo(Integer value) { + addCriterion("we7_uid >=", value, "we7Uid"); + return (Criteria) this; + } + + public Criteria andWe7UidLessThan(Integer value) { + addCriterion("we7_uid <", value, "we7Uid"); + return (Criteria) this; + } + + public Criteria andWe7UidLessThanOrEqualTo(Integer value) { + addCriterion("we7_uid <=", value, "we7Uid"); + return (Criteria) this; + } + + public Criteria andWe7UidIn(List values) { + addCriterion("we7_uid in", values, "we7Uid"); + return (Criteria) this; + } + + public Criteria andWe7UidNotIn(List values) { + addCriterion("we7_uid not in", values, "we7Uid"); + return (Criteria) this; + } + + public Criteria andWe7UidBetween(Integer value1, Integer value2) { + addCriterion("we7_uid between", value1, value2, "we7Uid"); + return (Criteria) this; + } + + public Criteria andWe7UidNotBetween(Integer value1, Integer value2) { + addCriterion("we7_uid not between", value1, value2, "we7Uid"); + return (Criteria) this; + } + + public Criteria andShopIdIsNull() { + addCriterion("shop_id is null"); + return (Criteria) this; + } + + public Criteria andShopIdIsNotNull() { + addCriterion("shop_id is not null"); + return (Criteria) this; + } + + public Criteria andShopIdEqualTo(Integer value) { + addCriterion("shop_id =", value, "shopId"); + return (Criteria) this; + } + + public Criteria andShopIdNotEqualTo(Integer value) { + addCriterion("shop_id <>", value, "shopId"); + return (Criteria) this; + } + + public Criteria andShopIdGreaterThan(Integer value) { + addCriterion("shop_id >", value, "shopId"); + return (Criteria) this; + } + + public Criteria andShopIdGreaterThanOrEqualTo(Integer value) { + addCriterion("shop_id >=", value, "shopId"); + return (Criteria) this; + } + + public Criteria andShopIdLessThan(Integer value) { + addCriterion("shop_id <", value, "shopId"); + return (Criteria) this; + } + + public Criteria andShopIdLessThanOrEqualTo(Integer value) { + addCriterion("shop_id <=", value, "shopId"); + return (Criteria) this; + } + + public Criteria andShopIdIn(List values) { + addCriterion("shop_id in", values, "shopId"); + return (Criteria) this; + } + + public Criteria andShopIdNotIn(List values) { + addCriterion("shop_id not in", values, "shopId"); + return (Criteria) this; + } + + public Criteria andShopIdBetween(Integer value1, Integer value2) { + addCriterion("shop_id between", value1, value2, "shopId"); + return (Criteria) this; + } + + public Criteria andShopIdNotBetween(Integer value1, Integer value2) { + addCriterion("shop_id not between", value1, value2, "shopId"); + return (Criteria) this; + } + + public Criteria andLevelIsNull() { + addCriterion("`level` is null"); + return (Criteria) this; + } + + public Criteria andLevelIsNotNull() { + addCriterion("`level` is not null"); + return (Criteria) this; + } + + public Criteria andLevelEqualTo(Integer value) { + addCriterion("`level` =", value, "level"); + return (Criteria) this; + } + + public Criteria andLevelNotEqualTo(Integer value) { + addCriterion("`level` <>", value, "level"); + return (Criteria) this; + } + + public Criteria andLevelGreaterThan(Integer value) { + addCriterion("`level` >", value, "level"); + return (Criteria) this; + } + + public Criteria andLevelGreaterThanOrEqualTo(Integer value) { + addCriterion("`level` >=", value, "level"); + return (Criteria) this; + } + + public Criteria andLevelLessThan(Integer value) { + addCriterion("`level` <", value, "level"); + return (Criteria) this; + } + + public Criteria andLevelLessThanOrEqualTo(Integer value) { + addCriterion("`level` <=", value, "level"); + return (Criteria) this; + } + + public Criteria andLevelIn(List values) { + addCriterion("`level` in", values, "level"); + return (Criteria) this; + } + + public Criteria andLevelNotIn(List values) { + addCriterion("`level` not in", values, "level"); + return (Criteria) this; + } + + public Criteria andLevelBetween(Integer value1, Integer value2) { + addCriterion("`level` between", value1, value2, "level"); + return (Criteria) this; + } + + public Criteria andLevelNotBetween(Integer value1, Integer value2) { + addCriterion("`level` not between", value1, value2, "level"); + return (Criteria) this; + } + + public Criteria andIntegralIsNull() { + addCriterion("integral is null"); + return (Criteria) this; + } + + public Criteria andIntegralIsNotNull() { + addCriterion("integral is not null"); + return (Criteria) this; + } + + public Criteria andIntegralEqualTo(Integer value) { + addCriterion("integral =", value, "integral"); + return (Criteria) this; + } + + public Criteria andIntegralNotEqualTo(Integer value) { + addCriterion("integral <>", value, "integral"); + return (Criteria) this; + } + + public Criteria andIntegralGreaterThan(Integer value) { + addCriterion("integral >", value, "integral"); + return (Criteria) this; + } + + public Criteria andIntegralGreaterThanOrEqualTo(Integer value) { + addCriterion("integral >=", value, "integral"); + return (Criteria) this; + } + + public Criteria andIntegralLessThan(Integer value) { + addCriterion("integral <", value, "integral"); + return (Criteria) this; + } + + public Criteria andIntegralLessThanOrEqualTo(Integer value) { + addCriterion("integral <=", value, "integral"); + return (Criteria) this; + } + + public Criteria andIntegralIn(List values) { + addCriterion("integral in", values, "integral"); + return (Criteria) this; + } + + public Criteria andIntegralNotIn(List values) { + addCriterion("integral not in", values, "integral"); + return (Criteria) this; + } + + public Criteria andIntegralBetween(Integer value1, Integer value2) { + addCriterion("integral between", value1, value2, "integral"); + return (Criteria) this; + } + + public Criteria andIntegralNotBetween(Integer value1, Integer value2) { + addCriterion("integral not between", value1, value2, "integral"); + return (Criteria) this; + } + + public Criteria andTotalIntegralIsNull() { + addCriterion("total_integral is null"); + return (Criteria) this; + } + + public Criteria andTotalIntegralIsNotNull() { + addCriterion("total_integral is not null"); + return (Criteria) this; + } + + public Criteria andTotalIntegralEqualTo(Integer value) { + addCriterion("total_integral =", value, "totalIntegral"); + return (Criteria) this; + } + + public Criteria andTotalIntegralNotEqualTo(Integer value) { + addCriterion("total_integral <>", value, "totalIntegral"); + return (Criteria) this; + } + + public Criteria andTotalIntegralGreaterThan(Integer value) { + addCriterion("total_integral >", value, "totalIntegral"); + return (Criteria) this; + } + + public Criteria andTotalIntegralGreaterThanOrEqualTo(Integer value) { + addCriterion("total_integral >=", value, "totalIntegral"); + return (Criteria) this; + } + + public Criteria andTotalIntegralLessThan(Integer value) { + addCriterion("total_integral <", value, "totalIntegral"); + return (Criteria) this; + } + + public Criteria andTotalIntegralLessThanOrEqualTo(Integer value) { + addCriterion("total_integral <=", value, "totalIntegral"); + return (Criteria) this; + } + + public Criteria andTotalIntegralIn(List values) { + addCriterion("total_integral in", values, "totalIntegral"); + return (Criteria) this; + } + + public Criteria andTotalIntegralNotIn(List values) { + addCriterion("total_integral not in", values, "totalIntegral"); + return (Criteria) this; + } + + public Criteria andTotalIntegralBetween(Integer value1, Integer value2) { + addCriterion("total_integral between", value1, value2, "totalIntegral"); + return (Criteria) this; + } + + public Criteria andTotalIntegralNotBetween(Integer value1, Integer value2) { + addCriterion("total_integral not between", value1, value2, "totalIntegral"); + return (Criteria) this; + } + + public Criteria andMoneyIsNull() { + addCriterion("money is null"); + return (Criteria) this; + } + + public Criteria andMoneyIsNotNull() { + addCriterion("money is not null"); + return (Criteria) this; + } + + public Criteria andMoneyEqualTo(BigDecimal value) { + addCriterion("money =", value, "money"); + return (Criteria) this; + } + + public Criteria andMoneyNotEqualTo(BigDecimal value) { + addCriterion("money <>", value, "money"); + return (Criteria) this; + } + + public Criteria andMoneyGreaterThan(BigDecimal value) { + addCriterion("money >", value, "money"); + return (Criteria) this; + } + + public Criteria andMoneyGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("money >=", value, "money"); + return (Criteria) this; + } + + public Criteria andMoneyLessThan(BigDecimal value) { + addCriterion("money <", value, "money"); + return (Criteria) this; + } + + public Criteria andMoneyLessThanOrEqualTo(BigDecimal value) { + addCriterion("money <=", value, "money"); + return (Criteria) this; + } + + public Criteria andMoneyIn(List values) { + addCriterion("money in", values, "money"); + return (Criteria) this; + } + + public Criteria andMoneyNotIn(List values) { + addCriterion("money not in", values, "money"); + return (Criteria) this; + } + + public Criteria andMoneyBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("money between", value1, value2, "money"); + return (Criteria) this; + } + + public Criteria andMoneyNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("money not between", value1, value2, "money"); + return (Criteria) this; + } + + public Criteria andContactWayIsNull() { + addCriterion("contact_way is null"); + return (Criteria) this; + } + + public Criteria andContactWayIsNotNull() { + addCriterion("contact_way is not null"); + return (Criteria) this; + } + + public Criteria andContactWayEqualTo(String value) { + addCriterion("contact_way =", value, "contactWay"); + return (Criteria) this; + } + + public Criteria andContactWayNotEqualTo(String value) { + addCriterion("contact_way <>", value, "contactWay"); + return (Criteria) this; + } + + public Criteria andContactWayGreaterThan(String value) { + addCriterion("contact_way >", value, "contactWay"); + return (Criteria) this; + } + + public Criteria andContactWayGreaterThanOrEqualTo(String value) { + addCriterion("contact_way >=", value, "contactWay"); + return (Criteria) this; + } + + public Criteria andContactWayLessThan(String value) { + addCriterion("contact_way <", value, "contactWay"); + return (Criteria) this; + } + + public Criteria andContactWayLessThanOrEqualTo(String value) { + addCriterion("contact_way <=", value, "contactWay"); + return (Criteria) this; + } + + public Criteria andContactWayLike(String value) { + addCriterion("contact_way like", value, "contactWay"); + return (Criteria) this; + } + + public Criteria andContactWayNotLike(String value) { + addCriterion("contact_way not like", value, "contactWay"); + return (Criteria) this; + } + + public Criteria andContactWayIn(List values) { + addCriterion("contact_way in", values, "contactWay"); + return (Criteria) this; + } + + public Criteria andContactWayNotIn(List values) { + addCriterion("contact_way not in", values, "contactWay"); + return (Criteria) this; + } + + public Criteria andContactWayBetween(String value1, String value2) { + addCriterion("contact_way between", value1, value2, "contactWay"); + return (Criteria) this; + } + + public Criteria andContactWayNotBetween(String value1, String value2) { + addCriterion("contact_way not between", value1, value2, "contactWay"); + return (Criteria) this; + } + + public Criteria andCommentsIsNull() { + addCriterion("comments is null"); + return (Criteria) this; + } + + public Criteria andCommentsIsNotNull() { + addCriterion("comments is not null"); + return (Criteria) this; + } + + public Criteria andCommentsEqualTo(String value) { + addCriterion("comments =", value, "comments"); + return (Criteria) this; + } + + public Criteria andCommentsNotEqualTo(String value) { + addCriterion("comments <>", value, "comments"); + return (Criteria) this; + } + + public Criteria andCommentsGreaterThan(String value) { + addCriterion("comments >", value, "comments"); + return (Criteria) this; + } + + public Criteria andCommentsGreaterThanOrEqualTo(String value) { + addCriterion("comments >=", value, "comments"); + return (Criteria) this; + } + + public Criteria andCommentsLessThan(String value) { + addCriterion("comments <", value, "comments"); + return (Criteria) this; + } + + public Criteria andCommentsLessThanOrEqualTo(String value) { + addCriterion("comments <=", value, "comments"); + return (Criteria) this; + } + + public Criteria andCommentsLike(String value) { + addCriterion("comments like", value, "comments"); + return (Criteria) this; + } + + public Criteria andCommentsNotLike(String value) { + addCriterion("comments not like", value, "comments"); + return (Criteria) this; + } + + public Criteria andCommentsIn(List values) { + addCriterion("comments in", values, "comments"); + return (Criteria) this; + } + + public Criteria andCommentsNotIn(List values) { + addCriterion("comments not in", values, "comments"); + return (Criteria) this; + } + + public Criteria andCommentsBetween(String value1, String value2) { + addCriterion("comments between", value1, value2, "comments"); + return (Criteria) this; + } + + public Criteria andCommentsNotBetween(String value1, String value2) { + addCriterion("comments not between", value1, value2, "comments"); + return (Criteria) this; + } + + public Criteria andBindingIsNull() { + addCriterion("binding is null"); + return (Criteria) this; + } + + public Criteria andBindingIsNotNull() { + addCriterion("binding is not null"); + return (Criteria) this; + } + + public Criteria andBindingEqualTo(String value) { + addCriterion("binding =", value, "binding"); + return (Criteria) this; + } + + public Criteria andBindingNotEqualTo(String value) { + addCriterion("binding <>", value, "binding"); + return (Criteria) this; + } + + public Criteria andBindingGreaterThan(String value) { + addCriterion("binding >", value, "binding"); + return (Criteria) this; + } + + public Criteria andBindingGreaterThanOrEqualTo(String value) { + addCriterion("binding >=", value, "binding"); + return (Criteria) this; + } + + public Criteria andBindingLessThan(String value) { + addCriterion("binding <", value, "binding"); + return (Criteria) this; + } + + public Criteria andBindingLessThanOrEqualTo(String value) { + addCriterion("binding <=", value, "binding"); + return (Criteria) this; + } + + public Criteria andBindingLike(String value) { + addCriterion("binding like", value, "binding"); + return (Criteria) this; + } + + public Criteria andBindingNotLike(String value) { + addCriterion("binding not like", value, "binding"); + return (Criteria) this; + } + + public Criteria andBindingIn(List values) { + addCriterion("binding in", values, "binding"); + return (Criteria) this; + } + + public Criteria andBindingNotIn(List values) { + addCriterion("binding not in", values, "binding"); + return (Criteria) this; + } + + public Criteria andBindingBetween(String value1, String value2) { + addCriterion("binding between", value1, value2, "binding"); + return (Criteria) this; + } + + public Criteria andBindingNotBetween(String value1, String value2) { + addCriterion("binding not between", value1, value2, "binding"); + return (Criteria) this; + } + + public Criteria andWechatPlatformOpenIdIsNull() { + addCriterion("wechat_platform_open_id is null"); + return (Criteria) this; + } + + public Criteria andWechatPlatformOpenIdIsNotNull() { + addCriterion("wechat_platform_open_id is not null"); + return (Criteria) this; + } + + public Criteria andWechatPlatformOpenIdEqualTo(String value) { + addCriterion("wechat_platform_open_id =", value, "wechatPlatformOpenId"); + return (Criteria) this; + } + + public Criteria andWechatPlatformOpenIdNotEqualTo(String value) { + addCriterion("wechat_platform_open_id <>", value, "wechatPlatformOpenId"); + return (Criteria) this; + } + + public Criteria andWechatPlatformOpenIdGreaterThan(String value) { + addCriterion("wechat_platform_open_id >", value, "wechatPlatformOpenId"); + return (Criteria) this; + } + + public Criteria andWechatPlatformOpenIdGreaterThanOrEqualTo(String value) { + addCriterion("wechat_platform_open_id >=", value, "wechatPlatformOpenId"); + return (Criteria) this; + } + + public Criteria andWechatPlatformOpenIdLessThan(String value) { + addCriterion("wechat_platform_open_id <", value, "wechatPlatformOpenId"); + return (Criteria) this; + } + + public Criteria andWechatPlatformOpenIdLessThanOrEqualTo(String value) { + addCriterion("wechat_platform_open_id <=", value, "wechatPlatformOpenId"); + return (Criteria) this; + } + + public Criteria andWechatPlatformOpenIdLike(String value) { + addCriterion("wechat_platform_open_id like", value, "wechatPlatformOpenId"); + return (Criteria) this; + } + + public Criteria andWechatPlatformOpenIdNotLike(String value) { + addCriterion("wechat_platform_open_id not like", value, "wechatPlatformOpenId"); + return (Criteria) this; + } + + public Criteria andWechatPlatformOpenIdIn(List values) { + addCriterion("wechat_platform_open_id in", values, "wechatPlatformOpenId"); + return (Criteria) this; + } + + public Criteria andWechatPlatformOpenIdNotIn(List values) { + addCriterion("wechat_platform_open_id not in", values, "wechatPlatformOpenId"); + return (Criteria) this; + } + + public Criteria andWechatPlatformOpenIdBetween(String value1, String value2) { + addCriterion("wechat_platform_open_id between", value1, value2, "wechatPlatformOpenId"); + return (Criteria) this; + } + + public Criteria andWechatPlatformOpenIdNotBetween(String value1, String value2) { + addCriterion("wechat_platform_open_id not between", value1, value2, "wechatPlatformOpenId"); + return (Criteria) this; + } + + public Criteria andPlatformIsNull() { + addCriterion("platform is null"); + return (Criteria) this; + } + + public Criteria andPlatformIsNotNull() { + addCriterion("platform is not null"); + return (Criteria) this; + } + + public Criteria andPlatformEqualTo(Byte value) { + addCriterion("platform =", value, "platform"); + return (Criteria) this; + } + + public Criteria andPlatformNotEqualTo(Byte value) { + addCriterion("platform <>", value, "platform"); + return (Criteria) this; + } + + public Criteria andPlatformGreaterThan(Byte value) { + addCriterion("platform >", value, "platform"); + return (Criteria) this; + } + + public Criteria andPlatformGreaterThanOrEqualTo(Byte value) { + addCriterion("platform >=", value, "platform"); + return (Criteria) this; + } + + public Criteria andPlatformLessThan(Byte value) { + addCriterion("platform <", value, "platform"); + return (Criteria) this; + } + + public Criteria andPlatformLessThanOrEqualTo(Byte value) { + addCriterion("platform <=", value, "platform"); + return (Criteria) this; + } + + public Criteria andPlatformIn(List values) { + addCriterion("platform in", values, "platform"); + return (Criteria) this; + } + + public Criteria andPlatformNotIn(List values) { + addCriterion("platform not in", values, "platform"); + return (Criteria) this; + } + + public Criteria andPlatformBetween(Byte value1, Byte value2) { + addCriterion("platform between", value1, value2, "platform"); + return (Criteria) this; + } + + public Criteria andPlatformNotBetween(Byte value1, Byte value2) { + addCriterion("platform not between", value1, value2, "platform"); + return (Criteria) this; + } + + public Criteria andBlacklistIsNull() { + addCriterion("blacklist is null"); + return (Criteria) this; + } + + public Criteria andBlacklistIsNotNull() { + addCriterion("blacklist is not null"); + return (Criteria) this; + } + + public Criteria andBlacklistEqualTo(Boolean value) { + addCriterion("blacklist =", value, "blacklist"); + return (Criteria) this; + } + + public Criteria andBlacklistNotEqualTo(Boolean value) { + addCriterion("blacklist <>", value, "blacklist"); + return (Criteria) this; + } + + public Criteria andBlacklistGreaterThan(Boolean value) { + addCriterion("blacklist >", value, "blacklist"); + return (Criteria) this; + } + + public Criteria andBlacklistGreaterThanOrEqualTo(Boolean value) { + addCriterion("blacklist >=", value, "blacklist"); + return (Criteria) this; + } + + public Criteria andBlacklistLessThan(Boolean value) { + addCriterion("blacklist <", value, "blacklist"); + return (Criteria) this; + } + + public Criteria andBlacklistLessThanOrEqualTo(Boolean value) { + addCriterion("blacklist <=", value, "blacklist"); + return (Criteria) this; + } + + public Criteria andBlacklistIn(List values) { + addCriterion("blacklist in", values, "blacklist"); + return (Criteria) this; + } + + public Criteria andBlacklistNotIn(List values) { + addCriterion("blacklist not in", values, "blacklist"); + return (Criteria) this; + } + + public Criteria andBlacklistBetween(Boolean value1, Boolean value2) { + addCriterion("blacklist between", value1, value2, "blacklist"); + return (Criteria) this; + } + + public Criteria andBlacklistNotBetween(Boolean value1, Boolean value2) { + addCriterion("blacklist not between", value1, value2, "blacklist"); + return (Criteria) this; + } + + public Criteria andParentUserIdIsNull() { + addCriterion("parent_user_id is null"); + return (Criteria) this; + } + + public Criteria andParentUserIdIsNotNull() { + addCriterion("parent_user_id is not null"); + return (Criteria) this; + } + + public Criteria andParentUserIdEqualTo(Integer value) { + addCriterion("parent_user_id =", value, "parentUserId"); + return (Criteria) this; + } + + public Criteria andParentUserIdNotEqualTo(Integer value) { + addCriterion("parent_user_id <>", value, "parentUserId"); + return (Criteria) this; + } + + public Criteria andParentUserIdGreaterThan(Integer value) { + addCriterion("parent_user_id >", value, "parentUserId"); + return (Criteria) this; + } + + public Criteria andParentUserIdGreaterThanOrEqualTo(Integer value) { + addCriterion("parent_user_id >=", value, "parentUserId"); + return (Criteria) this; + } + + public Criteria andParentUserIdLessThan(Integer value) { + addCriterion("parent_user_id <", value, "parentUserId"); + return (Criteria) this; + } + + public Criteria andParentUserIdLessThanOrEqualTo(Integer value) { + addCriterion("parent_user_id <=", value, "parentUserId"); + return (Criteria) this; + } + + public Criteria andParentUserIdIn(List values) { + addCriterion("parent_user_id in", values, "parentUserId"); + return (Criteria) this; + } + + public Criteria andParentUserIdNotIn(List values) { + addCriterion("parent_user_id not in", values, "parentUserId"); + return (Criteria) this; + } + + public Criteria andParentUserIdBetween(Integer value1, Integer value2) { + addCriterion("parent_user_id between", value1, value2, "parentUserId"); + return (Criteria) this; + } + + public Criteria andParentUserIdNotBetween(Integer value1, Integer value2) { + addCriterion("parent_user_id not between", value1, value2, "parentUserId"); + return (Criteria) this; + } + + public Criteria andAppcidIsNull() { + addCriterion("appcid is null"); + return (Criteria) this; + } + + public Criteria andAppcidIsNotNull() { + addCriterion("appcid is not null"); + return (Criteria) this; + } + + public Criteria andAppcidEqualTo(String value) { + addCriterion("appcid =", value, "appcid"); + return (Criteria) this; + } + + public Criteria andAppcidNotEqualTo(String value) { + addCriterion("appcid <>", value, "appcid"); + return (Criteria) this; + } + + public Criteria andAppcidGreaterThan(String value) { + addCriterion("appcid >", value, "appcid"); + return (Criteria) this; + } + + public Criteria andAppcidGreaterThanOrEqualTo(String value) { + addCriterion("appcid >=", value, "appcid"); + return (Criteria) this; + } + + public Criteria andAppcidLessThan(String value) { + addCriterion("appcid <", value, "appcid"); + return (Criteria) this; + } + + public Criteria andAppcidLessThanOrEqualTo(String value) { + addCriterion("appcid <=", value, "appcid"); + return (Criteria) this; + } + + public Criteria andAppcidLike(String value) { + addCriterion("appcid like", value, "appcid"); + return (Criteria) this; + } + + public Criteria andAppcidNotLike(String value) { + addCriterion("appcid not like", value, "appcid"); + return (Criteria) this; + } + + public Criteria andAppcidIn(List values) { + addCriterion("appcid in", values, "appcid"); + return (Criteria) this; + } + + public Criteria andAppcidNotIn(List values) { + addCriterion("appcid not in", values, "appcid"); + return (Criteria) this; + } + + public Criteria andAppcidBetween(String value1, String value2) { + addCriterion("appcid between", value1, value2, "appcid"); + return (Criteria) this; + } + + public Criteria andAppcidNotBetween(String value1, String value2) { + addCriterion("appcid not between", value1, value2, "appcid"); + return (Criteria) this; + } + + public Criteria andIsAdminIsNull() { + addCriterion("is_admin is null"); + return (Criteria) this; + } + + public Criteria andIsAdminIsNotNull() { + addCriterion("is_admin is not null"); + return (Criteria) this; + } + + public Criteria andIsAdminEqualTo(Boolean value) { + addCriterion("is_admin =", value, "isAdmin"); + return (Criteria) this; + } + + public Criteria andIsAdminNotEqualTo(Boolean value) { + addCriterion("is_admin <>", value, "isAdmin"); + return (Criteria) this; + } + + public Criteria andIsAdminGreaterThan(Boolean value) { + addCriterion("is_admin >", value, "isAdmin"); + return (Criteria) this; + } + + public Criteria andIsAdminGreaterThanOrEqualTo(Boolean value) { + addCriterion("is_admin >=", value, "isAdmin"); + return (Criteria) this; + } + + public Criteria andIsAdminLessThan(Boolean value) { + addCriterion("is_admin <", value, "isAdmin"); + return (Criteria) this; + } + + public Criteria andIsAdminLessThanOrEqualTo(Boolean value) { + addCriterion("is_admin <=", value, "isAdmin"); + return (Criteria) this; + } + + public Criteria andIsAdminIn(List values) { + addCriterion("is_admin in", values, "isAdmin"); + return (Criteria) this; + } + + public Criteria andIsAdminNotIn(List values) { + addCriterion("is_admin not in", values, "isAdmin"); + return (Criteria) this; + } + + public Criteria andIsAdminBetween(Boolean value1, Boolean value2) { + addCriterion("is_admin between", value1, value2, "isAdmin"); + return (Criteria) this; + } + + public Criteria andIsAdminNotBetween(Boolean value1, Boolean value2) { + addCriterion("is_admin not between", value1, value2, "isAdmin"); + return (Criteria) this; + } + + public Criteria andTuanPriceIsNull() { + addCriterion("tuan_price is null"); + return (Criteria) this; + } + + public Criteria andTuanPriceIsNotNull() { + addCriterion("tuan_price is not null"); + return (Criteria) this; + } + + public Criteria andTuanPriceEqualTo(BigDecimal value) { + addCriterion("tuan_price =", value, "tuanPrice"); + return (Criteria) this; + } + + public Criteria andTuanPriceNotEqualTo(BigDecimal value) { + addCriterion("tuan_price <>", value, "tuanPrice"); + return (Criteria) this; + } + + public Criteria andTuanPriceGreaterThan(BigDecimal value) { + addCriterion("tuan_price >", value, "tuanPrice"); + return (Criteria) this; + } + + public Criteria andTuanPriceGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("tuan_price >=", value, "tuanPrice"); + return (Criteria) this; + } + + public Criteria andTuanPriceLessThan(BigDecimal value) { + addCriterion("tuan_price <", value, "tuanPrice"); + return (Criteria) this; + } + + public Criteria andTuanPriceLessThanOrEqualTo(BigDecimal value) { + addCriterion("tuan_price <=", value, "tuanPrice"); + return (Criteria) this; + } + + public Criteria andTuanPriceIn(List values) { + addCriterion("tuan_price in", values, "tuanPrice"); + return (Criteria) this; + } + + public Criteria andTuanPriceNotIn(List values) { + addCriterion("tuan_price not in", values, "tuanPrice"); + return (Criteria) this; + } + + public Criteria andTuanPriceBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("tuan_price between", value1, value2, "tuanPrice"); + return (Criteria) this; + } + + public Criteria andTuanPriceNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("tuan_price not between", value1, value2, "tuanPrice"); + return (Criteria) this; + } + + public Criteria andIsDeliveryIsNull() { + addCriterion("is_delivery is null"); + return (Criteria) this; + } + + public Criteria andIsDeliveryIsNotNull() { + addCriterion("is_delivery is not null"); + return (Criteria) this; + } + + public Criteria andIsDeliveryEqualTo(Boolean value) { + addCriterion("is_delivery =", value, "isDelivery"); + return (Criteria) this; + } + + public Criteria andIsDeliveryNotEqualTo(Boolean value) { + addCriterion("is_delivery <>", value, "isDelivery"); + return (Criteria) this; + } + + public Criteria andIsDeliveryGreaterThan(Boolean value) { + addCriterion("is_delivery >", value, "isDelivery"); + return (Criteria) this; + } + + public Criteria andIsDeliveryGreaterThanOrEqualTo(Boolean value) { + addCriterion("is_delivery >=", value, "isDelivery"); + return (Criteria) this; + } + + public Criteria andIsDeliveryLessThan(Boolean value) { + addCriterion("is_delivery <", value, "isDelivery"); + return (Criteria) this; + } + + public Criteria andIsDeliveryLessThanOrEqualTo(Boolean value) { + addCriterion("is_delivery <=", value, "isDelivery"); + return (Criteria) this; + } + + public Criteria andIsDeliveryIn(List values) { + addCriterion("is_delivery in", values, "isDelivery"); + return (Criteria) this; + } + + public Criteria andIsDeliveryNotIn(List values) { + addCriterion("is_delivery not in", values, "isDelivery"); + return (Criteria) this; + } + + public Criteria andIsDeliveryBetween(Boolean value1, Boolean value2) { + addCriterion("is_delivery between", value1, value2, "isDelivery"); + return (Criteria) this; + } + + public Criteria andIsDeliveryNotBetween(Boolean value1, Boolean value2) { + addCriterion("is_delivery not between", value1, value2, "isDelivery"); + return (Criteria) this; + } + + public Criteria andMchIdIsNull() { + addCriterion("mch_id is null"); + return (Criteria) this; + } + + public Criteria andMchIdIsNotNull() { + addCriterion("mch_id is not null"); + return (Criteria) this; + } + + public Criteria andMchIdEqualTo(Integer value) { + addCriterion("mch_id =", value, "mchId"); + return (Criteria) this; + } + + public Criteria andMchIdNotEqualTo(Integer value) { + addCriterion("mch_id <>", value, "mchId"); + return (Criteria) this; + } + + public Criteria andMchIdGreaterThan(Integer value) { + addCriterion("mch_id >", value, "mchId"); + return (Criteria) this; + } + + public Criteria andMchIdGreaterThanOrEqualTo(Integer value) { + addCriterion("mch_id >=", value, "mchId"); + return (Criteria) this; + } + + public Criteria andMchIdLessThan(Integer value) { + addCriterion("mch_id <", value, "mchId"); + return (Criteria) this; + } + + public Criteria andMchIdLessThanOrEqualTo(Integer value) { + addCriterion("mch_id <=", value, "mchId"); + return (Criteria) this; + } + + public Criteria andMchIdIn(List values) { + addCriterion("mch_id in", values, "mchId"); + return (Criteria) this; + } + + public Criteria andMchIdNotIn(List values) { + addCriterion("mch_id not in", values, "mchId"); + return (Criteria) this; + } + + public Criteria andMchIdBetween(Integer value1, Integer value2) { + addCriterion("mch_id between", value1, value2, "mchId"); + return (Criteria) this; + } + + public Criteria andMchIdNotBetween(Integer value1, Integer value2) { + addCriterion("mch_id not between", value1, value2, "mchId"); + return (Criteria) this; + } + + public Criteria andRealNameIsNull() { + addCriterion("real_name is null"); + return (Criteria) this; + } + + public Criteria andRealNameIsNotNull() { + addCriterion("real_name is not null"); + return (Criteria) this; + } + + public Criteria andRealNameEqualTo(String value) { + addCriterion("real_name =", value, "realName"); + return (Criteria) this; + } + + public Criteria andRealNameNotEqualTo(String value) { + addCriterion("real_name <>", value, "realName"); + return (Criteria) this; + } + + public Criteria andRealNameGreaterThan(String value) { + addCriterion("real_name >", value, "realName"); + return (Criteria) this; + } + + public Criteria andRealNameGreaterThanOrEqualTo(String value) { + addCriterion("real_name >=", value, "realName"); + return (Criteria) this; + } + + public Criteria andRealNameLessThan(String value) { + addCriterion("real_name <", value, "realName"); + return (Criteria) this; + } + + public Criteria andRealNameLessThanOrEqualTo(String value) { + addCriterion("real_name <=", value, "realName"); + return (Criteria) this; + } + + public Criteria andRealNameLike(String value) { + addCriterion("real_name like", value, "realName"); + return (Criteria) this; + } + + public Criteria andRealNameNotLike(String value) { + addCriterion("real_name not like", value, "realName"); + return (Criteria) this; + } + + public Criteria andRealNameIn(List values) { + addCriterion("real_name in", values, "realName"); + return (Criteria) this; + } + + public Criteria andRealNameNotIn(List values) { + addCriterion("real_name not in", values, "realName"); + return (Criteria) this; + } + + public Criteria andRealNameBetween(String value1, String value2) { + addCriterion("real_name between", value1, value2, "realName"); + return (Criteria) this; + } + + public Criteria andRealNameNotBetween(String value1, String value2) { + addCriterion("real_name not between", value1, value2, "realName"); + return (Criteria) this; + } + + public Criteria andRealCodeIsNull() { + addCriterion("real_code is null"); + return (Criteria) this; + } + + public Criteria andRealCodeIsNotNull() { + addCriterion("real_code is not null"); + return (Criteria) this; + } + + public Criteria andRealCodeEqualTo(String value) { + addCriterion("real_code =", value, "realCode"); + return (Criteria) this; + } + + public Criteria andRealCodeNotEqualTo(String value) { + addCriterion("real_code <>", value, "realCode"); + return (Criteria) this; + } + + public Criteria andRealCodeGreaterThan(String value) { + addCriterion("real_code >", value, "realCode"); + return (Criteria) this; + } + + public Criteria andRealCodeGreaterThanOrEqualTo(String value) { + addCriterion("real_code >=", value, "realCode"); + return (Criteria) this; + } + + public Criteria andRealCodeLessThan(String value) { + addCriterion("real_code <", value, "realCode"); + return (Criteria) this; + } + + public Criteria andRealCodeLessThanOrEqualTo(String value) { + addCriterion("real_code <=", value, "realCode"); + return (Criteria) this; + } + + public Criteria andRealCodeLike(String value) { + addCriterion("real_code like", value, "realCode"); + return (Criteria) this; + } + + public Criteria andRealCodeNotLike(String value) { + addCriterion("real_code not like", value, "realCode"); + return (Criteria) this; + } + + public Criteria andRealCodeIn(List values) { + addCriterion("real_code in", values, "realCode"); + return (Criteria) this; + } + + public Criteria andRealCodeNotIn(List values) { + addCriterion("real_code not in", values, "realCode"); + return (Criteria) this; + } + + public Criteria andRealCodeBetween(String value1, String value2) { + addCriterion("real_code between", value1, value2, "realCode"); + return (Criteria) this; + } + + public Criteria andRealCodeNotBetween(String value1, String value2) { + addCriterion("real_code not between", value1, value2, "realCode"); + return (Criteria) this; + } + + public Criteria andRealJustPicIsNull() { + addCriterion("real_just_pic is null"); + return (Criteria) this; + } + + public Criteria andRealJustPicIsNotNull() { + addCriterion("real_just_pic is not null"); + return (Criteria) this; + } + + public Criteria andRealJustPicEqualTo(String value) { + addCriterion("real_just_pic =", value, "realJustPic"); + return (Criteria) this; + } + + public Criteria andRealJustPicNotEqualTo(String value) { + addCriterion("real_just_pic <>", value, "realJustPic"); + return (Criteria) this; + } + + public Criteria andRealJustPicGreaterThan(String value) { + addCriterion("real_just_pic >", value, "realJustPic"); + return (Criteria) this; + } + + public Criteria andRealJustPicGreaterThanOrEqualTo(String value) { + addCriterion("real_just_pic >=", value, "realJustPic"); + return (Criteria) this; + } + + public Criteria andRealJustPicLessThan(String value) { + addCriterion("real_just_pic <", value, "realJustPic"); + return (Criteria) this; + } + + public Criteria andRealJustPicLessThanOrEqualTo(String value) { + addCriterion("real_just_pic <=", value, "realJustPic"); + return (Criteria) this; + } + + public Criteria andRealJustPicLike(String value) { + addCriterion("real_just_pic like", value, "realJustPic"); + return (Criteria) this; + } + + public Criteria andRealJustPicNotLike(String value) { + addCriterion("real_just_pic not like", value, "realJustPic"); + return (Criteria) this; + } + + public Criteria andRealJustPicIn(List values) { + addCriterion("real_just_pic in", values, "realJustPic"); + return (Criteria) this; + } + + public Criteria andRealJustPicNotIn(List values) { + addCriterion("real_just_pic not in", values, "realJustPic"); + return (Criteria) this; + } + + public Criteria andRealJustPicBetween(String value1, String value2) { + addCriterion("real_just_pic between", value1, value2, "realJustPic"); + return (Criteria) this; + } + + public Criteria andRealJustPicNotBetween(String value1, String value2) { + addCriterion("real_just_pic not between", value1, value2, "realJustPic"); + return (Criteria) this; + } + + public Criteria andRealBackPicIsNull() { + addCriterion("real_back_pic is null"); + return (Criteria) this; + } + + public Criteria andRealBackPicIsNotNull() { + addCriterion("real_back_pic is not null"); + return (Criteria) this; + } + + public Criteria andRealBackPicEqualTo(String value) { + addCriterion("real_back_pic =", value, "realBackPic"); + return (Criteria) this; + } + + public Criteria andRealBackPicNotEqualTo(String value) { + addCriterion("real_back_pic <>", value, "realBackPic"); + return (Criteria) this; + } + + public Criteria andRealBackPicGreaterThan(String value) { + addCriterion("real_back_pic >", value, "realBackPic"); + return (Criteria) this; + } + + public Criteria andRealBackPicGreaterThanOrEqualTo(String value) { + addCriterion("real_back_pic >=", value, "realBackPic"); + return (Criteria) this; + } + + public Criteria andRealBackPicLessThan(String value) { + addCriterion("real_back_pic <", value, "realBackPic"); + return (Criteria) this; + } + + public Criteria andRealBackPicLessThanOrEqualTo(String value) { + addCriterion("real_back_pic <=", value, "realBackPic"); + return (Criteria) this; + } + + public Criteria andRealBackPicLike(String value) { + addCriterion("real_back_pic like", value, "realBackPic"); + return (Criteria) this; + } + + public Criteria andRealBackPicNotLike(String value) { + addCriterion("real_back_pic not like", value, "realBackPic"); + return (Criteria) this; + } + + public Criteria andRealBackPicIn(List values) { + addCriterion("real_back_pic in", values, "realBackPic"); + return (Criteria) this; + } + + public Criteria andRealBackPicNotIn(List values) { + addCriterion("real_back_pic not in", values, "realBackPic"); + return (Criteria) this; + } + + public Criteria andRealBackPicBetween(String value1, String value2) { + addCriterion("real_back_pic between", value1, value2, "realBackPic"); + return (Criteria) this; + } + + public Criteria andRealBackPicNotBetween(String value1, String value2) { + addCriterion("real_back_pic not between", value1, value2, "realBackPic"); + return (Criteria) this; + } + + public Criteria andIsRealIsNull() { + addCriterion("is_real is null"); + return (Criteria) this; + } + + public Criteria andIsRealIsNotNull() { + addCriterion("is_real is not null"); + return (Criteria) this; + } + + public Criteria andIsRealEqualTo(Boolean value) { + addCriterion("is_real =", value, "isReal"); + return (Criteria) this; + } + + public Criteria andIsRealNotEqualTo(Boolean value) { + addCriterion("is_real <>", value, "isReal"); + return (Criteria) this; + } + + public Criteria andIsRealGreaterThan(Boolean value) { + addCriterion("is_real >", value, "isReal"); + return (Criteria) this; + } + + public Criteria andIsRealGreaterThanOrEqualTo(Boolean value) { + addCriterion("is_real >=", value, "isReal"); + return (Criteria) this; + } + + public Criteria andIsRealLessThan(Boolean value) { + addCriterion("is_real <", value, "isReal"); + return (Criteria) this; + } + + public Criteria andIsRealLessThanOrEqualTo(Boolean value) { + addCriterion("is_real <=", value, "isReal"); + return (Criteria) this; + } + + public Criteria andIsRealIn(List values) { + addCriterion("is_real in", values, "isReal"); + return (Criteria) this; + } + + public Criteria andIsRealNotIn(List values) { + addCriterion("is_real not in", values, "isReal"); + return (Criteria) this; + } + + public Criteria andIsRealBetween(Boolean value1, Boolean value2) { + addCriterion("is_real between", value1, value2, "isReal"); + return (Criteria) this; + } + + public Criteria andIsRealNotBetween(Boolean value1, Boolean value2) { + addCriterion("is_real not between", value1, value2, "isReal"); + return (Criteria) this; + } + + public Criteria andLivePriceIsNull() { + addCriterion("live_price is null"); + return (Criteria) this; + } + + public Criteria andLivePriceIsNotNull() { + addCriterion("live_price is not null"); + return (Criteria) this; + } + + public Criteria andLivePriceEqualTo(BigDecimal value) { + addCriterion("live_price =", value, "livePrice"); + return (Criteria) this; + } + + public Criteria andLivePriceNotEqualTo(BigDecimal value) { + addCriterion("live_price <>", value, "livePrice"); + return (Criteria) this; + } + + public Criteria andLivePriceGreaterThan(BigDecimal value) { + addCriterion("live_price >", value, "livePrice"); + return (Criteria) this; + } + + public Criteria andLivePriceGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("live_price >=", value, "livePrice"); + return (Criteria) this; + } + + public Criteria andLivePriceLessThan(BigDecimal value) { + addCriterion("live_price <", value, "livePrice"); + return (Criteria) this; + } + + public Criteria andLivePriceLessThanOrEqualTo(BigDecimal value) { + addCriterion("live_price <=", value, "livePrice"); + return (Criteria) this; + } + + public Criteria andLivePriceIn(List values) { + addCriterion("live_price in", values, "livePrice"); + return (Criteria) this; + } + + public Criteria andLivePriceNotIn(List values) { + addCriterion("live_price not in", values, "livePrice"); + return (Criteria) this; + } + + public Criteria andLivePriceBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("live_price between", value1, value2, "livePrice"); + return (Criteria) this; + } + + public Criteria andLivePriceNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("live_price not between", value1, value2, "livePrice"); + return (Criteria) this; + } + + public Criteria andFyjineIsNull() { + addCriterion("fyjine is null"); + return (Criteria) this; + } + + public Criteria andFyjineIsNotNull() { + addCriterion("fyjine is not null"); + return (Criteria) this; + } + + public Criteria andFyjineEqualTo(String value) { + addCriterion("fyjine =", value, "fyjine"); + return (Criteria) this; + } + + public Criteria andFyjineNotEqualTo(String value) { + addCriterion("fyjine <>", value, "fyjine"); + return (Criteria) this; + } + + public Criteria andFyjineGreaterThan(String value) { + addCriterion("fyjine >", value, "fyjine"); + return (Criteria) this; + } + + public Criteria andFyjineGreaterThanOrEqualTo(String value) { + addCriterion("fyjine >=", value, "fyjine"); + return (Criteria) this; + } + + public Criteria andFyjineLessThan(String value) { + addCriterion("fyjine <", value, "fyjine"); + return (Criteria) this; + } + + public Criteria andFyjineLessThanOrEqualTo(String value) { + addCriterion("fyjine <=", value, "fyjine"); + return (Criteria) this; + } + + public Criteria andFyjineLike(String value) { + addCriterion("fyjine like", value, "fyjine"); + return (Criteria) this; + } + + public Criteria andFyjineNotLike(String value) { + addCriterion("fyjine not like", value, "fyjine"); + return (Criteria) this; + } + + public Criteria andFyjineIn(List values) { + addCriterion("fyjine in", values, "fyjine"); + return (Criteria) this; + } + + public Criteria andFyjineNotIn(List values) { + addCriterion("fyjine not in", values, "fyjine"); + return (Criteria) this; + } + + public Criteria andFyjineBetween(String value1, String value2) { + addCriterion("fyjine between", value1, value2, "fyjine"); + return (Criteria) this; + } + + public Criteria andFyjineNotBetween(String value1, String value2) { + addCriterion("fyjine not between", value1, value2, "fyjine"); + return (Criteria) this; + } + + public Criteria andYifanIsNull() { + addCriterion("yifan is null"); + return (Criteria) this; + } + + public Criteria andYifanIsNotNull() { + addCriterion("yifan is not null"); + return (Criteria) this; + } + + public Criteria andYifanEqualTo(String value) { + addCriterion("yifan =", value, "yifan"); + return (Criteria) this; + } + + public Criteria andYifanNotEqualTo(String value) { + addCriterion("yifan <>", value, "yifan"); + return (Criteria) this; + } + + public Criteria andYifanGreaterThan(String value) { + addCriterion("yifan >", value, "yifan"); + return (Criteria) this; + } + + public Criteria andYifanGreaterThanOrEqualTo(String value) { + addCriterion("yifan >=", value, "yifan"); + return (Criteria) this; + } + + public Criteria andYifanLessThan(String value) { + addCriterion("yifan <", value, "yifan"); + return (Criteria) this; + } + + public Criteria andYifanLessThanOrEqualTo(String value) { + addCriterion("yifan <=", value, "yifan"); + return (Criteria) this; + } + + public Criteria andYifanLike(String value) { + addCriterion("yifan like", value, "yifan"); + return (Criteria) this; + } + + public Criteria andYifanNotLike(String value) { + addCriterion("yifan not like", value, "yifan"); + return (Criteria) this; + } + + public Criteria andYifanIn(List values) { + addCriterion("yifan in", values, "yifan"); + return (Criteria) this; + } + + public Criteria andYifanNotIn(List values) { + addCriterion("yifan not in", values, "yifan"); + return (Criteria) this; + } + + public Criteria andYifanBetween(String value1, String value2) { + addCriterion("yifan between", value1, value2, "yifan"); + return (Criteria) this; + } + + public Criteria andYifanNotBetween(String value1, String value2) { + addCriterion("yifan not between", value1, value2, "yifan"); + return (Criteria) this; + } + + public Criteria andDeliveryOfficeIsNull() { + addCriterion("delivery_office is null"); + return (Criteria) this; + } + + public Criteria andDeliveryOfficeIsNotNull() { + addCriterion("delivery_office is not null"); + return (Criteria) this; + } + + public Criteria andDeliveryOfficeEqualTo(Boolean value) { + addCriterion("delivery_office =", value, "deliveryOffice"); + return (Criteria) this; + } + + public Criteria andDeliveryOfficeNotEqualTo(Boolean value) { + addCriterion("delivery_office <>", value, "deliveryOffice"); + return (Criteria) this; + } + + public Criteria andDeliveryOfficeGreaterThan(Boolean value) { + addCriterion("delivery_office >", value, "deliveryOffice"); + return (Criteria) this; + } + + public Criteria andDeliveryOfficeGreaterThanOrEqualTo(Boolean value) { + addCriterion("delivery_office >=", value, "deliveryOffice"); + return (Criteria) this; + } + + public Criteria andDeliveryOfficeLessThan(Boolean value) { + addCriterion("delivery_office <", value, "deliveryOffice"); + return (Criteria) this; + } + + public Criteria andDeliveryOfficeLessThanOrEqualTo(Boolean value) { + addCriterion("delivery_office <=", value, "deliveryOffice"); + return (Criteria) this; + } + + public Criteria andDeliveryOfficeIn(List values) { + addCriterion("delivery_office in", values, "deliveryOffice"); + return (Criteria) this; + } + + public Criteria andDeliveryOfficeNotIn(List values) { + addCriterion("delivery_office not in", values, "deliveryOffice"); + return (Criteria) this; + } + + public Criteria andDeliveryOfficeBetween(Boolean value1, Boolean value2) { + addCriterion("delivery_office between", value1, value2, "deliveryOffice"); + return (Criteria) this; + } + + public Criteria andDeliveryOfficeNotBetween(Boolean value1, Boolean value2) { + addCriterion("delivery_office not between", value1, value2, "deliveryOffice"); + return (Criteria) this; + } + + public Criteria andSubsidyPriceIsNull() { + addCriterion("subsidy_price is null"); + return (Criteria) this; + } + + public Criteria andSubsidyPriceIsNotNull() { + addCriterion("subsidy_price is not null"); + return (Criteria) this; + } + + public Criteria andSubsidyPriceEqualTo(BigDecimal value) { + addCriterion("subsidy_price =", value, "subsidyPrice"); + return (Criteria) this; + } + + public Criteria andSubsidyPriceNotEqualTo(BigDecimal value) { + addCriterion("subsidy_price <>", value, "subsidyPrice"); + return (Criteria) this; + } + + public Criteria andSubsidyPriceGreaterThan(BigDecimal value) { + addCriterion("subsidy_price >", value, "subsidyPrice"); + return (Criteria) this; + } + + public Criteria andSubsidyPriceGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("subsidy_price >=", value, "subsidyPrice"); + return (Criteria) this; + } + + public Criteria andSubsidyPriceLessThan(BigDecimal value) { + addCriterion("subsidy_price <", value, "subsidyPrice"); + return (Criteria) this; + } + + public Criteria andSubsidyPriceLessThanOrEqualTo(BigDecimal value) { + addCriterion("subsidy_price <=", value, "subsidyPrice"); + return (Criteria) this; + } + + public Criteria andSubsidyPriceIn(List values) { + addCriterion("subsidy_price in", values, "subsidyPrice"); + return (Criteria) this; + } + + public Criteria andSubsidyPriceNotIn(List values) { + addCriterion("subsidy_price not in", values, "subsidyPrice"); + return (Criteria) this; + } + + public Criteria andSubsidyPriceBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("subsidy_price between", value1, value2, "subsidyPrice"); + return (Criteria) this; + } + + public Criteria andSubsidyPriceNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("subsidy_price not between", value1, value2, "subsidyPrice"); + return (Criteria) this; + } + + public Criteria andDeliveryMchIdIsNull() { + addCriterion("delivery_mch_id is null"); + return (Criteria) this; + } + + public Criteria andDeliveryMchIdIsNotNull() { + addCriterion("delivery_mch_id is not null"); + return (Criteria) this; + } + + public Criteria andDeliveryMchIdEqualTo(Integer value) { + addCriterion("delivery_mch_id =", value, "deliveryMchId"); + return (Criteria) this; + } + + public Criteria andDeliveryMchIdNotEqualTo(Integer value) { + addCriterion("delivery_mch_id <>", value, "deliveryMchId"); + return (Criteria) this; + } + + public Criteria andDeliveryMchIdGreaterThan(Integer value) { + addCriterion("delivery_mch_id >", value, "deliveryMchId"); + return (Criteria) this; + } + + public Criteria andDeliveryMchIdGreaterThanOrEqualTo(Integer value) { + addCriterion("delivery_mch_id >=", value, "deliveryMchId"); + return (Criteria) this; + } + + public Criteria andDeliveryMchIdLessThan(Integer value) { + addCriterion("delivery_mch_id <", value, "deliveryMchId"); + return (Criteria) this; + } + + public Criteria andDeliveryMchIdLessThanOrEqualTo(Integer value) { + addCriterion("delivery_mch_id <=", value, "deliveryMchId"); + return (Criteria) this; + } + + public Criteria andDeliveryMchIdIn(List values) { + addCriterion("delivery_mch_id in", values, "deliveryMchId"); + return (Criteria) this; + } + + public Criteria andDeliveryMchIdNotIn(List values) { + addCriterion("delivery_mch_id not in", values, "deliveryMchId"); + return (Criteria) this; + } + + public Criteria andDeliveryMchIdBetween(Integer value1, Integer value2) { + addCriterion("delivery_mch_id between", value1, value2, "deliveryMchId"); + return (Criteria) this; + } + + public Criteria andDeliveryMchIdNotBetween(Integer value1, Integer value2) { + addCriterion("delivery_mch_id not between", value1, value2, "deliveryMchId"); + return (Criteria) this; + } + + public Criteria andClerkMchIdIsNull() { + addCriterion("clerk_mch_id is null"); + return (Criteria) this; + } + + public Criteria andClerkMchIdIsNotNull() { + addCriterion("clerk_mch_id is not null"); + return (Criteria) this; + } + + public Criteria andClerkMchIdEqualTo(Integer value) { + addCriterion("clerk_mch_id =", value, "clerkMchId"); + return (Criteria) this; + } + + public Criteria andClerkMchIdNotEqualTo(Integer value) { + addCriterion("clerk_mch_id <>", value, "clerkMchId"); + return (Criteria) this; + } + + public Criteria andClerkMchIdGreaterThan(Integer value) { + addCriterion("clerk_mch_id >", value, "clerkMchId"); + return (Criteria) this; + } + + public Criteria andClerkMchIdGreaterThanOrEqualTo(Integer value) { + addCriterion("clerk_mch_id >=", value, "clerkMchId"); + return (Criteria) this; + } + + public Criteria andClerkMchIdLessThan(Integer value) { + addCriterion("clerk_mch_id <", value, "clerkMchId"); + return (Criteria) this; + } + + public Criteria andClerkMchIdLessThanOrEqualTo(Integer value) { + addCriterion("clerk_mch_id <=", value, "clerkMchId"); + return (Criteria) this; + } + + public Criteria andClerkMchIdIn(List values) { + addCriterion("clerk_mch_id in", values, "clerkMchId"); + return (Criteria) this; + } + + public Criteria andClerkMchIdNotIn(List values) { + addCriterion("clerk_mch_id not in", values, "clerkMchId"); + return (Criteria) this; + } + + public Criteria andClerkMchIdBetween(Integer value1, Integer value2) { + addCriterion("clerk_mch_id between", value1, value2, "clerkMchId"); + return (Criteria) this; + } + + public Criteria andClerkMchIdNotBetween(Integer value1, Integer value2) { + addCriterion("clerk_mch_id not between", value1, value2, "clerkMchId"); + return (Criteria) this; + } + + public Criteria andIsGroupCentreIsNull() { + addCriterion("is_group_centre is null"); + return (Criteria) this; + } + + public Criteria andIsGroupCentreIsNotNull() { + addCriterion("is_group_centre is not null"); + return (Criteria) this; + } + + public Criteria andIsGroupCentreEqualTo(Integer value) { + addCriterion("is_group_centre =", value, "isGroupCentre"); + return (Criteria) this; + } + + public Criteria andIsGroupCentreNotEqualTo(Integer value) { + addCriterion("is_group_centre <>", value, "isGroupCentre"); + return (Criteria) this; + } + + public Criteria andIsGroupCentreGreaterThan(Integer value) { + addCriterion("is_group_centre >", value, "isGroupCentre"); + return (Criteria) this; + } + + public Criteria andIsGroupCentreGreaterThanOrEqualTo(Integer value) { + addCriterion("is_group_centre >=", value, "isGroupCentre"); + return (Criteria) this; + } + + public Criteria andIsGroupCentreLessThan(Integer value) { + addCriterion("is_group_centre <", value, "isGroupCentre"); + return (Criteria) this; + } + + public Criteria andIsGroupCentreLessThanOrEqualTo(Integer value) { + addCriterion("is_group_centre <=", value, "isGroupCentre"); + return (Criteria) this; + } + + public Criteria andIsGroupCentreIn(List values) { + addCriterion("is_group_centre in", values, "isGroupCentre"); + return (Criteria) this; + } + + public Criteria andIsGroupCentreNotIn(List values) { + addCriterion("is_group_centre not in", values, "isGroupCentre"); + return (Criteria) this; + } + + public Criteria andIsGroupCentreBetween(Integer value1, Integer value2) { + addCriterion("is_group_centre between", value1, value2, "isGroupCentre"); + return (Criteria) this; + } + + public Criteria andIsGroupCentreNotBetween(Integer value1, Integer value2) { + addCriterion("is_group_centre not between", value1, value2, "isGroupCentre"); + return (Criteria) this; + } + + public Criteria andSexIsNull() { + addCriterion("sex is null"); + return (Criteria) this; + } + + public Criteria andSexIsNotNull() { + addCriterion("sex is not null"); + return (Criteria) this; + } + + public Criteria andSexEqualTo(Integer value) { + addCriterion("sex =", value, "sex"); + return (Criteria) this; + } + + public Criteria andSexNotEqualTo(Integer value) { + addCriterion("sex <>", value, "sex"); + return (Criteria) this; + } + + public Criteria andSexGreaterThan(Integer value) { + addCriterion("sex >", value, "sex"); + return (Criteria) this; + } + + public Criteria andSexGreaterThanOrEqualTo(Integer value) { + addCriterion("sex >=", value, "sex"); + return (Criteria) this; + } + + public Criteria andSexLessThan(Integer value) { + addCriterion("sex <", value, "sex"); + return (Criteria) this; + } + + public Criteria andSexLessThanOrEqualTo(Integer value) { + addCriterion("sex <=", value, "sex"); + return (Criteria) this; + } + + public Criteria andSexIn(List values) { + addCriterion("sex in", values, "sex"); + return (Criteria) this; + } + + public Criteria andSexNotIn(List values) { + addCriterion("sex not in", values, "sex"); + return (Criteria) this; + } + + public Criteria andSexBetween(Integer value1, Integer value2) { + addCriterion("sex between", value1, value2, "sex"); + return (Criteria) this; + } + + public Criteria andSexNotBetween(Integer value1, Integer value2) { + addCriterion("sex not between", value1, value2, "sex"); + return (Criteria) this; + } + + public Criteria andBirthDateIsNull() { + addCriterion("birth_date is null"); + return (Criteria) this; + } + + public Criteria andBirthDateIsNotNull() { + addCriterion("birth_date is not null"); + return (Criteria) this; + } + + public Criteria andBirthDateEqualTo(String value) { + addCriterion("birth_date =", value, "birthDate"); + return (Criteria) this; + } + + public Criteria andBirthDateNotEqualTo(String value) { + addCriterion("birth_date <>", value, "birthDate"); + return (Criteria) this; + } + + public Criteria andBirthDateGreaterThan(String value) { + addCriterion("birth_date >", value, "birthDate"); + return (Criteria) this; + } + + public Criteria andBirthDateGreaterThanOrEqualTo(String value) { + addCriterion("birth_date >=", value, "birthDate"); + return (Criteria) this; + } + + public Criteria andBirthDateLessThan(String value) { + addCriterion("birth_date <", value, "birthDate"); + return (Criteria) this; + } + + public Criteria andBirthDateLessThanOrEqualTo(String value) { + addCriterion("birth_date <=", value, "birthDate"); + return (Criteria) this; + } + + public Criteria andBirthDateLike(String value) { + addCriterion("birth_date like", value, "birthDate"); + return (Criteria) this; + } + + public Criteria andBirthDateNotLike(String value) { + addCriterion("birth_date not like", value, "birthDate"); + return (Criteria) this; + } + + public Criteria andBirthDateIn(List values) { + addCriterion("birth_date in", values, "birthDate"); + return (Criteria) this; + } + + public Criteria andBirthDateNotIn(List values) { + addCriterion("birth_date not in", values, "birthDate"); + return (Criteria) this; + } + + public Criteria andBirthDateBetween(String value1, String value2) { + addCriterion("birth_date between", value1, value2, "birthDate"); + return (Criteria) this; + } + + public Criteria andBirthDateNotBetween(String value1, String value2) { + addCriterion("birth_date not between", value1, value2, "birthDate"); + return (Criteria) this; + } + + public Criteria andIsVgoodsIsNull() { + addCriterion("is_vgoods is null"); + return (Criteria) this; + } + + public Criteria andIsVgoodsIsNotNull() { + addCriterion("is_vgoods is not null"); + return (Criteria) this; + } + + public Criteria andIsVgoodsEqualTo(Integer value) { + addCriterion("is_vgoods =", value, "isVgoods"); + return (Criteria) this; + } + + public Criteria andIsVgoodsNotEqualTo(Integer value) { + addCriterion("is_vgoods <>", value, "isVgoods"); + return (Criteria) this; + } + + public Criteria andIsVgoodsGreaterThan(Integer value) { + addCriterion("is_vgoods >", value, "isVgoods"); + return (Criteria) this; + } + + public Criteria andIsVgoodsGreaterThanOrEqualTo(Integer value) { + addCriterion("is_vgoods >=", value, "isVgoods"); + return (Criteria) this; + } + + public Criteria andIsVgoodsLessThan(Integer value) { + addCriterion("is_vgoods <", value, "isVgoods"); + return (Criteria) this; + } + + public Criteria andIsVgoodsLessThanOrEqualTo(Integer value) { + addCriterion("is_vgoods <=", value, "isVgoods"); + return (Criteria) this; + } + + public Criteria andIsVgoodsIn(List values) { + addCriterion("is_vgoods in", values, "isVgoods"); + return (Criteria) this; + } + + public Criteria andIsVgoodsNotIn(List values) { + addCriterion("is_vgoods not in", values, "isVgoods"); + return (Criteria) this; + } + + public Criteria andIsVgoodsBetween(Integer value1, Integer value2) { + addCriterion("is_vgoods between", value1, value2, "isVgoods"); + return (Criteria) this; + } + + public Criteria andIsVgoodsNotBetween(Integer value1, Integer value2) { + addCriterion("is_vgoods not between", value1, value2, "isVgoods"); + return (Criteria) this; + } + + public Criteria andShareCatIdIsNull() { + addCriterion("share_cat_id is null"); + return (Criteria) this; + } + + public Criteria andShareCatIdIsNotNull() { + addCriterion("share_cat_id is not null"); + return (Criteria) this; + } + + public Criteria andShareCatIdEqualTo(Integer value) { + addCriterion("share_cat_id =", value, "shareCatId"); + return (Criteria) this; + } + + public Criteria andShareCatIdNotEqualTo(Integer value) { + addCriterion("share_cat_id <>", value, "shareCatId"); + return (Criteria) this; + } + + public Criteria andShareCatIdGreaterThan(Integer value) { + addCriterion("share_cat_id >", value, "shareCatId"); + return (Criteria) this; + } + + public Criteria andShareCatIdGreaterThanOrEqualTo(Integer value) { + addCriterion("share_cat_id >=", value, "shareCatId"); + return (Criteria) this; + } + + public Criteria andShareCatIdLessThan(Integer value) { + addCriterion("share_cat_id <", value, "shareCatId"); + return (Criteria) this; + } + + public Criteria andShareCatIdLessThanOrEqualTo(Integer value) { + addCriterion("share_cat_id <=", value, "shareCatId"); + return (Criteria) this; + } + + public Criteria andShareCatIdIn(List values) { + addCriterion("share_cat_id in", values, "shareCatId"); + return (Criteria) this; + } + + public Criteria andShareCatIdNotIn(List values) { + addCriterion("share_cat_id not in", values, "shareCatId"); + return (Criteria) this; + } + + public Criteria andShareCatIdBetween(Integer value1, Integer value2) { + addCriterion("share_cat_id between", value1, value2, "shareCatId"); + return (Criteria) this; + } + + public Criteria andShareCatIdNotBetween(Integer value1, Integer value2) { + addCriterion("share_cat_id not between", value1, value2, "shareCatId"); + return (Criteria) this; + } + + public Criteria andUserLabelIsNull() { + addCriterion("user_label is null"); + return (Criteria) this; + } + + public Criteria andUserLabelIsNotNull() { + addCriterion("user_label is not null"); + return (Criteria) this; + } + + public Criteria andUserLabelEqualTo(Integer value) { + addCriterion("user_label =", value, "userLabel"); + return (Criteria) this; + } + + public Criteria andUserLabelNotEqualTo(Integer value) { + addCriterion("user_label <>", value, "userLabel"); + return (Criteria) this; + } + + public Criteria andUserLabelGreaterThan(Integer value) { + addCriterion("user_label >", value, "userLabel"); + return (Criteria) this; + } + + public Criteria andUserLabelGreaterThanOrEqualTo(Integer value) { + addCriterion("user_label >=", value, "userLabel"); + return (Criteria) this; + } + + public Criteria andUserLabelLessThan(Integer value) { + addCriterion("user_label <", value, "userLabel"); + return (Criteria) this; + } + + public Criteria andUserLabelLessThanOrEqualTo(Integer value) { + addCriterion("user_label <=", value, "userLabel"); + return (Criteria) this; + } + + public Criteria andUserLabelIn(List values) { + addCriterion("user_label in", values, "userLabel"); + return (Criteria) this; + } + + public Criteria andUserLabelNotIn(List values) { + addCriterion("user_label not in", values, "userLabel"); + return (Criteria) this; + } + + public Criteria andUserLabelBetween(Integer value1, Integer value2) { + addCriterion("user_label between", value1, value2, "userLabel"); + return (Criteria) this; + } + + public Criteria andUserLabelNotBetween(Integer value1, Integer value2) { + addCriterion("user_label not between", value1, value2, "userLabel"); + return (Criteria) this; + } + + public Criteria andGhCardNoIsNull() { + addCriterion("gh_card_no is null"); + return (Criteria) this; + } + + public Criteria andGhCardNoIsNotNull() { + addCriterion("gh_card_no is not null"); + return (Criteria) this; + } + + public Criteria andGhCardNoEqualTo(String value) { + addCriterion("gh_card_no =", value, "ghCardNo"); + return (Criteria) this; + } + + public Criteria andGhCardNoNotEqualTo(String value) { + addCriterion("gh_card_no <>", value, "ghCardNo"); + return (Criteria) this; + } + + public Criteria andGhCardNoGreaterThan(String value) { + addCriterion("gh_card_no >", value, "ghCardNo"); + return (Criteria) this; + } + + public Criteria andGhCardNoGreaterThanOrEqualTo(String value) { + addCriterion("gh_card_no >=", value, "ghCardNo"); + return (Criteria) this; + } + + public Criteria andGhCardNoLessThan(String value) { + addCriterion("gh_card_no <", value, "ghCardNo"); + return (Criteria) this; + } + + public Criteria andGhCardNoLessThanOrEqualTo(String value) { + addCriterion("gh_card_no <=", value, "ghCardNo"); + return (Criteria) this; + } + + public Criteria andGhCardNoLike(String value) { + addCriterion("gh_card_no like", value, "ghCardNo"); + return (Criteria) this; + } + + public Criteria andGhCardNoNotLike(String value) { + addCriterion("gh_card_no not like", value, "ghCardNo"); + return (Criteria) this; + } + + public Criteria andGhCardNoIn(List values) { + addCriterion("gh_card_no in", values, "ghCardNo"); + return (Criteria) this; + } + + public Criteria andGhCardNoNotIn(List values) { + addCriterion("gh_card_no not in", values, "ghCardNo"); + return (Criteria) this; + } + + public Criteria andGhCardNoBetween(String value1, String value2) { + addCriterion("gh_card_no between", value1, value2, "ghCardNo"); + return (Criteria) this; + } + + public Criteria andGhCardNoNotBetween(String value1, String value2) { + addCriterion("gh_card_no not between", value1, value2, "ghCardNo"); + return (Criteria) this; + } + + public Criteria andGhCardPwdIsNull() { + addCriterion("gh_card_pwd is null"); + return (Criteria) this; + } + + public Criteria andGhCardPwdIsNotNull() { + addCriterion("gh_card_pwd is not null"); + return (Criteria) this; + } + + public Criteria andGhCardPwdEqualTo(Integer value) { + addCriterion("gh_card_pwd =", value, "ghCardPwd"); + return (Criteria) this; + } + + public Criteria andGhCardPwdNotEqualTo(Integer value) { + addCriterion("gh_card_pwd <>", value, "ghCardPwd"); + return (Criteria) this; + } + + public Criteria andGhCardPwdGreaterThan(Integer value) { + addCriterion("gh_card_pwd >", value, "ghCardPwd"); + return (Criteria) this; + } + + public Criteria andGhCardPwdGreaterThanOrEqualTo(Integer value) { + addCriterion("gh_card_pwd >=", value, "ghCardPwd"); + return (Criteria) this; + } + + public Criteria andGhCardPwdLessThan(Integer value) { + addCriterion("gh_card_pwd <", value, "ghCardPwd"); + return (Criteria) this; + } + + public Criteria andGhCardPwdLessThanOrEqualTo(Integer value) { + addCriterion("gh_card_pwd <=", value, "ghCardPwd"); + return (Criteria) this; + } + + public Criteria andGhCardPwdIn(List values) { + addCriterion("gh_card_pwd in", values, "ghCardPwd"); + return (Criteria) this; + } + + public Criteria andGhCardPwdNotIn(List values) { + addCriterion("gh_card_pwd not in", values, "ghCardPwd"); + return (Criteria) this; + } + + public Criteria andGhCardPwdBetween(Integer value1, Integer value2) { + addCriterion("gh_card_pwd between", value1, value2, "ghCardPwd"); + return (Criteria) this; + } + + public Criteria andGhCardPwdNotBetween(Integer value1, Integer value2) { + addCriterion("gh_card_pwd not between", value1, value2, "ghCardPwd"); + return (Criteria) this; + } + + public Criteria andChannelPhoneIsNull() { + addCriterion("channel_phone is null"); + return (Criteria) this; + } + + public Criteria andChannelPhoneIsNotNull() { + addCriterion("channel_phone is not null"); + return (Criteria) this; + } + + public Criteria andChannelPhoneEqualTo(String value) { + addCriterion("channel_phone =", value, "channelPhone"); + return (Criteria) this; + } + + public Criteria andChannelPhoneNotEqualTo(String value) { + addCriterion("channel_phone <>", value, "channelPhone"); + return (Criteria) this; + } + + public Criteria andChannelPhoneGreaterThan(String value) { + addCriterion("channel_phone >", value, "channelPhone"); + return (Criteria) this; + } + + public Criteria andChannelPhoneGreaterThanOrEqualTo(String value) { + addCriterion("channel_phone >=", value, "channelPhone"); + return (Criteria) this; + } + + public Criteria andChannelPhoneLessThan(String value) { + addCriterion("channel_phone <", value, "channelPhone"); + return (Criteria) this; + } + + public Criteria andChannelPhoneLessThanOrEqualTo(String value) { + addCriterion("channel_phone <=", value, "channelPhone"); + return (Criteria) this; + } + + public Criteria andChannelPhoneLike(String value) { + addCriterion("channel_phone like", value, "channelPhone"); + return (Criteria) this; + } + + public Criteria andChannelPhoneNotLike(String value) { + addCriterion("channel_phone not like", value, "channelPhone"); + return (Criteria) this; + } + + public Criteria andChannelPhoneIn(List values) { + addCriterion("channel_phone in", values, "channelPhone"); + return (Criteria) this; + } + + public Criteria andChannelPhoneNotIn(List values) { + addCriterion("channel_phone not in", values, "channelPhone"); + return (Criteria) this; + } + + public Criteria andChannelPhoneBetween(String value1, String value2) { + addCriterion("channel_phone between", value1, value2, "channelPhone"); + return (Criteria) this; + } + + public Criteria andChannelPhoneNotBetween(String value1, String value2) { + addCriterion("channel_phone not between", value1, value2, "channelPhone"); + return (Criteria) this; + } + + public Criteria andChannelSignIsNull() { + addCriterion("channel_sign is null"); + return (Criteria) this; + } + + public Criteria andChannelSignIsNotNull() { + addCriterion("channel_sign is not null"); + return (Criteria) this; + } + + public Criteria andChannelSignEqualTo(String value) { + addCriterion("channel_sign =", value, "channelSign"); + return (Criteria) this; + } + + public Criteria andChannelSignNotEqualTo(String value) { + addCriterion("channel_sign <>", value, "channelSign"); + return (Criteria) this; + } + + public Criteria andChannelSignGreaterThan(String value) { + addCriterion("channel_sign >", value, "channelSign"); + return (Criteria) this; + } + + public Criteria andChannelSignGreaterThanOrEqualTo(String value) { + addCriterion("channel_sign >=", value, "channelSign"); + return (Criteria) this; + } + + public Criteria andChannelSignLessThan(String value) { + addCriterion("channel_sign <", value, "channelSign"); + return (Criteria) this; + } + + public Criteria andChannelSignLessThanOrEqualTo(String value) { + addCriterion("channel_sign <=", value, "channelSign"); + return (Criteria) this; + } + + public Criteria andChannelSignLike(String value) { + addCriterion("channel_sign like", value, "channelSign"); + return (Criteria) this; + } + + public Criteria andChannelSignNotLike(String value) { + addCriterion("channel_sign not like", value, "channelSign"); + return (Criteria) this; + } + + public Criteria andChannelSignIn(List values) { + addCriterion("channel_sign in", values, "channelSign"); + return (Criteria) this; + } + + public Criteria andChannelSignNotIn(List values) { + addCriterion("channel_sign not in", values, "channelSign"); + return (Criteria) this; + } + + public Criteria andChannelSignBetween(String value1, String value2) { + addCriterion("channel_sign between", value1, value2, "channelSign"); + return (Criteria) this; + } + + public Criteria andChannelSignNotBetween(String value1, String value2) { + addCriterion("channel_sign not between", value1, value2, "channelSign"); + return (Criteria) this; + } + + public Criteria andEmailIsNull() { + addCriterion("email is null"); + return (Criteria) this; + } + + public Criteria andEmailIsNotNull() { + addCriterion("email is not null"); + return (Criteria) this; + } + + public Criteria andEmailEqualTo(String value) { + addCriterion("email =", value, "email"); + return (Criteria) this; + } + + public Criteria andEmailNotEqualTo(String value) { + addCriterion("email <>", value, "email"); + return (Criteria) this; + } + + public Criteria andEmailGreaterThan(String value) { + addCriterion("email >", value, "email"); + return (Criteria) this; + } + + public Criteria andEmailGreaterThanOrEqualTo(String value) { + addCriterion("email >=", value, "email"); + return (Criteria) this; + } + + public Criteria andEmailLessThan(String value) { + addCriterion("email <", value, "email"); + return (Criteria) this; + } + + public Criteria andEmailLessThanOrEqualTo(String value) { + addCriterion("email <=", value, "email"); + return (Criteria) this; + } + + public Criteria andEmailLike(String value) { + addCriterion("email like", value, "email"); + return (Criteria) this; + } + + public Criteria andEmailNotLike(String value) { + addCriterion("email not like", value, "email"); + return (Criteria) this; + } + + public Criteria andEmailIn(List values) { + addCriterion("email in", values, "email"); + return (Criteria) this; + } + + public Criteria andEmailNotIn(List values) { + addCriterion("email not in", values, "email"); + return (Criteria) this; + } + + public Criteria andEmailBetween(String value1, String value2) { + addCriterion("email between", value1, value2, "email"); + return (Criteria) this; + } + + public Criteria andEmailNotBetween(String value1, String value2) { + addCriterion("email not between", value1, value2, "email"); + return (Criteria) this; + } + + public Criteria andApplyTimeIsNull() { + addCriterion("apply_time is null"); + return (Criteria) this; + } + + public Criteria andApplyTimeIsNotNull() { + addCriterion("apply_time is not null"); + return (Criteria) this; + } + + public Criteria andApplyTimeEqualTo(Integer value) { + addCriterion("apply_time =", value, "applyTime"); + return (Criteria) this; + } + + public Criteria andApplyTimeNotEqualTo(Integer value) { + addCriterion("apply_time <>", value, "applyTime"); + return (Criteria) this; + } + + public Criteria andApplyTimeGreaterThan(Integer value) { + addCriterion("apply_time >", value, "applyTime"); + return (Criteria) this; + } + + public Criteria andApplyTimeGreaterThanOrEqualTo(Integer value) { + addCriterion("apply_time >=", value, "applyTime"); + return (Criteria) this; + } + + public Criteria andApplyTimeLessThan(Integer value) { + addCriterion("apply_time <", value, "applyTime"); + return (Criteria) this; + } + + public Criteria andApplyTimeLessThanOrEqualTo(Integer value) { + addCriterion("apply_time <=", value, "applyTime"); + return (Criteria) this; + } + + public Criteria andApplyTimeIn(List values) { + addCriterion("apply_time in", values, "applyTime"); + return (Criteria) this; + } + + public Criteria andApplyTimeNotIn(List values) { + addCriterion("apply_time not in", values, "applyTime"); + return (Criteria) this; + } + + public Criteria andApplyTimeBetween(Integer value1, Integer value2) { + addCriterion("apply_time between", value1, value2, "applyTime"); + return (Criteria) this; + } + + public Criteria andApplyTimeNotBetween(Integer value1, Integer value2) { + addCriterion("apply_time not between", value1, value2, "applyTime"); + return (Criteria) this; + } + + public Criteria andApplyStatusIsNull() { + addCriterion("apply_status is null"); + return (Criteria) this; + } + + public Criteria andApplyStatusIsNotNull() { + addCriterion("apply_status is not null"); + return (Criteria) this; + } + + public Criteria andApplyStatusEqualTo(Short value) { + addCriterion("apply_status =", value, "applyStatus"); + return (Criteria) this; + } + + public Criteria andApplyStatusNotEqualTo(Short value) { + addCriterion("apply_status <>", value, "applyStatus"); + return (Criteria) this; + } + + public Criteria andApplyStatusGreaterThan(Short value) { + addCriterion("apply_status >", value, "applyStatus"); + return (Criteria) this; + } + + public Criteria andApplyStatusGreaterThanOrEqualTo(Short value) { + addCriterion("apply_status >=", value, "applyStatus"); + return (Criteria) this; + } + + public Criteria andApplyStatusLessThan(Short value) { + addCriterion("apply_status <", value, "applyStatus"); + return (Criteria) this; + } + + public Criteria andApplyStatusLessThanOrEqualTo(Short value) { + addCriterion("apply_status <=", value, "applyStatus"); + return (Criteria) this; + } + + public Criteria andApplyStatusIn(List values) { + addCriterion("apply_status in", values, "applyStatus"); + return (Criteria) this; + } + + public Criteria andApplyStatusNotIn(List values) { + addCriterion("apply_status not in", values, "applyStatus"); + return (Criteria) this; + } + + public Criteria andApplyStatusBetween(Short value1, Short value2) { + addCriterion("apply_status between", value1, value2, "applyStatus"); + return (Criteria) this; + } + + public Criteria andApplyStatusNotBetween(Short value1, Short value2) { + addCriterion("apply_status not between", value1, value2, "applyStatus"); + return (Criteria) this; + } + } + + /** + */ + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file