This commit is contained in:
韩鹏辉
2024-03-21 10:22:29 +08:00
parent 1c47f567d8
commit b77eacdccb
270 changed files with 32916 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
package com.chaozhanggui.system.cashierservice.dao;
import com.chaozhanggui.system.cashierservice.entity.SysDept;
public interface SysDeptMapper {
int deleteByPrimaryKey(Long deptId);
int insert(SysDept record);
int insertSelective(SysDept record);
SysDept selectByPrimaryKey(Long deptId);
int updateByPrimaryKeySelective(SysDept record);
int updateByPrimaryKey(SysDept record);
}

View File

@@ -0,0 +1,17 @@
package com.chaozhanggui.system.cashierservice.dao;
import com.chaozhanggui.system.cashierservice.entity.SysDictDetail;
public interface SysDictDetailMapper {
int deleteByPrimaryKey(Long detailId);
int insert(SysDictDetail record);
int insertSelective(SysDictDetail record);
SysDictDetail selectByPrimaryKey(Long detailId);
int updateByPrimaryKeySelective(SysDictDetail record);
int updateByPrimaryKey(SysDictDetail record);
}

View File

@@ -0,0 +1,17 @@
package com.chaozhanggui.system.cashierservice.dao;
import com.chaozhanggui.system.cashierservice.entity.SysDict;
public interface SysDictMapper {
int deleteByPrimaryKey(Long dictId);
int insert(SysDict record);
int insertSelective(SysDict record);
SysDict selectByPrimaryKey(Long dictId);
int updateByPrimaryKeySelective(SysDict record);
int updateByPrimaryKey(SysDict record);
}

View File

@@ -0,0 +1,17 @@
package com.chaozhanggui.system.cashierservice.dao;
import com.chaozhanggui.system.cashierservice.entity.SysJob;
public interface SysJobMapper {
int deleteByPrimaryKey(Long jobId);
int insert(SysJob record);
int insertSelective(SysJob record);
SysJob selectByPrimaryKey(Long jobId);
int updateByPrimaryKeySelective(SysJob record);
int updateByPrimaryKey(SysJob record);
}

View File

@@ -0,0 +1,20 @@
package com.chaozhanggui.system.cashierservice.dao;
import com.chaozhanggui.system.cashierservice.entity.SysLog;
import com.chaozhanggui.system.cashierservice.entity.SysLogWithBLOBs;
public interface SysLogMapper {
int deleteByPrimaryKey(Long logId);
int insert(SysLogWithBLOBs record);
int insertSelective(SysLogWithBLOBs record);
SysLogWithBLOBs selectByPrimaryKey(Long logId);
int updateByPrimaryKeySelective(SysLogWithBLOBs record);
int updateByPrimaryKeyWithBLOBs(SysLogWithBLOBs record);
int updateByPrimaryKey(SysLog record);
}

View File

@@ -0,0 +1,17 @@
package com.chaozhanggui.system.cashierservice.dao;
import com.chaozhanggui.system.cashierservice.entity.SysMenu;
public interface SysMenuMapper {
int deleteByPrimaryKey(Long menuId);
int insert(SysMenu record);
int insertSelective(SysMenu record);
SysMenu selectByPrimaryKey(Long menuId);
int updateByPrimaryKeySelective(SysMenu record);
int updateByPrimaryKey(SysMenu record);
}

View File

@@ -0,0 +1,17 @@
package com.chaozhanggui.system.cashierservice.dao;
import com.chaozhanggui.system.cashierservice.entity.SysQuartzJob;
public interface SysQuartzJobMapper {
int deleteByPrimaryKey(Long jobId);
int insert(SysQuartzJob record);
int insertSelective(SysQuartzJob record);
SysQuartzJob selectByPrimaryKey(Long jobId);
int updateByPrimaryKeySelective(SysQuartzJob record);
int updateByPrimaryKey(SysQuartzJob record);
}

View File

@@ -0,0 +1,19 @@
package com.chaozhanggui.system.cashierservice.dao;
import com.chaozhanggui.system.cashierservice.entity.SysQuartzLog;
public interface SysQuartzLogMapper {
int deleteByPrimaryKey(Long logId);
int insert(SysQuartzLog record);
int insertSelective(SysQuartzLog record);
SysQuartzLog selectByPrimaryKey(Long logId);
int updateByPrimaryKeySelective(SysQuartzLog record);
int updateByPrimaryKeyWithBLOBs(SysQuartzLog record);
int updateByPrimaryKey(SysQuartzLog record);
}

View File

@@ -0,0 +1,17 @@
package com.chaozhanggui.system.cashierservice.dao;
import com.chaozhanggui.system.cashierservice.entity.SysRole;
public interface SysRoleMapper {
int deleteByPrimaryKey(Long roleId);
int insert(SysRole record);
int insertSelective(SysRole record);
SysRole selectByPrimaryKey(Long roleId);
int updateByPrimaryKeySelective(SysRole record);
int updateByPrimaryKey(SysRole record);
}

View File

@@ -0,0 +1,11 @@
package com.chaozhanggui.system.cashierservice.dao;
import com.chaozhanggui.system.cashierservice.entity.SysRolesDeptsKey;
public interface SysRolesDeptsMapper {
int deleteByPrimaryKey(SysRolesDeptsKey key);
int insert(SysRolesDeptsKey record);
int insertSelective(SysRolesDeptsKey record);
}

View File

@@ -0,0 +1,11 @@
package com.chaozhanggui.system.cashierservice.dao;
import com.chaozhanggui.system.cashierservice.entity.SysRolesMenusKey;
public interface SysRolesMenusMapper {
int deleteByPrimaryKey(SysRolesMenusKey key);
int insert(SysRolesMenusKey record);
int insertSelective(SysRolesMenusKey record);
}

View File

@@ -0,0 +1,17 @@
package com.chaozhanggui.system.cashierservice.dao;
import com.chaozhanggui.system.cashierservice.entity.SysUser;
public interface SysUserMapper {
int deleteByPrimaryKey(Long userId);
int insert(SysUser record);
int insertSelective(SysUser record);
SysUser selectByPrimaryKey(Long userId);
int updateByPrimaryKeySelective(SysUser record);
int updateByPrimaryKey(SysUser record);
}

View File

@@ -0,0 +1,11 @@
package com.chaozhanggui.system.cashierservice.dao;
import com.chaozhanggui.system.cashierservice.entity.SysUsersJobsKey;
public interface SysUsersJobsMapper {
int deleteByPrimaryKey(SysUsersJobsKey key);
int insert(SysUsersJobsKey record);
int insertSelective(SysUsersJobsKey record);
}

View File

@@ -0,0 +1,11 @@
package com.chaozhanggui.system.cashierservice.dao;
import com.chaozhanggui.system.cashierservice.entity.SysUsersRolesKey;
public interface SysUsersRolesMapper {
int deleteByPrimaryKey(SysUsersRolesKey key);
int insert(SysUsersRolesKey record);
int insertSelective(SysUsersRolesKey record);
}

View File

@@ -0,0 +1,60 @@
package com.chaozhanggui.system.cashierservice.dao;
import com.chaozhanggui.system.cashierservice.entity.TbCashierCart;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;
import java.util.List;
@Component
@Mapper
public interface TbCashierCartMapper {
int deleteByPrimaryKey(Integer id);
int insert(TbCashierCart record);
int insertSelective(TbCashierCart record);
TbCashierCart selectByPrimaryKey(Integer id);
int updateByPrimaryKeySelective(TbCashierCart record);
int updateByPrimaryKey(TbCashierCart record);
List<TbCashierCart> selectALlByMasterId(@Param("masterId") String masterId, @Param("status") String status);
TbCashierCart selectByDetail(@Param("masterId") String masterId, @Param("productId") String productId,
@Param("shopId") String shopId, @Param("skuId") String skuId, @Param("day") String day, @Param("uuid") String uuid);
List<TbCashierCart> selectByMaskerId(@Param("masterId") String masterId, @Param("shopId") Integer shopId);
void deleteByCartId(@Param("masterId") String masterId, @Param("cartId") Integer cartId);
void updateStatus(@Param("masterId") Integer id, @Param("status") String status);
void updateStatusByMaster(@Param("shopId") Integer shopId, @Param("masterId") String masterId,
@Param("status") String status, @Param("day") String day);
List<TbCashierCart> selectAllCreateOrder(@Param("masterId") String masterId, @Param("shopId") Integer shopId,
@Param("day") String day, @Param("status") String status, @Param("uuid") String uuid);
int updateByOrderId(String orderId);
void updateIsGift(@Param("maskerId") String maskerId, @Param("status") String status, @Param("shopId") Integer shopId, @Param("day") String day);
int selectqgList(String shopId);
void deleteBymasterId(@Param("masterId") String masterId, @Param("shopId") Integer shopId,
@Param("day") String day, @Param("status") String status);
int updateStatusByOrderId(@Param("orderId") String orderId, @Param("status") String status);
List<TbCashierCart> selectByOrderId(@Param("orderId") String orderId,@Param("status") String status);
void updateStatusByTableId(@Param("tableId")String tableId,@Param("status") String status);
}

View File

@@ -0,0 +1,17 @@
package com.chaozhanggui.system.cashierservice.dao;
import com.chaozhanggui.system.cashierservice.entity.TbDeviceOperateInfo;
public interface TbDeviceOperateInfoMapper {
int deleteByPrimaryKey(Integer id);
int insert(TbDeviceOperateInfo record);
int insertSelective(TbDeviceOperateInfo record);
TbDeviceOperateInfo selectByPrimaryKey(Integer id);
int updateByPrimaryKeySelective(TbDeviceOperateInfo record);
int updateByPrimaryKey(TbDeviceOperateInfo record);
}

View File

@@ -0,0 +1,17 @@
package com.chaozhanggui.system.cashierservice.dao;
import com.chaozhanggui.system.cashierservice.entity.TbDeviceStock;
public interface TbDeviceStockMapper {
int deleteByPrimaryKey(Integer id);
int insert(TbDeviceStock record);
int insertSelective(TbDeviceStock record);
TbDeviceStock selectByPrimaryKey(Integer id);
int updateByPrimaryKeySelective(TbDeviceStock record);
int updateByPrimaryKey(TbDeviceStock record);
}

View File

@@ -0,0 +1,23 @@
package com.chaozhanggui.system.cashierservice.dao;
import com.chaozhanggui.system.cashierservice.entity.TbMemberIn;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;
@Component
@Mapper
public interface TbMemberInMapper {
int deleteByPrimaryKey(Integer id);
int insert(TbMemberIn record);
int insertSelective(TbMemberIn record);
TbMemberIn selectByPrimaryKey(Integer id);
int updateByPrimaryKeySelective(TbMemberIn record);
int updateByPrimaryKey(TbMemberIn record);
TbMemberIn selectByOrderNo(String ordrNo);
}

View File

@@ -0,0 +1,11 @@
package com.chaozhanggui.system.cashierservice.dao;
import com.chaozhanggui.system.cashierservice.entity.TbMerchantAccount;
public interface TbMerchantAccountMapper {
TbMerchantAccount selectByAccount(String account);
TbMerchantAccount selectByShopId(String shopId);
}

View File

@@ -0,0 +1,17 @@
package com.chaozhanggui.system.cashierservice.dao;
import com.chaozhanggui.system.cashierservice.entity.TbMerchantRegister;
public interface TbMerchantRegisterMapper {
int deleteByPrimaryKey(Integer id);
int insert(TbMerchantRegister record);
int insertSelective(TbMerchantRegister record);
TbMerchantRegister selectByPrimaryKey(Integer id);
int updateByPrimaryKeySelective(TbMerchantRegister record);
int updateByPrimaryKey(TbMerchantRegister record);
}

View File

@@ -0,0 +1,23 @@
package com.chaozhanggui.system.cashierservice.dao;
import com.chaozhanggui.system.cashierservice.entity.TbMerchantThirdApply;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;
@Component
@Mapper
public interface TbMerchantThirdApplyMapper {
int deleteByPrimaryKey(Integer id);
int insert(TbMerchantThirdApply record);
int insertSelective(TbMerchantThirdApply record);
TbMerchantThirdApply selectByPrimaryKey(Integer id);
int updateByPrimaryKeySelective(TbMerchantThirdApply record);
int updateByPrimaryKeyWithBLOBs(TbMerchantThirdApply record);
int updateByPrimaryKey(TbMerchantThirdApply record);
}

View File

@@ -0,0 +1,41 @@
package com.chaozhanggui.system.cashierservice.dao;
import com.chaozhanggui.system.cashierservice.entity.TbOrderDetail;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;
import java.math.BigDecimal;
import java.util.List;
@Mapper
@Component
public interface TbOrderDetailMapper {
int deleteByPrimaryKey(Integer id);
int insert(TbOrderDetail record);
int insertSelective(TbOrderDetail record);
TbOrderDetail selectByPrimaryKey(Integer id);
int updateByPrimaryKeySelective(TbOrderDetail record);
int updateByPrimaryKey(TbOrderDetail record);
void updateStatusByOrderId(@Param("orderId") int orderId, @Param("status") String status);
void deleteByOUrderId(@Param("orderId") int orderId);
List<TbOrderDetail> selectAllByOrderId(@Param("id") Integer id);
List<TbOrderDetail> selectAllByOrderIdAndStatus(@Param("list") List<TbOrderDetail> list, @Param("orderId") String orderId);
BigDecimal selectByOrderId(String orderId);
void updateStatusByOrderIdAndStatus(@Param("orderId") int orderId,@Param("status") String status);
}

View File

@@ -0,0 +1,20 @@
package com.chaozhanggui.system.cashierservice.dao;
import com.chaozhanggui.system.cashierservice.entity.TbOrderExtend;
import com.chaozhanggui.system.cashierservice.entity.TbOrderExtendWithBLOBs;
public interface TbOrderExtendMapper {
int deleteByPrimaryKey(Integer id);
int insert(TbOrderExtendWithBLOBs record);
int insertSelective(TbOrderExtendWithBLOBs record);
TbOrderExtendWithBLOBs selectByPrimaryKey(Integer id);
int updateByPrimaryKeySelective(TbOrderExtendWithBLOBs record);
int updateByPrimaryKeyWithBLOBs(TbOrderExtendWithBLOBs record);
int updateByPrimaryKey(TbOrderExtend record);
}

View File

@@ -0,0 +1,36 @@
package com.chaozhanggui.system.cashierservice.dao;
import com.chaozhanggui.system.cashierservice.entity.TbOrderInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;
import java.util.List;
@Component
@Mapper
public interface TbOrderInfoMapper {
int deleteByPrimaryKey(Integer id);
int insert(TbOrderInfo record);
int insertSelective(TbOrderInfo record);
TbOrderInfo selectByPrimaryKey(Integer id);
int updateByPrimaryKeySelective(TbOrderInfo record);
int updateByPrimaryKey(TbOrderInfo record);
void updateStatusById(@Param("orderId") int orderId, @Param("status") String status);
List<TbOrderInfo> selectAllByStatus(String status);
TbOrderInfo selectByPayOrderNo(String payOrderNo);
List<TbOrderInfo> selectByUserId(@Param("userId")Integer userId, @Param("page")Integer page,
@Param("size")Integer size, @Param("status") String status);
}

View File

@@ -0,0 +1,23 @@
package com.chaozhanggui.system.cashierservice.dao;
import com.chaozhanggui.system.cashierservice.entity.TbOrderPayment;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;
@Component
@Mapper
public interface TbOrderPaymentMapper {
int deleteByPrimaryKey(Integer id);
int insert(TbOrderPayment record);
int insertSelective(TbOrderPayment record);
TbOrderPayment selectByPrimaryKey(Integer id);
int updateByPrimaryKeySelective(TbOrderPayment record);
int updateByPrimaryKey(TbOrderPayment record);
TbOrderPayment selectByOrderId(String orderId);
}

View File

@@ -0,0 +1,19 @@
package com.chaozhanggui.system.cashierservice.dao;
import com.chaozhanggui.system.cashierservice.entity.TbPlussDeviceGoods;
public interface TbPlussDeviceGoodsMapper {
int deleteByPrimaryKey(Integer id);
int insert(TbPlussDeviceGoods record);
int insertSelective(TbPlussDeviceGoods record);
TbPlussDeviceGoods selectByPrimaryKey(Integer id);
int updateByPrimaryKeySelective(TbPlussDeviceGoods record);
int updateByPrimaryKeyWithBLOBs(TbPlussDeviceGoods record);
int updateByPrimaryKey(TbPlussDeviceGoods record);
}

View File

@@ -0,0 +1,28 @@
package com.chaozhanggui.system.cashierservice.dao;
import com.chaozhanggui.system.cashierservice.entity.TbPrintMachine;
import com.chaozhanggui.system.cashierservice.entity.TbPrintMachineWithBLOBs;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;
import java.util.List;
@Component
@Mapper
public interface TbPrintMachineMapper {
int deleteByPrimaryKey(Integer id);
int insert(TbPrintMachineWithBLOBs record);
int insertSelective(TbPrintMachineWithBLOBs record);
TbPrintMachineWithBLOBs selectByPrimaryKey(Integer id);
int updateByPrimaryKeySelective(TbPrintMachineWithBLOBs record);
int updateByPrimaryKeyWithBLOBs(TbPrintMachineWithBLOBs record);
int updateByPrimaryKey(TbPrintMachine record);
List<TbPrintMachineWithBLOBs> selectByShopId(String shopId);
}

View File

@@ -0,0 +1,31 @@
package com.chaozhanggui.system.cashierservice.dao;
import com.chaozhanggui.system.cashierservice.entity.TbProductGroup;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;
import java.util.List;
@Component
@Mapper
public interface TbProductGroupMapper {
int deleteByPrimaryKey(Integer id);
int insert(TbProductGroup record);
int insertSelective(TbProductGroup record);
TbProductGroup selectByPrimaryKey(Integer id);
int updateByPrimaryKeySelective(TbProductGroup record);
int updateByPrimaryKeyWithBLOBs(TbProductGroup record);
int updateByPrimaryKey(TbProductGroup record);
List<TbProductGroup> selectByIdAndShopId(@Param("code") String code);
List<TbProductGroup> selectByQrcode(@Param("qrCode") String qrCode,@Param("groupId") Integer groupId);
}

View File

@@ -0,0 +1,35 @@
package com.chaozhanggui.system.cashierservice.dao;
import com.chaozhanggui.system.cashierservice.entity.TbProduct;
import com.chaozhanggui.system.cashierservice.entity.TbProductWithBLOBs;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;
import java.util.List;
@Component
@Mapper
public interface TbProductMapper {
int deleteByPrimaryKey(Integer id);
int insert(TbProductWithBLOBs record);
int insertSelective(TbProductWithBLOBs record);
TbProductWithBLOBs selectByPrimaryKey(Integer id);
TbProduct selectById(Integer id);
int updateByPrimaryKeySelective(TbProductWithBLOBs record);
int updateByPrimaryKeyWithBLOBs(TbProductWithBLOBs record);
int updateByPrimaryKey(TbProduct record);
List<TbProduct> selectByIdIn(@Param("ids") String ids);
Integer selectByQcode(@Param("code") String code,@Param("productId") Integer productId,@Param("shopId") String shopId);
Integer selectByNewQcode(@Param("code") String code,@Param("productId") Integer productId,@Param("shopId") String shopId,@Param("list") List<String> list);
}

View File

@@ -0,0 +1,34 @@
package com.chaozhanggui.system.cashierservice.dao;
import com.chaozhanggui.system.cashierservice.entity.TbProductSku;
import com.chaozhanggui.system.cashierservice.entity.TbProductSkuWithBLOBs;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;
import java.util.List;
@Component
@Mapper
public interface TbProductSkuMapper {
int deleteByPrimaryKey(Integer id);
int insert(TbProductSkuWithBLOBs record);
int insertSelective(TbProductSkuWithBLOBs record);
TbProductSkuWithBLOBs selectByPrimaryKey(Integer id);
Integer selectBySpecSnap(@Param("shopId")String shopId,@Param("tableId") Integer tableId,@Param("specSnap") String specSnap);
int updateByPrimaryKeySelective(TbProductSkuWithBLOBs record);
int updateByPrimaryKeyWithBLOBs(TbProductSkuWithBLOBs record);
int updateByPrimaryKey(TbProductSku record);
TbProductSkuWithBLOBs selectByShopIdAndProductIdAndSpec(@Param("shopId") String shopId, @Param("productId") String productId, @Param("spec") String spec);
void updateStockById(@Param("skuId") String skuId, @Param("num") Integer num);
void updateAddStockById(@Param("skuId") String skuId, @Param("num") Integer num);
List<TbProductSku> selectAll();
}

View File

@@ -0,0 +1,23 @@
package com.chaozhanggui.system.cashierservice.dao;
import com.chaozhanggui.system.cashierservice.entity.TbProductSkuResult;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;
@Component
@Mapper
public interface TbProductSkuResultMapper {
int deleteByPrimaryKey(Integer id);
int insert(TbProductSkuResult record);
int insertSelective(TbProductSkuResult record);
TbProductSkuResult selectByPrimaryKey(Integer id);
int updateByPrimaryKeySelective(TbProductSkuResult record);
int updateByPrimaryKeyWithBLOBs(TbProductSkuResult record);
int updateByPrimaryKey(TbProductSkuResult record);
}

View File

@@ -0,0 +1,19 @@
package com.chaozhanggui.system.cashierservice.dao;
import com.chaozhanggui.system.cashierservice.entity.TbProductSpec;
public interface TbProductSpecMapper {
int deleteByPrimaryKey(Integer id);
int insert(TbProductSpec record);
int insertSelective(TbProductSpec record);
TbProductSpec selectByPrimaryKey(Integer id);
int updateByPrimaryKeySelective(TbProductSpec record);
int updateByPrimaryKeyWithBLOBs(TbProductSpec record);
int updateByPrimaryKey(TbProductSpec record);
}

View File

@@ -0,0 +1,19 @@
package com.chaozhanggui.system.cashierservice.dao;
import com.chaozhanggui.system.cashierservice.entity.TbProductStockDetail;
public interface TbProductStockDetailMapper {
int deleteByPrimaryKey(Long id);
int insert(TbProductStockDetail record);
int insertSelective(TbProductStockDetail record);
TbProductStockDetail selectByPrimaryKey(Long id);
int updateByPrimaryKeySelective(TbProductStockDetail record);
int updateByPrimaryKeyWithBLOBs(TbProductStockDetail record);
int updateByPrimaryKey(TbProductStockDetail record);
}

View File

@@ -0,0 +1,19 @@
package com.chaozhanggui.system.cashierservice.dao;
import com.chaozhanggui.system.cashierservice.entity.TbProductStockOperate;
public interface TbProductStockOperateMapper {
int deleteByPrimaryKey(Integer id);
int insert(TbProductStockOperate record);
int insertSelective(TbProductStockOperate record);
TbProductStockOperate selectByPrimaryKey(Integer id);
int updateByPrimaryKeySelective(TbProductStockOperate record);
int updateByPrimaryKeyWithBLOBs(TbProductStockOperate record);
int updateByPrimaryKey(TbProductStockOperate record);
}

View File

@@ -0,0 +1,17 @@
package com.chaozhanggui.system.cashierservice.dao;
import com.chaozhanggui.system.cashierservice.entity.TbReceiptSales;
public interface TbReceiptSalesMapper {
int deleteByPrimaryKey(Integer id);
int insert(TbReceiptSales record);
int insertSelective(TbReceiptSales record);
TbReceiptSales selectByPrimaryKey(Integer id);
int updateByPrimaryKeySelective(TbReceiptSales record);
int updateByPrimaryKey(TbReceiptSales record);
}

View File

@@ -0,0 +1,17 @@
package com.chaozhanggui.system.cashierservice.dao;
import com.chaozhanggui.system.cashierservice.entity.TbRenewalsPayLog;
public interface TbRenewalsPayLogMapper {
int deleteByPrimaryKey(Integer id);
int insert(TbRenewalsPayLog record);
int insertSelective(TbRenewalsPayLog record);
TbRenewalsPayLog selectByPrimaryKey(Integer id);
int updateByPrimaryKeySelective(TbRenewalsPayLog record);
int updateByPrimaryKey(TbRenewalsPayLog record);
}

View File

@@ -0,0 +1,23 @@
package com.chaozhanggui.system.cashierservice.dao;
import com.chaozhanggui.system.cashierservice.entity.TbShopArea;
import java.util.List;
public interface TbShopAreaMapper {
int deleteByPrimaryKey(Integer id);
int insert(TbShopArea record);
int insertSelective(TbShopArea record);
TbShopArea selectByPrimaryKey(Integer id);
List<TbShopArea> selectByShopId(Integer shopId);
int updateByPrimaryKeySelective(TbShopArea record);
int updateByPrimaryKeyWithBLOBs(TbShopArea record);
int updateByPrimaryKey(TbShopArea record);
}

View File

@@ -0,0 +1,20 @@
package com.chaozhanggui.system.cashierservice.dao;
import com.chaozhanggui.system.cashierservice.entity.TbShopCashSpread;
import com.chaozhanggui.system.cashierservice.entity.TbShopCashSpreadWithBLOBs;
public interface TbShopCashSpreadMapper {
int deleteByPrimaryKey(Integer id);
int insert(TbShopCashSpreadWithBLOBs record);
int insertSelective(TbShopCashSpreadWithBLOBs record);
TbShopCashSpreadWithBLOBs selectByPrimaryKey(Integer id);
int updateByPrimaryKeySelective(TbShopCashSpreadWithBLOBs record);
int updateByPrimaryKeyWithBLOBs(TbShopCashSpreadWithBLOBs record);
int updateByPrimaryKey(TbShopCashSpread record);
}

View File

@@ -0,0 +1,17 @@
package com.chaozhanggui.system.cashierservice.dao;
import com.chaozhanggui.system.cashierservice.entity.TbShopCategory;
public interface TbShopCategoryMapper {
int deleteByPrimaryKey(Integer id);
int insert(TbShopCategory record);
int insertSelective(TbShopCategory record);
TbShopCategory selectByPrimaryKey(Integer id);
int updateByPrimaryKeySelective(TbShopCategory record);
int updateByPrimaryKey(TbShopCategory record);
}

View File

@@ -0,0 +1,20 @@
package com.chaozhanggui.system.cashierservice.dao;
import com.chaozhanggui.system.cashierservice.entity.TbShopCurrency;
import com.chaozhanggui.system.cashierservice.entity.TbShopCurrencyWithBLOBs;
public interface TbShopCurrencyMapper {
int deleteByPrimaryKey(Integer id);
int insert(TbShopCurrencyWithBLOBs record);
int insertSelective(TbShopCurrencyWithBLOBs record);
TbShopCurrencyWithBLOBs selectByPrimaryKey(Integer id);
int updateByPrimaryKeySelective(TbShopCurrencyWithBLOBs record);
int updateByPrimaryKeyWithBLOBs(TbShopCurrencyWithBLOBs record);
int updateByPrimaryKey(TbShopCurrency record);
}

View File

@@ -0,0 +1,27 @@
package com.chaozhanggui.system.cashierservice.dao;
import com.chaozhanggui.system.cashierservice.entity.TbShopInfo;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;
@Component
@Mapper
public interface TbShopInfoMapper {
int deleteByPrimaryKey(Integer id);
int insert(TbShopInfo record);
int insertSelective(TbShopInfo record);
TbShopInfo selectByPrimaryKey(Integer id);
int updateByPrimaryKeySelective(TbShopInfo record);
int updateByPrimaryKeyWithBLOBs(TbShopInfo record);
int updateByPrimaryKey(TbShopInfo record);
TbShopInfo selectByQrCode(String qrcode);
TbShopInfo selectByPhone(String phone);
}

View File

@@ -0,0 +1,17 @@
package com.chaozhanggui.system.cashierservice.dao;
import com.chaozhanggui.system.cashierservice.entity.TbShopPayType;
public interface TbShopPayTypeMapper {
int deleteByPrimaryKey(Integer id);
int insert(TbShopPayType record);
int insertSelective(TbShopPayType record);
TbShopPayType selectByPrimaryKey(Integer id);
int updateByPrimaryKeySelective(TbShopPayType record);
int updateByPrimaryKey(TbShopPayType record);
}

View File

@@ -0,0 +1,17 @@
package com.chaozhanggui.system.cashierservice.dao;
import com.chaozhanggui.system.cashierservice.entity.TbShopPurveyor;
public interface TbShopPurveyorMapper {
int deleteByPrimaryKey(Integer id);
int insert(TbShopPurveyor record);
int insertSelective(TbShopPurveyor record);
TbShopPurveyor selectByPrimaryKey(Integer id);
int updateByPrimaryKeySelective(TbShopPurveyor record);
int updateByPrimaryKey(TbShopPurveyor record);
}

View File

@@ -0,0 +1,17 @@
package com.chaozhanggui.system.cashierservice.dao;
import com.chaozhanggui.system.cashierservice.entity.TbShopPurveyorTransact;
public interface TbShopPurveyorTransactMapper {
int deleteByPrimaryKey(Integer id);
int insert(TbShopPurveyorTransact record);
int insertSelective(TbShopPurveyorTransact record);
TbShopPurveyorTransact selectByPrimaryKey(Integer id);
int updateByPrimaryKeySelective(TbShopPurveyorTransact record);
int updateByPrimaryKey(TbShopPurveyorTransact record);
}

View File

@@ -0,0 +1,28 @@
package com.chaozhanggui.system.cashierservice.dao;
import com.chaozhanggui.system.cashierservice.entity.TbShopTable;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;
import java.util.List;
@Component
@Mapper
public interface TbShopTableMapper {
int deleteByPrimaryKey(Integer id);
int insert(TbShopTable record);
int insertSelective(TbShopTable record);
TbShopTable selectByPrimaryKey(Integer id);
List<TbShopTable> selectShopTableById(@Param("shopId") Integer shopId, @Param("areaId")Integer areaId);
TbShopTable selectQRcode(String code);
int updateByPrimaryKeySelective(TbShopTable record);
int updateByPrimaryKey(TbShopTable record);
}

View File

@@ -0,0 +1,17 @@
package com.chaozhanggui.system.cashierservice.dao;
import com.chaozhanggui.system.cashierservice.entity.TbShopUnit;
public interface TbShopUnitMapper {
int deleteByPrimaryKey(Integer id);
int insert(TbShopUnit record);
int insertSelective(TbShopUnit record);
TbShopUnit selectByPrimaryKey(Integer id);
int updateByPrimaryKeySelective(TbShopUnit record);
int updateByPrimaryKey(TbShopUnit record);
}

View File

@@ -0,0 +1,26 @@
package com.chaozhanggui.system.cashierservice.dao;
import com.chaozhanggui.system.cashierservice.entity.TbShopUserFlow;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;
import java.util.List;
import java.util.Map;
@Component
@Mapper
public interface TbShopUserFlowMapper {
int deleteByPrimaryKey(Integer id);
int insert(TbShopUserFlow record);
int insertSelective(TbShopUserFlow record);
TbShopUserFlow selectByPrimaryKey(Integer id);
int updateByPrimaryKeySelective(TbShopUserFlow record);
int updateByPrimaryKey(TbShopUserFlow record);
List<Map<String,Object>> selectByMemberAccountFlow(String memberId);
}

View File

@@ -0,0 +1,28 @@
package com.chaozhanggui.system.cashierservice.dao;
import com.chaozhanggui.system.cashierservice.entity.TbShopUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;
@Component
@Mapper
public interface TbShopUserMapper {
int deleteByPrimaryKey(String id);
int insert(TbShopUser record);
int insertSelective(TbShopUser record);
TbShopUser selectByPrimaryKey(String id);
int updateByPrimaryKeySelective(TbShopUser record);
int updateByPrimaryKey(TbShopUser record);
TbShopUser selectByUserIdAndShopId(@Param("userId") String userId,@Param("shopId") String shopId);
TbShopUser selectByUserId(@Param("userId") String userId);
}

View File

@@ -0,0 +1,21 @@
package com.chaozhanggui.system.cashierservice.dao;
import com.chaozhanggui.system.cashierservice.entity.TbToken;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;
@Component
@Mapper
public interface TbTokenMapper {
int deleteByPrimaryKey(Integer id);
int insert(TbToken record);
int insertSelective(TbToken record);
TbToken selectByPrimaryKey(Integer id);
int updateByPrimaryKeySelective(TbToken record);
int updateByPrimaryKey(TbToken record);
}

View File

@@ -0,0 +1,26 @@
package com.chaozhanggui.system.cashierservice.dao;
import com.chaozhanggui.system.cashierservice.entity.TbUserInfo;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;
@Component
@Mapper
public interface TbUserInfoMapper {
int deleteByPrimaryKey(Integer id);
int insert(TbUserInfo record);
int insertSelective(TbUserInfo record);
TbUserInfo selectByPrimaryKey(Integer id);
int updateByPrimaryKeySelective(TbUserInfo record);
int updateByPrimaryKey(TbUserInfo record);
TbUserInfo selectByOpenId(String openId);
}

View File

@@ -0,0 +1,20 @@
package com.chaozhanggui.system.cashierservice.dao;
import com.chaozhanggui.system.cashierservice.entity.ToolAlipayConfig;
import com.chaozhanggui.system.cashierservice.entity.ToolAlipayConfigWithBLOBs;
public interface ToolAlipayConfigMapper {
int deleteByPrimaryKey(Long configId);
int insert(ToolAlipayConfigWithBLOBs record);
int insertSelective(ToolAlipayConfigWithBLOBs record);
ToolAlipayConfigWithBLOBs selectByPrimaryKey(Long configId);
int updateByPrimaryKeySelective(ToolAlipayConfigWithBLOBs record);
int updateByPrimaryKeyWithBLOBs(ToolAlipayConfigWithBLOBs record);
int updateByPrimaryKey(ToolAlipayConfig record);
}

View File

@@ -0,0 +1,17 @@
package com.chaozhanggui.system.cashierservice.dao;
import com.chaozhanggui.system.cashierservice.entity.ToolEmailConfig;
public interface ToolEmailConfigMapper {
int deleteByPrimaryKey(Long configId);
int insert(ToolEmailConfig record);
int insertSelective(ToolEmailConfig record);
ToolEmailConfig selectByPrimaryKey(Long configId);
int updateByPrimaryKeySelective(ToolEmailConfig record);
int updateByPrimaryKey(ToolEmailConfig record);
}

View File

@@ -0,0 +1,17 @@
package com.chaozhanggui.system.cashierservice.dao;
import com.chaozhanggui.system.cashierservice.entity.ToolLocalStorage;
public interface ToolLocalStorageMapper {
int deleteByPrimaryKey(Long storageId);
int insert(ToolLocalStorage record);
int insertSelective(ToolLocalStorage record);
ToolLocalStorage selectByPrimaryKey(Long storageId);
int updateByPrimaryKeySelective(ToolLocalStorage record);
int updateByPrimaryKey(ToolLocalStorage record);
}

View File

@@ -0,0 +1,20 @@
package com.chaozhanggui.system.cashierservice.dao;
import com.chaozhanggui.system.cashierservice.entity.ToolQiniuConfig;
import com.chaozhanggui.system.cashierservice.entity.ToolQiniuConfigWithBLOBs;
public interface ToolQiniuConfigMapper {
int deleteByPrimaryKey(Long configId);
int insert(ToolQiniuConfigWithBLOBs record);
int insertSelective(ToolQiniuConfigWithBLOBs record);
ToolQiniuConfigWithBLOBs selectByPrimaryKey(Long configId);
int updateByPrimaryKeySelective(ToolQiniuConfigWithBLOBs record);
int updateByPrimaryKeyWithBLOBs(ToolQiniuConfigWithBLOBs record);
int updateByPrimaryKey(ToolQiniuConfig record);
}

View File

@@ -0,0 +1,17 @@
package com.chaozhanggui.system.cashierservice.dao;
import com.chaozhanggui.system.cashierservice.entity.ToolQiniuContent;
public interface ToolQiniuContentMapper {
int deleteByPrimaryKey(Long contentId);
int insert(ToolQiniuContent record);
int insertSelective(ToolQiniuContent record);
ToolQiniuContent selectByPrimaryKey(Long contentId);
int updateByPrimaryKeySelective(ToolQiniuContent record);
int updateByPrimaryKey(ToolQiniuContent record);
}

View File

@@ -0,0 +1,9 @@
package com.chaozhanggui.system.cashierservice.dao;
import com.chaozhanggui.system.cashierservice.entity.ViewOrder;
public interface ViewOrderMapper {
int insert(ViewOrder record);
int insertSelective(ViewOrder record);
}