对比新文件 |
| | |
| | | package com.gk.firework.Mapper; |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.gk.firework.Domain.Enterprise; |
| | | import com.gk.firework.Domain.Vo.EnterpriseExportVo; |
| | | import com.gk.firework.Domain.Vo.EnterpriseVo; |
| | | import org.apache.ibatis.annotations.Param; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | @Repository |
| | | public interface EnterpriseMapper extends BaseMapper<Enterprise> { |
| | | |
| | | void deleteOne(@Param("id") Long id); |
| | | |
| | | List<Enterprise> selectPages(Page<Enterprise> page, Map params); |
| | | |
| | | List<Enterprise> selectPages(Map params); |
| | | |
| | | List<Enterprise> selectParentPage(Page<Enterprise> page, Map params); |
| | | |
| | | List<Long> selectEnterpriseIdsByLocation(@Param("province") String province,@Param("city") String city,@Param("district") String district,@Param("street") String street,@Param("committee") String committee); |
| | | |
| | | List<Enterprise> selectEnterpriseListByLocation(@Param("province") String province,@Param("city") String city,@Param("district") String district,@Param("street") String street,@Param("committee") String committee); |
| | | |
| | | List<Enterprise> selectEnterpriseListByNameLike(@Param("name") String name); |
| | | |
| | | EnterpriseVo selctSimpleByNumber(@Param("enterprisenumber") String enterprisenumber); |
| | | |
| | | Map selectInAndOut(@Param("enterprisenumber") String enterpriseNumber,@Param("starttime") Date startTime); |
| | | |
| | | List<Map> getAllLocation(@Param("city") String city); |
| | | |
| | | List<Map> getRetailStatisticsByArea(Map params); |
| | | |
| | | List<EnterpriseExportVo> selectExportEnterprise(@Param("params") Map params); |
| | | |
| | | /** |
| | | * @Description: 获取零售店数量 |
| | | * @date 2021/4/25 9:56 |
| | | */ |
| | | int getSaleNum(Map params); |
| | | |
| | | List<Enterprise> selectSaleEnterprise(Map<String, Object> params, Page<Enterprise> page); |
| | | |
| | | int countAllUndoneEnterprise(@Param("params")Map params); |
| | | |
| | | List<Enterprise> selectListUnderSupervision(@Param("params")Map params); |
| | | |
| | | List<Enterprise> selectUndoneList(Page<Enterprise> page, Map params); |
| | | |
| | | List<Enterprise> selectUndoneList(@Param("params") Map params); |
| | | |
| | | int countAllEnterpriseExpired(@Param("params")Map params); |
| | | |
| | | List<Enterprise> selectExpiredList(Page<Enterprise> page, Map params); |
| | | |
| | | List<Enterprise> selectExpiredList(@Param("params")Map params); |
| | | |
| | | List<Enterprise> getEnterpriseByLimit(@Param("condition") Map<String, Object> condition); |
| | | |
| | | Integer getEnterpriseByLimitCount(@Param("condition") Map<String, Object> condition); |
| | | |
| | | void updateCompanyCodeAndSetDeviceIdNull(Enterprise e); |
| | | |
| | | void updateLoginValidFlag(@Param("id") Long id,@Param("flag") boolean flag); |
| | | } |