调整mapper扫描方式,增加请求信息打印

This commit is contained in:
2024-09-20 15:51:59 +08:00
parent fa94b0b1bf
commit 753f3d9d8b
48 changed files with 77 additions and 520 deletions

View File

@@ -7,8 +7,6 @@ import org.springframework.stereotype.Component;
import java.util.List;
@Mapper
@Component
public interface ShopUserDutyDetailMapper {
int deleteByPrimaryKey(Integer id);
@@ -26,4 +24,4 @@ public interface ShopUserDutyDetailMapper {
List<ShopUserDutyDetail> selectByDuctId(@Param("id") Integer id, @Param("list") List<Integer> list);
List<ShopUserDutyDetail> selectAllByDuctId(@Param("id") Integer id);
}
}

View File

@@ -9,8 +9,6 @@ import org.springframework.stereotype.Component;
import java.math.BigDecimal;
import java.util.List;
@Component
@Mapper
public interface ShopUserDutyMapper {
int deleteByPrimaryKey(Integer id);
@@ -47,4 +45,4 @@ public interface ShopUserDutyMapper {
List<ProductInfo> selectByDutyId(Integer dutyId);
}
}

View File

@@ -10,8 +10,6 @@ import org.springframework.stereotype.Component;
import java.util.List;
import java.util.Map;
@Component
@Mapper
public interface ShopUserDutyPayMapper {
int deleteByPrimaryKey(Integer id);
@@ -34,4 +32,4 @@ public interface ShopUserDutyPayMapper {
List<Map<String,Object>> selectCetoryBydutyId(Integer dutyId);
List<ProductInfoPO> selectProductByDutyId(Integer dutyId);
}
}

View File

@@ -11,8 +11,6 @@ import org.springframework.stereotype.Component;
import java.util.List;
@Component
@Mapper
public interface TbCashierCartMapper {
int deleteByPrimaryKey(Integer id);

View File

@@ -7,8 +7,6 @@ import org.springframework.stereotype.Component;
import java.util.List;
@Component
@Mapper
public interface TbConsInfoFlowMapper {
int deleteByPrimaryKey(Integer id);
@@ -23,4 +21,4 @@ public interface TbConsInfoFlowMapper {
int updateByPrimaryKey(TbConsInfoFlow record);
void insertBatch(@Param("list")List<TbConsInfoFlow> list);
}
}

View File

@@ -8,8 +8,6 @@ import org.springframework.stereotype.Component;
import java.util.List;
@Component
@Mapper
public interface TbConsInfoMapper {
int deleteByPrimaryKey(Integer id);
@@ -27,4 +25,4 @@ public interface TbConsInfoMapper {
int countAll();
List<TbConsInfo> selectAllInfo();
}
}

View File

@@ -4,8 +4,6 @@ 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);
@@ -18,4 +16,4 @@ public interface TbMemberInMapper {
int updateByPrimaryKeySelective(TbMemberIn record);
int updateByPrimaryKey(TbMemberIn record);
}
}

View File

@@ -4,8 +4,6 @@ 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);
@@ -20,4 +18,4 @@ public interface TbMerchantThirdApplyMapper {
int updateByPrimaryKeyWithBLOBs(TbMerchantThirdApply record);
int updateByPrimaryKey(TbMerchantThirdApply record);
}
}

View File

@@ -10,8 +10,6 @@ import org.springframework.stereotype.Component;
import java.math.BigDecimal;
import java.util.List;
@Mapper
@Component
public interface TbOrderDetailMapper {
int deleteByPrimaryKey(Integer id);
@@ -43,4 +41,4 @@ public interface TbOrderDetailMapper {
int batchInsert(@Param("list") List<TbOrderDetail> list,@Param("orderId") String orderId);
TbOrderDetail selectByOrderIdAndSkuId(@Param("orderId") int orderId, @Param("skuId") Integer skuId);
}
}

View File

@@ -12,8 +12,6 @@ import java.util.Date;
import java.util.List;
import java.util.Map;
@Component
@Mapper
public interface TbOrderInfoMapper {
int deleteByPrimaryKey(Integer id);

View File

@@ -7,12 +7,10 @@ import org.springframework.stereotype.Component;
import java.util.List;
@Component
@Mapper
public interface TbOrderOutNumberMapper {
int insert(TbOrderOutNumber record);
int insertSelective(TbOrderOutNumber record);
List<TbOrderOutNumber> selectAll(@Param("shopId") String shopId);
}
}

View File

@@ -4,8 +4,6 @@ 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);
@@ -20,4 +18,4 @@ public interface TbOrderPaymentMapper {
int updateByPrimaryKey(TbOrderPayment record);
TbOrderPayment selectByOrderId(String orderId);
}
}

View File

@@ -4,8 +4,6 @@ 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);
@@ -21,4 +19,4 @@ public interface TbPlussShopStaffMapper {
TbPlussShopStaff selectByAccount(String account);
TbPlussShopStaff selectByAccountAndShopId(String account,String shopId);
}
}

View File

@@ -7,8 +7,6 @@ import org.springframework.stereotype.Component;
import java.util.List;
@Component
@Mapper
public interface TbPrintMachineMapper {
int deleteByPrimaryKey(Integer id);
@@ -25,4 +23,4 @@ public interface TbPrintMachineMapper {
int updateByPrimaryKey(TbPrintMachine record);
List<TbPrintMachineWithBLOBs> selectByShopId(String shopId);
}
}

View File

@@ -7,8 +7,6 @@ import org.springframework.stereotype.Component;
import java.util.List;
@Component
@Mapper
public interface TbPrintPCMachineMapper {
/**

View File

@@ -11,8 +11,6 @@ import org.springframework.stereotype.Component;
import java.util.List;
@Component
@Mapper
public interface TbProductMapper {
int deleteByPrimaryKey(Integer id);

View File

@@ -11,8 +11,6 @@ import org.springframework.stereotype.Component;
import java.util.List;
@Component
@Mapper
public interface TbProductSkuMapper {
int deleteByPrimaryKey(Integer id);

View File

@@ -4,8 +4,6 @@ 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);
@@ -20,4 +18,4 @@ public interface TbProductSkuResultMapper {
int updateByPrimaryKeyWithBLOBs(TbProductSkuResult record);
int updateByPrimaryKey(TbProductSkuResult record);
}
}

View File

@@ -5,8 +5,6 @@ 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);
@@ -22,4 +20,4 @@ public interface TbProductSpecMapper {
int updateByPrimaryKey(TbProductSpec record);
}
}

View File

@@ -7,8 +7,6 @@ import org.springframework.stereotype.Component;
import java.util.List;
@Component
@Mapper
public interface TbProskuConMapper {
int deleteByPrimaryKey(Integer id);

View File

@@ -7,8 +7,6 @@ import org.springframework.stereotype.Component;
import java.util.List;
@Component
@Mapper
public interface TbQuickPayMapper {
int deleteByPrimaryKey(Integer id);
@@ -25,4 +23,4 @@ public interface TbQuickPayMapper {
List<TbQuickPay> selectByShopIdAndStaffId(@Param("shopId") Integer shopId,@Param("staffId") Integer staffId);
TbQuickPay selectByOrderNo(String orderNo);
}
}

View File

@@ -6,8 +6,6 @@ import org.springframework.stereotype.Component;
import java.util.List;
@Component
@Mapper
public interface TbShopAreaMapper {
int deleteByPrimaryKey(Integer id);
@@ -24,4 +22,4 @@ public interface TbShopAreaMapper {
int updateByPrimaryKey(TbShopArea record);
List<TbShopArea> selectByShopId(String shopId);
}
}

View File

@@ -7,8 +7,6 @@ import org.springframework.stereotype.Component;
import java.util.List;
@Component
@Mapper
public interface TbShopCategoryMapper {
int deleteByPrimaryKey(Integer id);
@@ -24,4 +22,4 @@ public interface TbShopCategoryMapper {
List<TbShopCategory> selectByAll(String shopId);
List<ShopCategoryVo> queryAllCategory(String shopId);
}
}

View File

@@ -6,8 +6,6 @@ import org.springframework.stereotype.Component;
import java.util.List;
@Component
@Mapper
public interface TbShopInfoMapper {
int deleteByPrimaryKey(Integer id);
@@ -29,4 +27,4 @@ public interface TbShopInfoMapper {
}
}

View File

@@ -4,8 +4,6 @@ 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);
@@ -18,4 +16,4 @@ public interface TbShopOnlineMapper {
int updateByPrimaryKeySelective(TbShopOnline record);
int updateByPrimaryKey(TbShopOnline record);
}
}

View File

@@ -7,8 +7,6 @@ import org.springframework.stereotype.Component;
import java.util.List;
@Component
@Mapper
public interface TbShopPayTypeMapper {
int deleteByPrimaryKey(Integer id);
@@ -27,4 +25,4 @@ public interface TbShopPayTypeMapper {
int countSelectByShopIdAndPayType(@Param("shopId") String shopId, @Param("payType") String payType );
}
}

View File

@@ -8,8 +8,6 @@ import org.springframework.stereotype.Component;
import java.util.List;
@Component
@Mapper
public interface TbShopTableMapper {
int deleteByPrimaryKey(Integer id);

View File

@@ -7,8 +7,6 @@ import org.springframework.stereotype.Component;
import java.util.List;
import java.util.Map;
@Component
@Mapper
public interface TbShopUserFlowMapper {
int deleteByPrimaryKey(Integer id);
@@ -23,4 +21,4 @@ public interface TbShopUserFlowMapper {
int updateByPrimaryKey(TbShopUserFlow record);
List<Map<String,Object>> selectByMemberAccountFlow(String memberId);
}
}

View File

@@ -7,8 +7,6 @@ import org.springframework.stereotype.Component;
import java.util.List;
@Component
@Mapper
public interface TbShopUserMapper {
int deleteByPrimaryKey(Integer id);
@@ -30,4 +28,4 @@ public interface TbShopUserMapper {
TbShopUser selectByUserIdAndShopId(@Param("userId") String userId,@Param("shopId") String shopId);
TbShopUser selectByShopIdAndDdynamicCode(@Param("shopId") String shopId,@Param("memberAccount") String memberAccount);
}
}

View File

@@ -4,8 +4,6 @@ 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);
@@ -20,4 +18,4 @@ public interface TbTokenMapper {
int updateByPrimaryKey(TbToken record);
TbToken selectByToken(String token);
}
}

View File

@@ -4,8 +4,6 @@ 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);
@@ -23,4 +21,4 @@ public interface TbUserInfoMapper {
TbUserInfo selectByPhone(String phone);
int selectCountByPhone(String phone);
}
}

View File

@@ -8,8 +8,6 @@ import org.springframework.stereotype.Component;
import java.util.List;
@Component
@Mapper
public interface TbUserShopMsgMapper {
int deleteByPrimaryKey(Integer id);
@@ -28,4 +26,4 @@ public interface TbUserShopMsgMapper {
List<TbUserShopMsg> selectAllByShopId(@Param("shopId") Integer shopId);
}
}

View File

@@ -4,8 +4,6 @@ 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);
@@ -23,4 +21,4 @@ public interface TbmerchantAccountMapper {
TbmerchantAccount selectByAccount(String account);
}
}

View File

@@ -4,8 +4,6 @@ import com.chaozhanggui.system.cashierservice.entity.tbHandover;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;
@Component
@Mapper
public interface tbHandoverMapper {
int deleteByPrimaryKey(Integer id);
@@ -18,4 +16,4 @@ public interface tbHandoverMapper {
int updateByPrimaryKeySelective(tbHandover record);
int updateByPrimaryKey(tbHandover record);
}
}