This commit is contained in:
韩鹏辉
2024-03-21 10:17:54 +08:00
parent c7e46f3504
commit b96a251fd8
296 changed files with 34548 additions and 0 deletions

View File

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

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,17 @@
package com.chaozhanggui.system.cashierservice.dao;
import com.chaozhanggui.system.cashierservice.entity.MntDatabase;
public interface MntDatabaseMapper {
int deleteByPrimaryKey(String dbId);
int insert(MntDatabase record);
int insertSelective(MntDatabase record);
MntDatabase selectByPrimaryKey(String dbId);
int updateByPrimaryKeySelective(MntDatabase record);
int updateByPrimaryKey(MntDatabase record);
}

View File

@@ -0,0 +1,17 @@
package com.chaozhanggui.system.cashierservice.dao;
import com.chaozhanggui.system.cashierservice.entity.MntDeployHistory;
public interface MntDeployHistoryMapper {
int deleteByPrimaryKey(String historyId);
int insert(MntDeployHistory record);
int insertSelective(MntDeployHistory record);
MntDeployHistory selectByPrimaryKey(String historyId);
int updateByPrimaryKeySelective(MntDeployHistory record);
int updateByPrimaryKey(MntDeployHistory record);
}

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,29 @@
package com.chaozhanggui.system.cashierservice.dao;
import com.chaozhanggui.system.cashierservice.entity.ShopUserDutyDetail;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;
import java.util.List;
@Mapper
@Component
public interface ShopUserDutyDetailMapper {
int deleteByPrimaryKey(Integer id);
int insert(ShopUserDutyDetail record);
int insertSelective(ShopUserDutyDetail record);
ShopUserDutyDetail selectByPrimaryKey(Integer id);
int updateByPrimaryKeySelective(ShopUserDutyDetail record);
int updateByPrimaryKey(ShopUserDutyDetail record);
int batchInsert(@Param("list") List<ShopUserDutyDetail> list);
List<ShopUserDutyDetail> selectByDuctId(@Param("id") Integer id, @Param("list") List<Integer> list);
List<ShopUserDutyDetail> selectAllByDuctId(@Param("id") Integer id);
}

View File

@@ -0,0 +1,35 @@
package com.chaozhanggui.system.cashierservice.dao;
import com.chaozhanggui.system.cashierservice.entity.ShopUserDuty;
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;
@Component
@Mapper
public interface ShopUserDutyMapper {
int deleteByPrimaryKey(Integer id);
int insert(ShopUserDuty record);
int insertSelective(ShopUserDuty record);
ShopUserDuty selectByPrimaryKey(Integer id);
int updateByPrimaryKeySelective(ShopUserDuty record);
int updateByPrimaryKey(ShopUserDuty record);
ShopUserDuty selectByTokenId(@Param("tokenId") Integer tokenId);
void updateStatusByTokenId(@Param("tokenId") Integer tokenId);
List<ShopUserDuty> selectByShopId(@Param("shopId") String shopId);
BigDecimal selectSumAmount(@Param("shopId") String shopId);
ShopUserDuty selectByTokenIdAndTradeDay(@Param("tokenId") int tokenId, @Param("day") String day,@Param("shopId") String shopId);
}

View File

@@ -0,0 +1,24 @@
package com.chaozhanggui.system.cashierservice.dao;
import com.chaozhanggui.system.cashierservice.entity.ShopUserDutyPay;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;
@Component
@Mapper
public interface ShopUserDutyPayMapper {
int deleteByPrimaryKey(Integer id);
int insert(ShopUserDutyPay record);
int insertSelective(ShopUserDutyPay record);
ShopUserDutyPay selectByPrimaryKey(Integer id);
int updateByPrimaryKeySelective(ShopUserDutyPay record);
int updateByPrimaryKey(ShopUserDutyPay record);
ShopUserDutyPay selectByDuctIdAndType(@Param("dutyId") Integer dutyId,@Param("payType") String payType);
}

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,62 @@
package com.chaozhanggui.system.cashierservice.dao;
import com.chaozhanggui.system.cashierservice.entity.TbCashierCart;
import com.chaozhanggui.system.cashierservice.entity.po.CartPo;
import com.chaozhanggui.system.cashierservice.entity.po.QueryCartPo;
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,@Param("status") String status);
void deleteByCartId(@Param("masterId") String masterId, @Param("cartId")Integer cartId);
void updateStatus(@Param("masterId") Integer id,@Param("status") String status);
List<CartPo> selectCartList( @Param("shopId") Integer shopId);
void updateStatusByMaster(@Param("shopId") Integer shopId, @Param("masterId") String masterId,
@Param("status") String status, @Param("day") String day, @Param("uuid") String uuid);
List<TbCashierCart> selectAllCreateOrder(@Param("masterId") String masterId, @Param("shopId") Integer shopId,
@Param("day") String day, @Param("status") String status,@Param("uuid") String uuid);
List<CartPo> selectCartList( @Param("cartId") String shopId);
int updateByOrderId(@Param("orderId") String orderId,@Param("status") String status);
QueryCartPo selectProductNumByMarketId(@Param("day") String day, @Param("shopId") String shopId, @Param("masterId") String masterId);
void updateIsGift(@Param("maskerId")String maskerId,@Param("status")String status,@Param("shopId") Integer shopId,@Param("day") String day);
int selectqgList(@Param("shopId") String shopId);
void deleteBymasterId(@Param("masterId") String masterId, @Param("shopId") Integer shopId,
@Param("day") String day,@Param("status") String status,@Param("uuid") String uuid);
List<TbCashierCart> selectByOrderId(@Param("orderId") String orderId,@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,21 @@
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);
}

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,44 @@
package com.chaozhanggui.system.cashierservice.dao;
import com.chaozhanggui.system.cashierservice.entity.TbOrderDetail;
import com.chaozhanggui.system.cashierservice.entity.po.OrderDetailPo;
import org.apache.commons.lang3.StringUtils;
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 updateStatusByOrderIdAndStatus(@Param("orderId") int orderId,@Param("status") String status);
void deleteByOUrderId(@Param("orderId") int orderId);
List<TbOrderDetail> selectAllByOrderId(@Param("id") Integer id);
int updateBatchOrderDetail(@Param("list")List<OrderDetailPo> list);
List<TbOrderDetail> selectAllByOrderIdAndStatus(@Param("list") List<TbOrderDetail> list, @Param("orderId") String orderId);
BigDecimal selectByOrderId(String orderId);
int batchInsert(@Param("list") List<TbOrderDetail> list,@Param("orderId") String orderId);
}

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,33 @@
package com.chaozhanggui.system.cashierservice.dao;
import com.chaozhanggui.system.cashierservice.entity.TbOrderInfo;
import com.chaozhanggui.system.cashierservice.entity.po.OrderPo;
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);
List<OrderPo> selectAllByShop(@Param("shopId") Integer shopId, @Param("orderType") String orderType,
@Param("day") String day, @Param("orderNo") String orderNo);
}

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,23 @@
package com.chaozhanggui.system.cashierservice.dao;
import com.chaozhanggui.system.cashierservice.entity.TbPlussShopStaff;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;
@Component
@Mapper
public interface TbPlussShopStaffMapper {
int deleteByPrimaryKey(Integer id);
int insert(TbPlussShopStaff record);
int insertSelective(TbPlussShopStaff record);
TbPlussShopStaff selectByPrimaryKey(Integer id);
int updateByPrimaryKeySelective(TbPlussShopStaff record);
int updateByPrimaryKey(TbPlussShopStaff record);
TbPlussShopStaff selectByAccount(String account);
}

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,19 @@
package com.chaozhanggui.system.cashierservice.dao;
import com.chaozhanggui.system.cashierservice.entity.TbProductGroup;
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);
}

View File

@@ -0,0 +1,39 @@
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);
int updateByPrimaryKeySelective(TbProductWithBLOBs record);
int updateByPrimaryKeyWithBLOBs(TbProductWithBLOBs record);
int updateByPrimaryKey(TbProduct record);
List<TbProductWithBLOBs> selectByShopId(@Param("shopId") String shopId,@Param("commdityName") String commdityName);
List<TbProductWithBLOBs> selectByShopIdAndShopType(@Param("shopId") String shopId, @Param("categoryId") String categoryId,@Param("commdityName") String commdityName);
Integer countOrderByshopIdAndProductId(@Param("shopId") String shopId, @Param("productId") String productId, @Param("masterId") String masterId);
}

View File

@@ -0,0 +1,30 @@
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;
@Component
@Mapper
public interface TbProductSkuMapper {
int deleteByPrimaryKey(Integer id);
int insert(TbProductSkuWithBLOBs record);
int insertSelective(TbProductSkuWithBLOBs record);
TbProductSkuWithBLOBs selectByPrimaryKey(Integer id);
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);
TbProductSkuWithBLOBs selectByProduct(@Param("productId") Integer productId);
}

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,25 @@
package com.chaozhanggui.system.cashierservice.dao;
import com.chaozhanggui.system.cashierservice.entity.TbProductSpec;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;
@Component
@Mapper
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,27 @@
package com.chaozhanggui.system.cashierservice.dao;
import com.chaozhanggui.system.cashierservice.entity.TbShopArea;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;
import java.util.List;
@Component
@Mapper
public interface TbShopAreaMapper {
int deleteByPrimaryKey(Integer id);
int insert(TbShopArea record);
int insertSelective(TbShopArea record);
TbShopArea selectByPrimaryKey(Integer id);
int updateByPrimaryKeySelective(TbShopArea record);
int updateByPrimaryKeyWithBLOBs(TbShopArea record);
int updateByPrimaryKey(TbShopArea record);
List<TbShopArea> selectByShopId(String shopId);
}

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,25 @@
package com.chaozhanggui.system.cashierservice.dao;
import com.chaozhanggui.system.cashierservice.entity.TbShopCategory;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;
import java.util.List;
@Component
@Mapper
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);
List<TbShopCategory> selectByAll(String shopId);
}

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,29 @@
package com.chaozhanggui.system.cashierservice.dao;
import com.chaozhanggui.system.cashierservice.entity.TbShopInfo;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;
import java.util.List;
@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);
List<TbShopInfo> selectAll();
List<TbShopInfo> selectAllByCreateTime();
}

View File

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

View File

@@ -0,0 +1,30 @@
package com.chaozhanggui.system.cashierservice.dao;
import com.chaozhanggui.system.cashierservice.entity.TbShopPayType;
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 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);
List<TbShopPayType> selectByShopId(String shopId);
int countSelectByShopIdAndPayType(@Param("shopId") String shopId, @Param("payType") String payType );
}

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,26 @@
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);
int updateByPrimaryKeySelective(TbShopTable record);
int updateByPrimaryKey(TbShopTable record);
List<TbShopTable> selectByShopIdAndStatus(@Param("shopId") String shopId,@Param("areaId") String areaId,@Param("status") String status);
}

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,26 @@
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;
import java.util.List;
@Component
@Mapper
public interface TbShopUserMapper {
int deleteByPrimaryKey(Integer id);
int insert(TbShopUser record);
int insertSelective(TbShopUser record);
TbShopUser selectByPrimaryKey(Integer id);
int updateByPrimaryKeySelective(TbShopUser record);
int updateByPrimaryKey(TbShopUser record);
List<TbShopUser> selectByShopId(@Param("shopId") String shopId,@Param("phone") String phone);
}

View File

@@ -0,0 +1,23 @@
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);
TbToken selectByToken(String token);
}

View File

@@ -0,0 +1,17 @@
package com.chaozhanggui.system.cashierservice.dao;
import com.chaozhanggui.system.cashierservice.entity.TbUserInfo;
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);
}

View File

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

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);
}