Commit 7608aaeb by zhiwj

代码规范

parent 625c911e
......@@ -2,7 +2,13 @@ package com.gic.store.dao.mapper;
import com.gic.store.entity.TabGicDict;
import org.apache.ibatis.annotations.Param;
/**
*
* @ClassName: DictMapper
* @Description:
* @author zhiwj
* @date 2020-09-09 17:53
*/
public interface DictMapper {
/**
* 根据主键删除
......@@ -52,5 +58,15 @@ public interface DictMapper {
*/
int updateByPrimaryKey(TabGicDict record);
/**
* getDictByCode
* @Title: getDictByCode
* @Description:
* @author zhiwj
* @param dictType
* @param dictCode
* @return com.gic.store.entity.TabGicDict
* @throws
*/
TabGicDict getDictByCode(@Param("dictType") String dictType, @Param("dictCode") String dictCode);
}
\ No newline at end of file
......@@ -5,6 +5,13 @@ import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
*
* @ClassName: TabAuthStoreLogMapper
* @Description:
* @author zhiwj
* @date 2020-09-09 17:55
*/
public interface TabAuthStoreLogMapper {
/**
* 根据主键删除
......@@ -54,11 +61,41 @@ public interface TabAuthStoreLogMapper {
*/
int updateByPrimaryKey(TabAuthStoreLog record);
/**
* listLogByKey
* @Title: listLogByKey
* @Description:
* @author zhiwj
* @param key
* @param status
* @return java.util.List<com.gic.store.entity.TabAuthStoreLog>
* @throws
*/
List<TabAuthStoreLog> listLogByKey(@Param("key") String key,
@Param("status") Integer status);
/**
* listFailedStore
* @Title: listFailedStore
* @Description:
* @author zhiwj
* @param key
* @return java.util.List<com.gic.store.entity.TabAuthStoreLog>
* @throws
*/
List<TabAuthStoreLog> listFailedStore(@Param("key") String key);
/**
* listLog
* @Title: listLog
* @Description:
* @author zhiwj
* @param key
* @param storeInfoId
* @param toEnterpriseId
* @return java.util.List<com.gic.store.entity.TabAuthStoreLog>
* @throws
*/
List<TabAuthStoreLog> listLog(@Param("key") String key,
@Param("storeInfoId") Integer storeInfoId,
@Param("toEnterpriseId") Integer toEnterpriseId);
......
......@@ -5,6 +5,13 @@ import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
*
* @ClassName: TabCityMapper
* @Description:
* @author zhiwj
* @date 2020-09-09 17:55
*/
public interface TabCityMapper {
/**
* 根据主键删除
......@@ -59,6 +66,15 @@ public interface TabCityMapper {
* @return
*/
List<TabCity> selectAllCity();
/**
* queryCity
* @Title: queryCity
* @Description:
* @author zhiwj
* @param search
* @return java.util.List<com.gic.store.entity.TabCity>
* @throws
*/
List<TabCity> queryCity(@Param("search")String search);
}
\ No newline at end of file
......@@ -4,6 +4,13 @@ import com.gic.store.dto.ClerkLogDTO;
import com.gic.store.entity.TabClerkLog;
import com.github.pagehelper.Page;
/**
*
* @ClassName: TabClerkLogMapper
* @Description:
* @author zhiwj
* @date 2020-09-09 18:34
*/
public interface TabClerkLogMapper {
/**
* 根据主键删除
......@@ -52,6 +59,15 @@ public interface TabClerkLogMapper {
* @return 更新条目数
*/
int updateByPrimaryKey(TabClerkLog record);
/**
* listClerkLog
* @Title: listClerkLog
* @Description:
* @author zhiwj
* @param clerkLogDTO
* @return com.github.pagehelper.Page<com.gic.store.entity.TabClerkLog>
* @throws
*/
Page<TabClerkLog> listClerkLog(ClerkLogDTO clerkLogDTO);
}
\ No newline at end of file
......@@ -7,6 +7,13 @@ import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Map;
/**
*
* @ClassName: TabClerkMapper
* @Description:
* @author zhiwj
* @date 2020-09-09 18:35
*/
public interface TabClerkMapper {
/**
* 根据主键删除
......@@ -56,34 +63,194 @@ public interface TabClerkMapper {
*/
int updateByPrimaryKey(TabClerk record);
/**
* countByClerkCode
* @Title: countByClerkCode
* @Description:
* @author zhiwj
* @param storeId
* @param clerkCode
* @param clerkId
* @return java.lang.Integer
* @throws
*/
Integer countByClerkCode(@Param("storeId") Integer storeId, @Param("clerkCode") String clerkCode, @Param("clerkId") Integer clerkId);
/**
* countByPhoneNumber
* @Title: countByPhoneNumber
* @Description:
* @author zhiwj
* @param storeId
* @param phoneNumber
* @param clerkId
* @return java.lang.Integer
* @throws
*/
Integer countByPhoneNumber(@Param("storeId") Integer storeId, @Param("phoneNumber") String phoneNumber, @Param("clerkId") Integer clerkId);
/**
* listClerkByStoreInfoId
* @Title: listClerkByStoreInfoId
* @Description:
* @author zhiwj
* @param enterpriseId
* @param storeClerkIds
* @param storeInfoIds
* @param search
* @param clerkType
* @param status
* @return java.util.List<com.gic.store.entity.TabClerk>
* @throws
*/
List<TabClerk> listClerkByStoreInfoId(@Param("enterpriseId") Integer enterpriseId, @Param("storeClerkIds") List<Integer> storeClerkIds, @Param("storeInfoIds") String storeInfoIds, @Param("search") String search, @Param("clerkType") Integer clerkType, @Param("status") Integer status);
/**
* getTotalClerk
* @Title: getTotalClerk
* @Description:
* @author zhiwj
* @param enterpriseId
* @param storeClerkIds
* @param search
* @param status
* @return java.lang.Integer
* @throws
*/
Integer getTotalClerk(@Param("enterpriseId") Integer enterpriseId, @Param("storeClerkIds") List<Integer> storeClerkIds, @Param("search") String search, @Param("status") int status);
/**
* getStoreInfoIdsBySearch
* @Title: getStoreInfoIdsBySearch
* @Description:
* @author zhiwj
* @param enterpriseId
* @param search
* @return java.util.List<java.lang.Integer>
* @throws
*/
List<Integer> getStoreInfoIdsBySearch(@Param("enterpriseId") Integer enterpriseId, @Param("search") String search);
/**
* updateClerkStatus
* @Title: updateClerkStatus
* @Description:
* @author zhiwj
* @param enterpriseId
* @param clerkIds
* @param status
* @return java.lang.Integer
* @throws
*/
Integer updateClerkStatus(@Param("enterpriseId") Integer enterpriseId,@Param("clerkIds") List<Integer> clerkIds, @Param("status") Integer status);
/**
* getBySelective
* @Title: getBySelective
* @Description:
* @author zhiwj
* @param tabClerk
* @return com.gic.store.entity.TabClerk
* @throws
*/
TabClerk getBySelective(TabClerk tabClerk);
/**
* listClerkByIds
* @Title: listClerkByIds
* @Description:
* @author zhiwj
* @param enterpriseId
* @param clerkIdList
* @return java.util.List<com.gic.store.entity.TabClerk>
* @throws
*/
List<TabClerk> listClerkByIds(@Param("enterpriseId") Integer enterpriseId, @Param("ids") List<Integer> clerkIdList);
/**
* getClerkByCode
* @Title: getClerkByCode
* @Description:
* @author zhiwj
* @param enterpriseId
* @param clerkCode
* @param storeInfoId
* @return com.gic.store.entity.TabClerk
* @throws
*/
TabClerk getClerkByCode(@Param("enterpriseId") Integer enterpriseId, @Param("clerkCode") String clerkCode, @Param("storeInfoId") Integer storeInfoId);
/**
* getClerkLeaderByStoreInfoId
* @Title: getClerkLeaderByStoreInfoId
* @Description:
* @author zhiwj
* @param enterpriseId
* @param storeInfoId
* @return com.gic.store.entity.TabClerk
* @throws
*/
TabClerk getClerkLeaderByStoreInfoId(@Param("enterpriseId") Integer enterpriseId, @Param("storeInfoId") Integer storeInfoId);
@MapKey("clerkPositionId")
/**
* countMapByPosition
* @Title: countMapByPosition
* @Description:
* @author zhiwj
* @param enterpriseId
* @param positionList
* @return java.util.Map<java.lang.Integer,java.util.Map<java.lang.String,java.lang.Object>>
* @throws
*/
Map<Integer, Map<String, Object>> countMapByPosition(@Param("enterpriseId") Integer enterpriseId, @Param("ids") List<Integer> positionList);
/**
* updatePosition
* @Title: updatePosition
* @Description:
* @author zhiwj
* @param enterpriseId
* @param clerkPositionId
* @param positionName
* @return void
* @throws
*/
void updatePosition(@Param("enterpriseId") Integer enterpriseId, @Param("positionId") Integer clerkPositionId, @Param("positionName") String positionName);
/**
* listHaobanClerk
* @Title: listHaobanClerk
* @Description:
* @author zhiwj
* @param enterpriseIdList
* @param keyword
* @param storeInfoIdList
* @return java.util.List<com.gic.store.entity.TabClerk>
* @throws
*/
List<TabClerk> listHaobanClerk(@Param("enterpriseIdList") List<Integer> enterpriseIdList, @Param("keyword") String keyword, @Param("storeInfoIdList") List<Integer> storeInfoIdList);
/**
* listClerkByPositionId
* @Title: listClerkByPositionId
* @Description:
* @author zhiwj
* @param enterpriseId
* @param positionId
* @return java.util.List<com.gic.store.entity.TabClerk>
* @throws
*/
List<TabClerk> listClerkByPositionId(@Param("enterpriseId") Integer enterpriseId, @Param("positionId") Integer positionId);
/**
* listAllClerkId
* @Title: listAllClerkId
* @Description:
* @author zhiwj
* @param enterpriseId
* @return java.util.List<java.lang.Integer>
* @throws
*/
List<Integer> listAllClerkId(@Param("enterpriseId") Integer enterpriseId);
}
\ No newline at end of file
......@@ -6,6 +6,13 @@ import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
*
* @ClassName: TabClerkPositionMapper
* @Description:
* @author zhiwj
* @date 2020-09-09 18:35
*/
public interface TabClerkPositionMapper {
/**
* 根据主键删除
......@@ -55,15 +62,74 @@ public interface TabClerkPositionMapper {
*/
int updateByPrimaryKey(TabClerkPosition record);
/**
* getSelective
* @Title: getSelective
* @Description:
* @author zhiwj
* @param tabClerkPosition
* @return com.gic.store.entity.TabClerkPosition
* @throws
*/
TabClerkPosition getSelective(TabClerkPosition tabClerkPosition);
/**
* listClerkPosition
* @Title: listClerkPosition
* @Description:
* @author zhiwj
* @param enterpriseId
* @param search
* @return com.github.pagehelper.Page<com.gic.store.entity.TabClerkPosition>
* @throws
*/
Page<TabClerkPosition> listClerkPosition(@Param("enterpriseId") Integer enterpriseId, @Param("search") String search);
/**
* getMinSort
* @Title: getMinSort
* @Description:
* @author zhiwj
* @param enterpriseId
* @return java.lang.Double
* @throws
*/
Double getMinSort(@Param("enterpriseId") Integer enterpriseId);
/**
* getMaxSort
* @Title: getMaxSort
* @Description:
* @author zhiwj
* @param enterpriseId
* @return java.lang.Double
* @throws
*/
Double getMaxSort(@Param("enterpriseId") Integer enterpriseId);
/**
* listTwoElementExceptId
* @Title: listTwoElementExceptId
* @Description:
* @author zhiwj
* @param enterpriseId
* @param start
* @param size
* @param clerkPositionId
* @return java.util.List<com.gic.store.entity.TabClerkPosition>
* @throws
*/
List<TabClerkPosition> listTwoElementExceptId(@Param("enterpriseId") Integer enterpriseId, @Param("start") int start, @Param("size") int size, @Param("clerkPositionId") Integer clerkPositionId);
/**
* getByName
* @Title: getByName
* @Description:
* @author zhiwj
* @param enterpriseId
* @param positionName
* @return com.gic.store.entity.TabClerkPosition
* @throws
*/
TabClerkPosition getByName(@Param("enterpriseId") Integer enterpriseId, @Param("positionName") String positionName);
}
\ No newline at end of file
......@@ -5,6 +5,13 @@ import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
*
* @ClassName: TabClerkTmpMapper
* @Description:
* @author zhiwj
* @date 2020-09-09 18:35
*/
public interface TabClerkTmpMapper {
/**
* 根据主键删除
......@@ -54,13 +61,62 @@ public interface TabClerkTmpMapper {
*/
int updateByPrimaryKey(TabClerkTmp record);
/**
* countByClerk
* @Title: countByClerk
* @Description:
* @author zhiwj
* @param enterpriseId
* @param uuId
* @param errorMessage
* @return int
* @throws
*/
int countByClerk(@Param("enterpriseId") Integer enterpriseId, @Param("uuId") String uuId , @Param("errorMessage") String errorMessage);
/**
* countByImportFailClerk
* @Title: countByImportFailClerk
* @Description:
* @author zhiwj
* @param enterpriseId
* @param uuId
* @return java.lang.Integer
* @throws
*/
Integer countByImportFailClerk(@Param("enterpriseId") Integer enterpriseId, @Param("uuId") String uuId);
/**
* delClerkTmp
* @Title: delClerkTmp
* @Description:
* @author zhiwj
* @param enterpriseId
* @return void
* @throws
*/
void delClerkTmp(@Param("enterpriseId") Integer enterpriseId);
/**
* listClerkTmp
* @Title: listClerkTmp
* @Description:
* @author zhiwj
* @param enterpriseId
* @param isSuccess
* @return java.util.List<com.gic.store.entity.TabClerkTmp>
* @throws
*/
List<TabClerkTmp> listClerkTmp(@Param("enterpriseId") Integer enterpriseId, @Param("isSuccess") Boolean isSuccess);
/**
* listUnImportClerk
* @Title: listUnImportClerk
* @Description:
* @author zhiwj
* @param enterpriseId
* @return java.util.List<com.gic.store.entity.TabClerkTmp>
* @throws
*/
List<TabClerkTmp> listUnImportClerk(@Param("enterpriseId") String enterpriseId);
}
\ No newline at end of file
package com.gic.store.dao.mapper;
import com.gic.store.entity.TabCity;
import com.gic.store.entity.TabCounty;
import com.gic.store.entity.TabProvince;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
*
* @ClassName: TabCountyMapper
* @Description:
* @author zhiwj
* @date 2020-09-09 18:35
*/
public interface TabCountyMapper {
/**
* 根据主键删除
......@@ -56,7 +61,24 @@ public interface TabCountyMapper {
*/
int updateByPrimaryKey(TabCounty record);
/**
* selectAllCounty
* @Title: selectAllCounty
* @Description:
* @author zhiwj
* @return java.util.List<com.gic.store.entity.TabCounty>
* @throws
*/
List<TabCounty> selectAllCounty();
/**
* queryCounty
* @Title: queryCounty
* @Description:
* @author zhiwj
* @param search
* @return java.util.List<com.gic.store.entity.TabCounty>
* @throws
*/
List<TabCounty> queryCounty(@Param("search")String search);
}
\ No newline at end of file
......@@ -2,6 +2,13 @@ package com.gic.store.dao.mapper;
import com.gic.store.entity.TabEnterpriseLicense;
/**
*
* @ClassName: TabEnterpriseLicenseMapper
* @Description:
* @author zhiwj
* @date 2020-09-09 18:35
*/
public interface TabEnterpriseLicenseMapper {
/**
* 根据主键删除
......
......@@ -2,6 +2,13 @@ package com.gic.store.dao.mapper;
import com.gic.store.entity.TabEnterprise;
/**
*
* @ClassName: TabEnterpriseMapper
* @Description:
* @author zhiwj
* @date 2020-09-09 18:35
*/
public interface TabEnterpriseMapper {
/**
* 根据主键删除
......
......@@ -2,6 +2,13 @@ package com.gic.store.dao.mapper;
import com.gic.store.entity.TabEnterpriseVersion;
/**
*
* @ClassName: TabEnterpriseVersionMapper
* @Description:
* @author zhiwj
* @date 2020-09-09 18:35
*/
public interface TabEnterpriseVersionMapper {
/**
* 根据主键删除
......
......@@ -2,6 +2,13 @@ package com.gic.store.dao.mapper;
import com.gic.store.entity.TabIntegralStoreMove;
/**
*
* @ClassName: TabIntegralStoreMoveMapper
* @Description:
* @author zhiwj
* @date 2020-09-09 18:36
*/
public interface TabIntegralStoreMoveMapper {
/**
* 根据主键删除
......
......@@ -5,6 +5,13 @@ import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
*
* @ClassName: TabProvinceMapper
* @Description:
* @author zhiwj
* @date 2020-09-09 18:36
*/
public interface TabProvinceMapper {
/**
* 根据主键删除
......@@ -54,7 +61,24 @@ public interface TabProvinceMapper {
*/
int updateByPrimaryKey(TabProvince record);
/**
* selectAllProvince
* @Title: selectAllProvince
* @Description:
* @author zhiwj
* @return java.util.List<com.gic.store.entity.TabProvince>
* @throws
*/
List<TabProvince> selectAllProvince();
/**
* queryProvinces
* @Title: queryProvinces
* @Description:
* @author zhiwj
* @param search
* @return java.util.List<com.gic.store.entity.TabProvince>
* @throws
*/
List<TabProvince> queryProvinces(@Param("search") String search);
}
\ No newline at end of file
......@@ -5,6 +5,13 @@ import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
*
* @ClassName: TabStoreBrandMapper
* @Description:
* @author zhiwj
* @date 2020-09-09 18:36
*/
public interface TabStoreBrandMapper {
/**
* 根据主键删除
......@@ -118,7 +125,26 @@ public interface TabStoreBrandMapper {
*/
Integer deleteByIds(@Param("ids") List<Integer> ids);
/**
* listStoreBrandByIds
* @Title: listStoreBrandByIds
* @Description:
* @author zhiwj
* @param idList
* @return java.util.List<com.gic.store.entity.TabStoreBrand>
* @throws
*/
List<TabStoreBrand> listStoreBrandByIds(@Param("ids") List<Integer> idList);
/**
* getByStoreBrandName
* @Title: getByStoreBrandName
* @Description:
* @author zhiwj
* @param enterpriseId
* @param storeBrandName
* @return com.gic.store.entity.TabStoreBrand
* @throws
*/
TabStoreBrand getByStoreBrandName(@Param("enterpriseId") Integer enterpriseId, @Param("storeBrandName") String storeBrandName);
}
\ No newline at end of file
......@@ -6,6 +6,13 @@ import org.apache.ibatis.annotations.Param;
import java.util.Date;
import java.util.List;
/**
*
* @ClassName: TabStoreBusinessTimeMapper
* @Description:
* @author zhiwj
* @date 2020-09-09 18:36
*/
public interface TabStoreBusinessTimeMapper {
/**
* 根据主键删除
......@@ -55,14 +62,66 @@ public interface TabStoreBusinessTimeMapper {
*/
int updateByPrimaryKey(TabStoreBusinessTime record);
/**
* listBusinessTime
* @Title: listBusinessTime
* @Description:
* @author zhiwj
* @param storeId
* @return java.util.List<com.gic.store.entity.TabStoreBusinessTime>
* @throws
*/
List<TabStoreBusinessTime> listBusinessTime(Integer storeId);
/**
* updateAllBuinessTime
* @Title: updateAllBuinessTime
* @Description:
* @author zhiwj
* @param weekday
* @param openTime
* @param closeTime
* @param enterpriseId
* @return int
* @throws
*/
int updateAllBuinessTime(@Param("weekday") String weekday, @Param("openTime")Date openTime, @Param("closeTime") Date closeTime,
@Param("enterpriseId") Integer enterpriseId);
/**
* updateBuinessTimeBystoreInfoIds
* @Title: updateBuinessTimeBystoreInfoIds
* @Description:
* @author zhiwj
* @param weekday
* @param openTime
* @param closeTime
* @param storeIdList
* @return int
* @throws
*/
int updateBuinessTimeBystoreInfoIds(@Param("weekday") String weekday, @Param("openTime")Date openTime, @Param("closeTime") Date closeTime, @Param("storeInfoIdList") List<Integer> storeIdList);
/**
* deleteAllByEnterpriseId
* @Title: deleteAllByEnterpriseId
* @Description:
* @author zhiwj
* @param enterpriseId
* @return int
* @throws
*/
int deleteAllByEnterpriseId(@Param("enterpriseId") Integer enterpriseId);
/**
* deleteBystoreInfoIds
* @Title: deleteBystoreInfoIds
* @Description:
* @author zhiwj
* @param enterpriseId
* @param storeInfoIdList
* @return int
* @throws
*/
int deleteBystoreInfoIds(@Param("enterpriseId") Integer enterpriseId, @Param("storeInfoIdList") List<Integer> storeInfoIdList);
}
\ No newline at end of file
......@@ -5,6 +5,13 @@ import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
*
* @ClassName: TabStoreDictMapper
* @Description:
* @author zhiwj
* @date 2020-09-09 18:36
*/
public interface TabStoreDictMapper {
/**
* 根据主键删除
......@@ -61,9 +68,38 @@ public interface TabStoreDictMapper {
*/
List<String> listStoreType(Integer enterpriseId);
/**
* listStoreStatus
* @Title: listStoreStatus
* @Description:
* @author zhiwj
* @param enterpriseId
* @return java.util.List<java.lang.String>
* @throws
*/
List<String> listStoreStatus(Integer enterpriseId);
/**
* listStoreField
* @Title: listStoreField
* @Description:
* @author zhiwj
* @param enterpriseId
* @return java.util.List<java.lang.String>
* @throws
*/
List<String> listStoreField(Integer enterpriseId);
/**
* deleteStoreDict
* @Title: deleteStoreDict
* @Description:
* @author zhiwj
* @param enterpriseId
* @param value
* @param type
* @return void
* @throws
*/
void deleteStoreDict(@Param("enterpriseId") Integer enterpriseId, @Param("value")String value, @Param("type") String type);
}
\ No newline at end of file
......@@ -5,6 +5,13 @@ import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
*
* @ClassName: TabStoreExtendMapper
* @Description:
* @author zhiwj
* @date 2020-09-09 18:36
*/
public interface TabStoreExtendMapper {
/**
* 根据主键删除
......@@ -54,15 +61,75 @@ public interface TabStoreExtendMapper {
*/
int updateByPrimaryKey(TabStoreExtend record);
/**
* list
* @Title: list
* @Description:
* @author zhiwj
* @param enterpriseId
* @param storeInfoId
* @return java.util.List<com.gic.store.entity.TabStoreExtend>
* @throws
*/
List<TabStoreExtend> list(@Param("enterpriseId") Integer enterpriseId, @Param("storeInfoId") Integer storeInfoId);
/**
* getStoreExtendByStoreInfoIdAndStoreFieldId
* @Title: getStoreExtendByStoreInfoIdAndStoreFieldId
* @Description:
* @author zhiwj
* @param storeInfoId
* @param storeFieldId
* @return com.gic.store.entity.TabStoreExtend
* @throws
*/
TabStoreExtend getStoreExtendByStoreInfoIdAndStoreFieldId(@Param("storeInfoId") Integer storeInfoId, @Param("storeFieldId") Integer storeFieldId);
/**
* countStoreExtendStoreField
* @Title: countStoreExtendStoreField
* @Description:
* @author zhiwj
* @param storeField
* @param storeFieldSelectId
* @return int
* @throws
*/
int countStoreExtendStoreField(@Param("storeField") Integer storeField, @Param("storeFieldSelectId") Integer storeFieldSelectId);
/**
* countExtendByValue
* @Title: countExtendByValue
* @Description:
* @author zhiwj
* @param storeFieldId
* @param value
* @param storeExtendId
* @return int
* @throws
*/
int countExtendByValue(@Param("storeFieldId") Integer storeFieldId, @Param("value") String value, @Param("storeExtendId") Integer storeExtendId);
/**
* delete
* @Title: delete
* @Description:
* @author zhiwj
* @param enterpriseId
* @param storeInfoId
* @return void
* @throws
*/
void delete(@Param("enterpriseId") Integer enterpriseId, @Param("storeInfoId") Integer storeInfoId);
/**
* insertNotRepeat
* @Title: insertNotRepeat
* @Description:
* @author zhiwj
* @param tabStoreExtend
* @return void
* @throws
*/
void insertNotRepeat(TabStoreExtend tabStoreExtend);
}
\ No newline at end of file
......@@ -6,6 +6,13 @@ import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
*
* @ClassName: TabStoreFieldMapper
* @Description:
* @author zhiwj
* @date 2020-09-09 18:37
*/
public interface TabStoreFieldMapper {
/**
* 根据主键删除
......@@ -109,8 +116,26 @@ public interface TabStoreFieldMapper {
List<StoreFieldDTO> listStoreField(@Param("enterpriseId") Integer enterpriseId, @Param("search") String search,
@Param("list") List<Integer> storeFieldIdList);
/**
* deleteAll
* @Title: deleteAll
* @Description:
* @author zhiwj
* @param enterpriseId
* @return int
* @throws
*/
int deleteAll(@Param("enterpriseId") Integer enterpriseId);
/**
* deleteBatch
* @Title: deleteBatch
* @Description:
* @author zhiwj
* @param storeFieldIds
* @return int
* @throws
*/
int deleteBatch(@Param("storeFieldIds") List<Integer> storeFieldIds);
/**
......@@ -120,9 +145,31 @@ public interface TabStoreFieldMapper {
*/
List<TabStoreField> listByBatchId(@Param("storeFieldIds") List<Integer> storeFieldIds);
/**
* isRepeatCode
* @Title: isRepeatCode
* @Description:
* @author zhiwj
* @param enterpriseId
* @param storeFieldId
* @param storeFieldCode
* @return int
* @throws
*/
int isRepeatCode(@Param("enterpriseId") Integer enterpriseId, @Param("storeFieldId") Integer storeFieldId,
@Param("storeFieldCode") String storeFieldCode);
/**
* isRepeatName
* @Title: isRepeatName
* @Description:
* @author zhiwj
* @param enterpriseId
* @param storeFieldId
* @param storeFieldName
* @return int
* @throws
*/
int isRepeatName(@Param("enterpriseId") Integer enterpriseId, @Param("storeFieldId") Integer storeFieldId,
@Param("storeFieldName") String storeFieldName);
......@@ -142,6 +189,16 @@ public interface TabStoreFieldMapper {
*/
List<StoreFieldDTO> listStoreFieldByEnterpriseId(@Param("enterpriseId") Integer enterpriseId);
/**
* countStoreField
* @Title: countStoreField
* @Description:
* @author zhiwj
* @param enterpriseId
* @param regionId
* @return int
* @throws
*/
int countStoreField(@Param("enterpriseId") Integer enterpriseId, @Param("regionId") Integer regionId);
/**
......
......@@ -7,6 +7,13 @@ import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
*
* @ClassName: TabStoreFieldRegionRelMapper
* @Description:
* @author zhiwj
* @date 2020-09-09 18:37
*/
public interface TabStoreFieldRegionRelMapper {
/**
* 根据主键删除
......
......@@ -6,6 +6,13 @@ import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
*
* @ClassName: TabStoreFieldRelMapper
* @Description:
* @author zhiwj
* @date 2020-09-09 18:37
*/
public interface TabStoreFieldRelMapper {
/**
* 根据主键删除
......
......@@ -4,7 +4,13 @@ import com.gic.store.entity.TabStoreFieldSelect;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
*
* @ClassName: TabStoreFieldSelectMapper
* @Description:
* @author zhiwj
* @date 2020-09-09 18:37
*/
public interface TabStoreFieldSelectMapper {
/**
* 根据主键删除
......@@ -14,6 +20,15 @@ public interface TabStoreFieldSelectMapper {
*/
int deleteByPrimaryKey(Integer storeFieldSelectId);
/**
* deleteBatch
* @Title: deleteBatch
* @Description:
* @author zhiwj
* @param storeFieldSelectIdList
* @return int
* @throws
*/
int deleteBatch(@Param("storeFieldSelectIdList") List<Integer> storeFieldSelectIdList);
/**
......@@ -105,11 +120,42 @@ public interface TabStoreFieldSelectMapper {
*/
List<TabStoreFieldSelect> listStoreFieldSelect(@Param("storeFieldId") Integer storeFieldId, @Param("search") String search);
/**
* isRepeatCode
* @Title: isRepeatCode
* @Description:
* @author zhiwj
* @param storeFieldId
* @param storeFieldSelectId
* @param storeFieldSelectCode
* @return int
* @throws
*/
int isRepeatCode(@Param("storeFieldId") Integer storeFieldId, @Param("storeFieldSelectId") Integer storeFieldSelectId,
@Param("storeFieldSelectCode") String storeFieldSelectCode);
/**
* isRepeatName
* @Title: isRepeatName
* @Description:
* @author zhiwj
* @param storeFieldId
* @param storeFieldSelectId
* @param storeFieldSelectName
* @return int
* @throws
*/
int isRepeatName(@Param("storeFieldId") Integer storeFieldId, @Param("storeFieldSelectId") Integer storeFieldSelectId,
@Param("storeFieldSelectName") String storeFieldSelectName);
/**
* listStoreFieldSelectByIds
* @Title: listStoreFieldSelectByIds
* @Description:
* @author zhiwj
* @param storeFileIdSelectIdList
* @return java.util.List<com.gic.store.entity.TabStoreFieldSelect>
* @throws
*/
List<TabStoreFieldSelect> listStoreFieldSelectByIds(@Param("storeFileIdSelectIdList") List<Integer> storeFileIdSelectIdList);
}
\ No newline at end of file
......@@ -6,6 +6,13 @@ import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
*
* @ClassName: TabStoreGroupMapper
* @Description:
* @author zhiwj
* @date 2020-09-09 18:37
*/
public interface TabStoreGroupMapper {
/**
* 根据主键删除
......@@ -116,8 +123,29 @@ public interface TabStoreGroupMapper {
*/
int countByParentId(@Param("parentId") Integer parentId);
/**
* isRepeatName
* @Title: isRepeatName
* @Description:
* @author zhiwj
* @param storeGroupName
* @param storeGroupId
* @param enterpriseId
* @return int
* @throws
*/
int isRepeatName(@Param("storeGroupName") String storeGroupName, @Param("storeGroupId") Integer storeGroupId, @Param("enterpriseId") Integer enterpriseId);
/**
* getStoreGroupByName
* @Title: getStoreGroupByName
* @Description:
* @author zhiwj
* @param storeGroupName
* @param enterpriseId
* @return com.gic.store.entity.TabStoreGroup
* @throws
*/
TabStoreGroup getStoreGroupByName(@Param("storeGroupName") String storeGroupName, @Param("enterpriseId") Integer enterpriseId);
......@@ -128,10 +156,33 @@ public interface TabStoreGroupMapper {
*/
TabStoreGroup selectUnGroupedStore(@Param("enterpriseId") Integer enterpriseId);
/**
* listStoreGroupByIds
* @Title: listStoreGroupByIds
* @Description:
* @author zhiwj
* @param storeGroupIdList
* @param enterpriseId
* @param level
* @return java.util.List<com.gic.store.entity.TabStoreGroup>
* @throws
*/
List<TabStoreGroup> listStoreGroupByIds(@Param("storeGroupIdList") List<Integer> storeGroupIdList,
@Param("enterpriseId") Integer enterpriseId,
@Param("level") Integer level);
/**
* pageStoreGroupByIds
* @Title: pageStoreGroupByIds
* @Description:
* @author zhiwj
* @param storeGroupIdList
* @param enterpriseId
* @param parentId
* @param search
* @return com.github.pagehelper.Page<com.gic.store.entity.TabStoreGroup>
* @throws
*/
Page<TabStoreGroup> pageStoreGroupByIds(@Param("storeGroupIdList") List<Integer> storeGroupIdList,
@Param("enterpriseId") Integer enterpriseId,
@Param("parentId") Integer parentId,
......
......@@ -2,6 +2,13 @@ package com.gic.store.dao.mapper;
import com.gic.store.entity.TabStoreGroupRel;
/**
*
* @ClassName: TabStoreGroupRelMapper
* @Description:
* @author zhiwj
* @date 2020-09-09 18:37
*/
public interface TabStoreGroupRelMapper {
/**
* 根据主键删除
......
......@@ -2,6 +2,13 @@ package com.gic.store.dao.mapper;
import com.gic.store.entity.TabStoreIndexLog;
/**
*
* @ClassName: TabStoreIndexLogMapper
* @Description:
* @author zhiwj
* @date 2020-09-09 18:37
*/
public interface TabStoreIndexLogMapper {
/**
* 根据主键删除
......
package com.gic.store.dao.mapper;
import com.gic.store.dto.StoreDTO;
import com.gic.store.dto.StoreSearchDBDTO;
import com.gic.store.dto.StoreSearchDbDTO;
import com.gic.store.entity.TabStoreInfo;
import com.github.pagehelper.Page;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
*
* @ClassName: TabStoreInfoMapper
* @Description:
* @author zhiwj
* @date 2020-09-09 18:38
*/
public interface TabStoreInfoMapper {
/**
* 根据主键删除
......@@ -65,33 +71,180 @@ public interface TabStoreInfoMapper {
*/
Integer countBySelective(@Param("storeDTO") StoreDTO storeDTO);
/**
* countByBrandId
* @Title: countByBrandId
* @Description:
* @author zhiwj
* @param brandId
* @return java.lang.Integer
* @throws
*/
Integer countByBrandId(@Param("brandId") Integer brandId);
Page<StoreDTO> listStore(@Param("store") StoreSearchDBDTO store);
/**
* listStore
* @Title: listStore
* @Description:
* @author zhiwj
* @param store
* @return com.github.pagehelper.Page<com.gic.store.dto.StoreDTO>
* @throws
*/
Page<StoreDTO> listStore(@Param("store") StoreSearchDbDTO store);
/**
* updateAllStoreStatus
* @Title: updateAllStoreStatus
* @Description:
* @author zhiwj
* @param enterpriseId
* @param value
* @return int
* @throws
*/
int updateAllStoreStatus(@Param("enterpriseId") Integer enterpriseId, @Param("value") int value);
/**
* updateStoreStatusBystoreInfoIds
* @Title: updateStoreStatusBystoreInfoIds
* @Description:
* @author zhiwj
* @param value
* @param storeIdList
* @return int
* @throws
*/
int updateStoreStatusBystoreInfoIds( @Param("value") int value, @Param("storeInfoIdList") List<Integer> storeIdList);
/**
* updateAllStoreConactsPhone
* @Title: updateAllStoreConactsPhone
* @Description:
* @author zhiwj
* @param enterpriseId
* @param value
* @return int
* @throws
*/
int updateAllStoreConactsPhone(@Param("enterpriseId") Integer enterpriseId, @Param("value") String value);
/**
* updateStoreConactsPhoneBystoreInfoIds
* @Title: updateStoreConactsPhoneBystoreInfoIds
* @Description:
* @author zhiwj
* @param value
* @param storeInfoIdList
* @return int
* @throws
*/
int updateStoreConactsPhoneBystoreInfoIds(@Param("value") String value, @Param("storeInfoIdList") List<Integer> storeInfoIdList);
/**
* updateAllStoreBrand
* @Title: updateAllStoreBrand
* @Description:
* @author zhiwj
* @param enterpriseId
* @param value
* @return int
* @throws
*/
int updateAllStoreBrand(@Param("enterpriseId") Integer enterpriseId, @Param("value") String value);
/**
* updateStoreBrandBystoreInfoIds
* @Title: updateStoreBrandBystoreInfoIds
* @Description:
* @author zhiwj
* @param enterpriseId
* @param value
* @param storeInfoIdList
* @return int
* @throws
*/
int updateStoreBrandBystoreInfoIds(@Param("enterpriseId") Integer enterpriseId, @Param("value") String value, @Param("storeInfoIdList") List<Integer> storeInfoIdList);
/**
* getByStoreNameAndStoreCode
* @Title: getByStoreNameAndStoreCode
* @Description:
* @author zhiwj
* @param enterpriseId
* @param regionId
* @param storeName
* @param storeCode
* @return com.gic.store.dto.StoreDTO
* @throws
*/
StoreDTO getByStoreNameAndStoreCode(@Param("enterpriseId") Integer enterpriseId, @Param("regionId") Integer regionId, @Param("storeName") String storeName, @Param("storeCode") String storeCode);
/**
* listAllstoreInfoId
* @Title: listAllstoreInfoId
* @Description:
* @author zhiwj
* @param enterpriseId
* @return java.util.List<java.lang.Integer>
* @throws
*/
List<Integer> listAllstoreInfoId(@Param("enterpriseId") Integer enterpriseId);
/**
* listAllstoreId
* @Title: listAllstoreId
* @Description:
* @author zhiwj
* @param enterpriseId
* @return java.util.List<java.lang.Integer>
* @throws
*/
List<Integer> listAllstoreId(@Param("enterpriseId") Integer enterpriseId);
/**
* getByStore
* @Title: getByStore
* @Description:
* @author zhiwj
* @param store
* @return com.gic.store.entity.TabStoreInfo
* @throws
*/
TabStoreInfo getByStore(@Param("store") StoreDTO store);
StoreDTO getDTOByStore(@Param("store") StoreDTO store);
/**
* getDTOByStore
* @Title: getDTOByStore
* @Description:
* @author zhiwj
* @param store
* @return com.gic.store.dto.StoreDTO
* @throws
*/
StoreDTO getDtoByStore(@Param("store") StoreDTO store);
/**
* getStoreOwnerByStoreInfoId
* @Title: getStoreOwnerByStoreInfoId
* @Description:
* @author zhiwj
* @param enterpriseId
* @param storeInfoId
* @return java.lang.Integer
* @throws
*/
Integer getStoreOwnerByStoreInfoId(@Param("enterpriseId") Integer enterpriseId, @Param("storeInfoId") Integer storeInfoId);
/**
* getStoreIdByStoreInfoId
* @Title: getStoreIdByStoreInfoId
* @Description:
* @author zhiwj
* @param enterpriseId
* @param storeInfoId
* @return java.lang.Integer
* @throws
*/
Integer getStoreIdByStoreInfoId(@Param("enterpriseId") Integer enterpriseId, @Param("storeInfoId") Integer storeInfoId);
}
\ No newline at end of file
......@@ -4,6 +4,13 @@ import com.gic.store.dto.StoreLogDTO;
import com.gic.store.entity.TabStoreLog;
import com.github.pagehelper.Page;
/**
*
* @ClassName: TabStoreLogMapper
* @Description:
* @author zhiwj
* @date 2020-09-09 18:38
*/
public interface TabStoreLogMapper {
/**
* 根据主键删除
......@@ -52,6 +59,15 @@ public interface TabStoreLogMapper {
* @return 更新条目数
*/
int updateByPrimaryKey(TabStoreLog record);
/**
* listStoreLog
* @Title: listStoreLog
* @Description:
* @author zhiwj
* @param storeLogDTO
* @return com.github.pagehelper.Page<com.gic.store.entity.TabStoreLog>
* @throws
*/
Page<TabStoreLog> listStoreLog(StoreLogDTO storeLogDTO);
}
\ No newline at end of file
......@@ -5,6 +5,13 @@ import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
*
* @ClassName: TabStoreMapper
* @Description:
* @author zhiwj
* @date 2020-09-09 18:38
*/
public interface TabStoreMapper {
/**
* 根据主键删除
......@@ -54,33 +61,160 @@ public interface TabStoreMapper {
*/
int updateByPrimaryKey(TabStore record);
/**
* updateGroupId
* @Title: updateGroupId
* @Description:
* @author zhiwj
* @param oldStoreGroupIds
* @param newStoreGroupId
* @return java.lang.Integer
* @throws
*/
Integer updateGroupId(@Param("oldStoreGroupId") Integer oldStoreGroupIds, @Param("newStoreGroupId") Integer newStoreGroupId);
/**
* updateAllStoreGroup
* @Title: updateAllStoreGroup
* @Description:
* @author zhiwj
* @param enterpriseId
* @param value
* @return int
* @throws
*/
int updateAllStoreGroup(@Param("enterpriseId") Integer enterpriseId, @Param("value") Integer value);
/**
* updateStoreGroupBystoreInfoIds
* @Title: updateStoreGroupBystoreInfoIds
* @Description:
* @author zhiwj
* @param enterpriseId
* @param value
* @param storeInfoIdList
* @return int
* @throws
*/
int updateStoreGroupBystoreInfoIds(@Param("enterpriseId") Integer enterpriseId,
@Param("value") Integer value,
@Param("storeInfoIdList") List<Integer> storeInfoIdList);
/**
* getStoreNoStatus
* @Title: getStoreNoStatus
* @Description:
* @author zhiwj
* @param enterpriseId
* @param storeInfoId
* @return java.util.List<com.gic.store.entity.TabStore>
* @throws
*/
List<TabStore> getStoreNoStatus(@Param("enterpriseId") Integer enterpriseId, @Param("storeInfoId") Integer storeInfoId);
/**
* listStoreIdByFromEnterpriseId
* @Title: listStoreIdByFromEnterpriseId
* @Description:
* @author zhiwj
* @param fromEnterpriseId
* @return java.util.List<java.lang.Integer>
* @throws
*/
List<Integer> listStoreIdByFromEnterpriseId(@Param("fromEnterpriseId") Integer fromEnterpriseId);
/**
* cancelAuthStore
* @Title: cancelAuthStore
* @Description:
* @author zhiwj
* @param storeInfoIdList
* @param toEnterpriseId
* @return int
* @throws
*/
int cancelAuthStore(@Param("storeInfoIdList") List<Integer> storeInfoIdList, @Param("toEnterpriseId") Integer toEnterpriseId);
/**
* cancelAuthStoreAll
* @Title: cancelAuthStoreAll
* @Description:
* @author zhiwj
* @param fromEnterpriseId
* @param toEnterpriseId
* @return int
* @throws
*/
int cancelAuthStoreAll(@Param("fromEnterpriseId") Integer fromEnterpriseId,
@Param("toEnterpriseId") Integer toEnterpriseId);
/**
* listStoreInfoIdByStoreIds
* @Title: listStoreInfoIdByStoreIds
* @Description:
* @author zhiwj
* @param ids
* @param enterpriseId
* @return java.util.List<java.lang.Integer>
* @throws
*/
List<Integer> listStoreInfoIdByStoreIds(@Param("ids") List<Integer> ids, @Param("enterpriseId") Integer enterpriseId);
/**
* listStoredByStoreInfoList
* @Title: listStoredByStoreInfoList
* @Description:
* @author zhiwj
* @param storeInfoIdList
* @param enterpriseId
* @return java.util.List<java.lang.Integer>
* @throws
*/
List<Integer> listStoredByStoreInfoList(@Param("ids") List<Integer> storeInfoIdList, @Param("enterpriseId") Integer enterpriseId);
List<String> listAllCityId(@Param("enterpriseId") Integer enterpriseId,
@Param("storeBrandId") Integer storeBrandId);
/**
* listAllCityId
* @Title: listAllCityId
* @Description:
* @author zhiwj
* @param enterpriseId
* @param storeBrandId
* @return java.util.List<java.lang.String>
* @throws
*/
List<String> listAllCityId(@Param("enterpriseId") Integer enterpriseId, @Param("storeBrandId") Integer storeBrandId);
/**
* checkExistStore
* @Title: checkExistStore
* @Description:
* @author zhiwj
* @param enterpriseId
* @return java.lang.Integer
* @throws
*/
Integer checkExistStore(@Param("enterpriseId") Integer enterpriseId);
/**
* refreshStoreIndex
* @Title: refreshStoreIndex
* @Description:
* @author zhiwj
* @param enterpriseId
* @return int
* @throws
*/
int refreshStoreIndex(@Param("enterpriseId") Integer enterpriseId);
/**
* refreshStoreIndexByStoreGroup
* @Title: refreshStoreIndexByStoreGroup
* @Description:
* @author zhiwj
* @param enterpriseId
* @param storeGroupId
* @return int
* @throws
*/
int refreshStoreIndexByStoreGroup(@Param("enterpriseId") Integer enterpriseId, @Param("storeGroupId") Integer storeGroupId);
}
\ No newline at end of file
......@@ -4,7 +4,13 @@ import com.gic.store.entity.TabStorePhoto;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
*
* @ClassName: TabStorePhotoMapper
* @Description:
* @author zhiwj
* @date 2020-09-09 18:38
*/
public interface TabStorePhotoMapper {
/**
* 根据主键删除
......@@ -54,18 +60,95 @@ public interface TabStorePhotoMapper {
*/
int updateByPrimaryKey(TabStorePhoto record);
/**
* listStorePhoto
* @Title: listStorePhoto
* @Description:
* @author zhiwj
* @param enterpriseId
* @param storeInfoId
* @return java.util.List<com.gic.store.entity.TabStorePhoto>
* @throws
*/
List<TabStorePhoto> listStorePhoto(@Param("enterpriseId") Integer enterpriseId, @Param("storeInfoId") Integer storeInfoId);
/**
* updateAllStorePhoto
* @Title: updateAllStorePhoto
* @Description:
* @author zhiwj
* @param imageCode
* @param imageUrl
* @param sort
* @param enterpriseId
* @return int
* @throws
*/
int updateAllStorePhoto(@Param("imageCode") String imageCode, @Param("imageUrl")String imageUrl, @Param("sort") int sort, @Param("enterpriseId") Integer enterpriseId);
/**
* updatePhotoBystoreInfoIds
* @Title: updatePhotoBystoreInfoIds
* @Description:
* @author zhiwj
* @param imageCode
* @param imageUrl
* @param sort
* @param storeInfoIds
* @return int
* @throws
*/
int updatePhotoBystoreInfoIds(@Param("imageCode") String imageCode, @Param("imageUrl")String imageUrl, @Param("sort") int sort, @Param("storeInfoIds") List<Integer> storeInfoIds);
/**
* deleteAllByEnterpriseId
* @Title: deleteAllByEnterpriseId
* @Description:
* @author zhiwj
* @param enterpriseId
* @return int
* @throws
*/
int deleteAllByEnterpriseId(@Param("enterpriseId") Integer enterpriseId);
/**
* deleteBystoreInfoIds
* @Title: deleteBystoreInfoIds
* @Description:
* @author zhiwj
* @param enterpriseId
* @param storeIdList
* @return int
* @throws
*/
int deleteBystoreInfoIds(@Param("enterpriseId") Integer enterpriseId, @Param("storeInfoIdList") List<Integer> storeIdList);
/**
* addAllStorePhoto
* @Title: addAllStorePhoto
* @Description:
* @author zhiwj
* @param imageCode
* @param imageUrl
* @param sort
* @param enterpriseId
* @return int
* @throws
*/
int addAllStorePhoto(@Param("imageCode") String imageCode, @Param("imageUrl")String imageUrl, @Param("sort") int sort, @Param("enterpriseId") Integer enterpriseId);
/**
* addPhotoBystoreInfoIds
* @Title: addPhotoBystoreInfoIds
* @Description:
* @author zhiwj
* @param imageCode
* @param imageUrl
* @param sort
* @param storeIdInfoList
* @return int
* @throws
*/
int addPhotoBystoreInfoIds(@Param("imageCode") String imageCode, @Param("imageUrl")String imageUrl, @Param("sort") int sort, @Param("storeInfoIdList") List<Integer> storeIdInfoList);
}
\ No newline at end of file
......@@ -5,7 +5,13 @@ import com.gic.store.entity.TabStoreRegion;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
*
* @ClassName: TabStoreRegionMapper
* @Description:
* @author zhiwj
* @date 2020-09-09 18:38
*/
public interface TabStoreRegionMapper {
/**
* 根据主键删除
......@@ -56,10 +62,15 @@ public interface TabStoreRegionMapper {
int updateByPrimaryKey(TabStoreRegion record);
/**
* 查询门店域列表
* @param enterpriseId 企业id
* @param search 域名/code
* @return
* listStoreRegion
* @Title: listStoreRegion
* @Description:
* @author zhiwj
* @param enterpriseId
* @param search
* @param ownType
* @return java.util.List<com.gic.store.dto.StoreRegionDTO>
* @throws
*/
List<StoreRegionDTO> listStoreRegion(@Param("enterpriseId") Integer enterpriseId, @Param("search") String search, @Param("ownType") Integer ownType);
......@@ -70,7 +81,28 @@ public interface TabStoreRegionMapper {
*/
int countBySelective(StoreRegionDTO storeRegion);
/**
* listStoreRegionByIds
* @Title: listStoreRegionByIds
* @Description:
* @author zhiwj
* @param enterpriseId
* @param storeRegionIdList
* @param ownType
* @return java.util.List<com.gic.store.dto.StoreRegionDTO>
* @throws
*/
List<StoreRegionDTO> listStoreRegionByIds(@Param("enterpriseId") Integer enterpriseId, @Param("storeRegionIdList") List<Integer> storeRegionIdList, @Param("ownType") Integer ownType);
/**
* getStoreRegionByRegionName
* @Title: getStoreRegionByRegionName
* @Description:
* @author zhiwj
* @param enterpriseId
* @param regionName
* @return com.gic.store.dto.StoreRegionDTO
* @throws
*/
StoreRegionDTO getStoreRegionByRegionName(@Param("enterpriseId") Integer enterpriseId, @Param("regionName") String regionName);
}
\ No newline at end of file
......@@ -4,7 +4,13 @@ import com.gic.store.entity.TabStoreRegionRel;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
*
* @ClassName: TabStoreRegionRelMapper
* @Description:
* @author zhiwj
* @date 2020-09-09 18:38
*/
public interface TabStoreRegionRelMapper {
/**
* 根据主键删除
......@@ -54,13 +60,63 @@ public interface TabStoreRegionRelMapper {
*/
int updateByPrimaryKey(TabStoreRegionRel record);
/**
* get
* @Title: get
* @Description:
* @author zhiwj
* @param param
* @return com.gic.store.entity.TabStoreRegionRel
* @throws
*/
TabStoreRegionRel get(TabStoreRegionRel param);
/**
* listByAuthorize
* @Title: listByAuthorize
* @Description:
* @author zhiwj
* @param fromEnterpriseId
* @param toEnterpriseId
* @return java.util.List<java.lang.Integer>
* @throws
*/
List<Integer> listByAuthorize(@Param("fromEnterpriseId") Integer fromEnterpriseId, @Param("toEnterpriseId") Integer toEnterpriseId);
/**
* delByRegionIds
* @Title: delByRegionIds
* @Description:
* @author zhiwj
* @param enterpriseId
* @param delRelList
* @param ownType
* @return void
* @throws
*/
void delByRegionIds(@Param("enterpriseId") Integer enterpriseId, @Param("ids") List<Integer> delRelList, @Param("ownType") Integer ownType);
/**
* getByRegionIdAndEnterpriseId
* @Title: getByRegionIdAndEnterpriseId
* @Description:
* @author zhiwj
* @param storeRegionRel
* @return com.gic.store.entity.TabStoreRegionRel
* @throws
*/
TabStoreRegionRel getByRegionIdAndEnterpriseId(TabStoreRegionRel storeRegionRel);
/**
* updateStatusByOther
* @Title: updateStatusByOther
* @Description:
* @author zhiwj
* @param enterpriseId
* @param regionId
* @param status
* @return void
* @throws
*/
void updateStatusByOther(@Param("enterpriseId") Integer enterpriseId, @Param("regionId") Integer regionId, @Param("status") int status);
}
\ No newline at end of file
......@@ -4,7 +4,13 @@ import com.gic.store.entity.TabStoreStatusSetting;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
*
* @ClassName: TabStoreStatusSettingMapper
* @Description:
* @author zhiwj
* @date 2020-09-09 18:38
*/
public interface TabStoreStatusSettingMapper {
/**
* 根据主键删除
......@@ -54,9 +60,38 @@ public interface TabStoreStatusSettingMapper {
*/
int updateByPrimaryKey(TabStoreStatusSetting record);
/**
* selectAll
* @Title: selectAll
* @Description:
* @author zhiwj
* @param enterpriseId
* @return java.util.List<com.gic.store.entity.TabStoreStatusSetting>
* @throws
*/
List<TabStoreStatusSetting> selectAll(@Param("enterpriseId") Integer enterpriseId);
/**
* delete
* @Title: delete
* @Description:
* @author zhiwj
* @param enterpriseId
* @param id
* @return int
* @throws
*/
int delete(@Param("enterpriseId") Integer enterpriseId, @Param("id") Integer id);
/**
* selectByRegionId
* @Title: selectByRegionId
* @Description:
* @author zhiwj
* @param enterpriseId
* @param regionId
* @return java.util.List<com.gic.store.entity.TabStoreStatusSetting>
* @throws
*/
List<TabStoreStatusSetting> selectByRegionId(@Param("enterpriseId") Integer enterpriseId, @Param("regionId") Integer regionId);
}
\ No newline at end of file
......@@ -4,7 +4,13 @@ import com.gic.store.entity.TabStoreStrategy;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
*
* @ClassName: TabStoreStrategyMapper
* @Description:
* @author zhiwj
* @date 2020-09-09 18:38
*/
public interface TabStoreStrategyMapper {
/**
* 根据主键删除
......@@ -55,9 +61,13 @@ public interface TabStoreStrategyMapper {
int updateByPrimaryKey(TabStoreStrategy record);
/**
*
* @param record
* @return
* countRepeatStrategyName
* @Title: countRepeatStrategyName
* @Description:
* @author zhiwj
* @param record
* @return java.lang.Integer
* @throws
*/
Integer countRepeatStrategyName(TabStoreStrategy record);
......
......@@ -5,6 +5,13 @@ import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
*
* @ClassName: TabStoreTagMapper
* @Description:
* @author zhiwj
* @date 2020-09-09 18:38
*/
public interface TabStoreTagMapper {
/**
* 根据主键删除
......@@ -54,5 +61,14 @@ public interface TabStoreTagMapper {
*/
int updateByPrimaryKey(TabStoreTag record);
/**
* listByEnterprise
* @Title: listByEnterprise
* @Description:
* @author zhiwj
* @param enterpriseId
* @return java.util.List<com.gic.store.entity.TabStoreTag>
* @throws
*/
List<TabStoreTag> listByEnterprise(@Param("enterpriseId") Integer enterpriseId);
}
\ No newline at end of file
......@@ -4,6 +4,13 @@ import com.gic.store.entity.TabStoreTagTmp;
import com.github.pagehelper.Page;
import org.apache.ibatis.annotations.Param;
/**
*
* @ClassName: TabStoreTagTmpMapper
* @Description:
* @author zhiwj
* @date 2020-09-09 18:52
*/
public interface TabStoreTagTmpMapper {
/**
* 根据主键删除
......@@ -53,9 +60,36 @@ public interface TabStoreTagTmpMapper {
*/
int updateByPrimaryKey(TabStoreTagTmp record);
/**
* delStoreTagTmp
* @Title: delStoreTagTmp
* @Description:
* @author zhiwj
* @param enterpriseId
* @return void
* @throws
*/
void delStoreTagTmp(@Param("enterpriseId") Integer enterpriseId);
/**
* listImportError
* @Title: listImportError
* @Description:
* @author zhiwj
* @param enterpriseId
* @return com.github.pagehelper.Page<com.gic.store.entity.TabStoreTagTmp>
* @throws
*/
Page<TabStoreTagTmp> listImportError(@Param("enterpriseId") Integer enterpriseId);
/**
* querySuccessCount
* @Title: querySuccessCount
* @Description:
* @author zhiwj
* @param enterpriseId
* @return java.lang.Integer
* @throws
*/
Integer querySuccessCount(@Param("enterpriseId") Integer enterpriseId);
}
\ No newline at end of file
......@@ -4,6 +4,13 @@ import com.gic.store.entity.TabStoreTmp;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
*
* @ClassName: TabStoreTmpMapper
* @Description:
* @author zhiwj
* @date 2020-09-09 18:52
*/
public interface TabStoreTmpMapper {
/**
......@@ -54,13 +61,62 @@ public interface TabStoreTmpMapper {
*/
int updateByPrimaryKey(TabStoreTmp record);
/**
* countByStore
* @Title: countByStore
* @Description:
* @author zhiwj
* @param enterpriseId
* @param uuId
* @param errorMessage
* @return int
* @throws
*/
int countByStore(@Param("enterpriseId") Integer enterpriseId,@Param("uuId") String uuId , @Param("errorMessage") String errorMessage);
/**
* delStoreTmp
* @Title: delStoreTmp
* @Description:
* @author zhiwj
* @param enterpriseId
* @return void
* @throws
*/
void delStoreTmp(@Param("enterpriseId") Integer enterpriseId);
/**
* listStoreTmp
* @Title: listStoreTmp
* @Description:
* @author zhiwj
* @param enterpriseId
* @param isSuccess
* @return java.util.List<com.gic.store.entity.TabStoreTmp>
* @throws
*/
List<TabStoreTmp> listStoreTmp(@Param("enterpriseId") Integer enterpriseId, @Param("isSuccess") Boolean isSuccess);
/**
* countByImportFailStore
* @Title: countByImportFailStore
* @Description:
* @author zhiwj
* @param enterpriseId
* @param uuId
* @return java.lang.Integer
* @throws
*/
Integer countByImportFailStore(@Param("enterpriseId") Integer enterpriseId, @Param("uuId") String uuId);
/**
* listUnImportStore
* @Title: listUnImportStore
* @Description:
* @author zhiwj
* @param enterpriseId
* @return java.util.List<com.gic.store.entity.TabStoreTmp>
* @throws
*/
List<TabStoreTmp> listUnImportStore(@Param("enterpriseId") Integer enterpriseId);
}
\ No newline at end of file
......@@ -2,6 +2,13 @@ package com.gic.store.dao.mapper;
import com.gic.store.entity.TabStoreTransfer;
/**
*
* @ClassName: TabStoreTransferMapper
* @Description:
* @author zhiwj
* @date 2020-09-09 18:52
*/
public interface TabStoreTransferMapper {
/**
* 根据主键删除
......
......@@ -2,6 +2,13 @@ package com.gic.store.dao.mapper;
import com.gic.store.entity.TabStoreWidget;
/**
*
* @ClassName: TabStoreWidgetMapper
* @Description:
* @author zhiwj
* @date 2020-09-09 18:52
*/
public interface TabStoreWidgetMapper {
/**
* 根据主键删除
......@@ -49,7 +56,7 @@ public interface TabStoreWidgetMapper {
* @param record 实体对象
* @return 更新条目数
*/
int updateByPrimaryKeyWithBLOBs(TabStoreWidget record);
int updateByPrimaryKeyWithBlobs(TabStoreWidget record);
/**
* 根据主键更新记录
......
......@@ -2,6 +2,13 @@ package com.gic.store.dao.mapper;
import com.gic.store.entity.TabUser;
/**
*
* @ClassName: TabUserMapper
* @Description:
* @author zhiwj
* @date 2020-09-09 18:53
*/
public interface TabUserMapper {
/**
* 根据主键删除
......
......@@ -3,6 +3,13 @@ package com.gic.store.entity;
/**
* tab_auth_store_log
*/
/**
*
* @ClassName: TabAuthStoreLog
* @Description:
* @author zhiwj
* @date 2020-09-09 17:55
*/
public class TabAuthStoreLog {
/**
*
......
......@@ -5,6 +5,13 @@ import java.util.Date;
/**
* tab_city
*/
/**
*
* @ClassName: TabCity
* @Description:
* @author zhiwj
* @date 2020-09-09 17:54
*/
public class TabCity {
/**
* 城市id
......
......@@ -5,6 +5,13 @@ import java.util.Date;
/**
* tab_clerk
*/
/**
*
* @ClassName: TabClerk
* @Description:
* @author zhiwj
* @date 2020-09-09 18:34
*/
public class TabClerk {
/**
* 店员id
......
......@@ -5,6 +5,13 @@ import java.util.Date;
/**
* tab_clerk_log
*/
/**
*
* @ClassName: TabClerkLog
* @Description:
* @author zhiwj
* @date 2020-09-09 18:34
*/
public class TabClerkLog {
/**
*
......
......@@ -5,6 +5,13 @@ import java.util.Date;
/**
* tab_clerk_position
*/
/**
*
* @ClassName: TabClerkPosition
* @Description:
* @author zhiwj
* @date 2020-09-09 18:35
*/
public class TabClerkPosition {
/**
*
......
......@@ -5,6 +5,13 @@ import java.util.Date;
/**
* tab_clerk_tmp
*/
/**
*
* @ClassName: TabClerkTmp
* @Description:
* @author zhiwj
* @date 2020-09-09 18:35
*/
public class TabClerkTmp {
/**
*
......
......@@ -5,6 +5,13 @@ import java.util.Date;
/**
* tab_county
*/
/**
*
* @ClassName: TabCounty
* @Description:
* @author zhiwj
* @date 2020-09-09 18:35
*/
public class TabCounty {
/**
*
......
......@@ -5,6 +5,13 @@ import java.util.Date;
/**
* tab_enterprise
*/
/**
*
* @ClassName: TabEnterprise
* @Description:
* @author zhiwj
* @date 2020-09-09 18:35
*/
public class TabEnterprise {
/**
* 企业主键
......
......@@ -5,6 +5,13 @@ import java.util.Date;
/**
* tab_enterprise_license
*/
/**
*
* @ClassName: TabEnterpriseLicense
* @Description:
* @author zhiwj
* @date 2020-09-09 18:35
*/
public class TabEnterpriseLicense {
/**
*
......
......@@ -5,6 +5,13 @@ import java.util.Date;
/**
* tab_enterprise_version
*/
/**
*
* @ClassName: TabEnterpriseVersion
* @Description:
* @author zhiwj
* @date 2020-09-09 18:35
*/
public class TabEnterpriseVersion {
/**
*
......
package com.gic.store.entity;
import java.util.Date;
/**
* tab_gic_dict
*/
public class TabGicDict {
/**
*
*/
private String dictId;
/**
* 01:推送方式(IM,SMS,WEB,MOBILE,EMAIL) 02:消息编码 03:接口编码
*/
private String dictType;
/**
* 字典code
*/
private String dictCode;
/**
*
*/
private String dictValue;
/**
*
*/
private String dictName;
/**
* 1:开启,0:关闭
*/
private Integer dictStatus;
/**
*
*/
private Date createDate;
/**
*
*/
private Integer dictSort;
public String getDictId() {
return dictId;
}
public void setDictId(String dictId) {
this.dictId = dictId;
}
public String getDictType() {
return dictType;
}
public void setDictType(String dictType) {
this.dictType = dictType;
}
public String getDictCode() {
return dictCode;
}
public void setDictCode(String dictCode) {
this.dictCode = dictCode;
}
public String getDictValue() {
return dictValue;
}
public void setDictValue(String dictValue) {
this.dictValue = dictValue;
}
public String getDictName() {
return dictName;
}
public void setDictName(String dictName) {
this.dictName = dictName;
}
public Integer getDictStatus() {
return dictStatus;
}
public void setDictStatus(Integer dictStatus) {
this.dictStatus = dictStatus;
}
public Date getCreateDate() {
return createDate;
}
public void setCreateDate(Date createDate) {
this.createDate = createDate;
}
public Integer getDictSort() {
return dictSort;
}
public void setDictSort(Integer dictSort) {
this.dictSort = dictSort;
}
package com.gic.store.entity;
import java.util.Date;
/**
* tab_gic_dict
*/
/**
*
* @ClassName: TabGicDict
* @Description:
* @author zhiwj
* @date 2020-09-09 18:35
*/
public class TabGicDict {
/**
*
*/
private String dictId;
/**
* 01:推送方式(IM,SMS,WEB,MOBILE,EMAIL)
02:消息编码
03:接口编码
*/
private String dictType;
/**
* 字典code
*/
private String dictCode;
/**
*
*/
private String dictValue;
/**
*
*/
private String dictName;
/**
* 1:开启,0:关闭
*/
private Integer dictStatus;
/**
*
*/
private Date createDate;
/**
*
*/
private Integer dictSort;
public String getDictId() {
return dictId;
}
public void setDictId(String dictId) {
this.dictId = dictId;
}
public String getDictType() {
return dictType;
}
public void setDictType(String dictType) {
this.dictType = dictType;
}
public String getDictCode() {
return dictCode;
}
public void setDictCode(String dictCode) {
this.dictCode = dictCode;
}
public String getDictValue() {
return dictValue;
}
public void setDictValue(String dictValue) {
this.dictValue = dictValue;
}
public String getDictName() {
return dictName;
}
public void setDictName(String dictName) {
this.dictName = dictName;
}
public Integer getDictStatus() {
return dictStatus;
}
public void setDictStatus(Integer dictStatus) {
this.dictStatus = dictStatus;
}
public Date getCreateDate() {
return createDate;
}
public void setCreateDate(Date createDate) {
this.createDate = createDate;
}
public Integer getDictSort() {
return dictSort;
}
public void setDictSort(Integer dictSort) {
this.dictSort = dictSort;
}
}
\ No newline at end of file
......@@ -5,6 +5,13 @@ import java.util.Date;
/**
* tab_integral_store_move
*/
/**
*
* @ClassName: TabIntegralStoreMove
* @Description:
* @author zhiwj
* @date 2020-09-09 18:36
*/
public class TabIntegralStoreMove {
/**
*
......
......@@ -5,6 +5,13 @@ import java.util.Date;
/**
* tab_province
*/
/**
*
* @ClassName: TabProvince
* @Description:
* @author zhiwj
* @date 2020-09-09 18:36
*/
public class TabProvince {
/**
* 省份id
......
......@@ -5,6 +5,13 @@ import java.util.Date;
/**
* tab_store
*/
/**
*
* @ClassName: TabStore
* @Description:
* @author zhiwj
* @date 2020-09-09 18:36
*/
public class TabStore {
/**
*
......
......@@ -5,6 +5,13 @@ import java.util.Date;
/**
* tab_store_brand
*/
/**
*
* @ClassName: TabStoreBrand
* @Description:
* @author zhiwj
* @date 2020-09-09 18:36
*/
public class TabStoreBrand {
/**
*
......
......@@ -5,6 +5,13 @@ import java.util.Date;
/**
* tab_store_business_time
*/
/**
*
* @ClassName: TabStoreBusinessTime
* @Description:
* @author zhiwj
* @date 2020-09-09 18:36
*/
public class TabStoreBusinessTime {
/**
*
......
......@@ -5,6 +5,13 @@ import java.util.Date;
/**
* tab_store_dict
*/
/**
*
* @ClassName: TabStoreDict
* @Description:
* @author zhiwj
* @date 2020-09-09 18:36
*/
public class TabStoreDict {
/**
*
......
......@@ -5,6 +5,13 @@ import java.util.Date;
/**
* tab_store_extend
*/
/**
*
* @ClassName: TabStoreExtend
* @Description:
* @author zhiwj
* @date 2020-09-09 18:36
*/
public class TabStoreExtend {
/**
*
......
......@@ -5,6 +5,13 @@ import java.util.Date;
/**
* tab_store_field
*/
/**
*
* @ClassName: TabStoreField
* @Description:
* @author zhiwj
* @date 2020-09-09 18:36
*/
public class TabStoreField {
/**
*
......
......@@ -5,6 +5,13 @@ import java.util.Date;
/**
* tab_store_field_region_rel
*/
/**
*
* @ClassName: TabStoreFieldRegionRel
* @Description:
* @author zhiwj
* @date 2020-09-09 18:37
*/
public class TabStoreFieldRegionRel {
/**
*
......
......@@ -5,6 +5,13 @@ import java.util.Date;
/**
* tab_store_field_rel
*/
/**
*
* @ClassName: TabStoreFieldRel
* @Description:
* @author zhiwj
* @date 2020-09-09 18:37
*/
public class TabStoreFieldRel {
/**
*
......
......@@ -5,6 +5,13 @@ import java.util.Date;
/**
* tab_store_field_select
*/
/**
*
* @ClassName: TabStoreFieldSelect
* @Description:
* @author zhiwj
* @date 2020-09-09 18:37
*/
public class TabStoreFieldSelect {
/**
*
......
......@@ -5,6 +5,13 @@ import java.util.Date;
/**
* tab_store_group
*/
/**
*
* @ClassName: TabStoreGroup
* @Description:
* @author zhiwj
* @date 2020-09-09 18:37
*/
public class TabStoreGroup {
/**
*
......
......@@ -5,6 +5,13 @@ import java.util.Date;
/**
* tab_store_group_rel
*/
/**
*
* @ClassName: TabStoreGroupRel
* @Description:
* @author zhiwj
* @date 2020-09-09 18:37
*/
public class TabStoreGroupRel {
/**
*
......
......@@ -5,6 +5,13 @@ import java.util.Date;
/**
* tab_store_index_log
*/
/**
*
* @ClassName: TabStoreIndexLog
* @Description:
* @author zhiwj
* @date 2020-09-09 18:37
*/
public class TabStoreIndexLog {
/**
*
......
......@@ -5,6 +5,13 @@ import java.util.Date;
/**
* tab_store
*/
/**
*
* @ClassName: TabStoreInfo
* @Description:
* @author zhiwj
* @date 2020-09-09 18:37
*/
public class TabStoreInfo {
/**
*
......
......@@ -5,6 +5,13 @@ import java.util.Date;
/**
* tab_store_log
*/
/**
*
* @ClassName: TabStoreLog
* @Description:
* @author zhiwj
* @date 2020-09-09 18:38
*/
public class TabStoreLog {
/**
*
......
......@@ -5,6 +5,13 @@ import java.util.Date;
/**
* tab_store_photo
*/
/**
*
* @ClassName: TabStorePhoto
* @Description:
* @author zhiwj
* @date 2020-09-09 18:38
*/
public class TabStorePhoto {
/**
*
......
......@@ -5,6 +5,13 @@ import java.util.Date;
/**
* tab_store_region
*/
/**
*
* @ClassName: TabStoreRegion
* @Description:
* @author zhiwj
* @date 2020-09-09 18:38
*/
public class TabStoreRegion {
/**
*
......
......@@ -5,6 +5,13 @@ import java.util.Date;
/**
* tab_store_region_rel
*/
/**
*
* @ClassName: TabStoreRegionRel
* @Description:
* @author zhiwj
* @date 2020-09-09 18:38
*/
public class TabStoreRegionRel {
/**
*
......
......@@ -5,6 +5,13 @@ import java.util.Date;
/**
* tab_store_status_setting
*/
/**
*
* @ClassName: TabStoreStatusSetting
* @Description:
* @author zhiwj
* @date 2020-09-09 18:38
*/
public class TabStoreStatusSetting {
/**
*
......
......@@ -5,6 +5,13 @@ import java.util.Date;
/**
* tab_store_strategy
*/
/**
*
* @ClassName: TabStoreStrategy
* @Description:
* @author zhiwj
* @date 2020-09-09 18:38
*/
public class TabStoreStrategy {
/**
*
......
......@@ -5,6 +5,13 @@ import java.util.Date;
/**
* tab_store_tag
*/
/**
*
* @ClassName: TabStoreTag
* @Description:
* @author zhiwj
* @date 2020-09-09 18:38
*/
public class TabStoreTag {
/**
*
......
......@@ -5,6 +5,13 @@ import java.util.Date;
/**
* tab_store_tag_tmp
*/
/**
*
* @ClassName: TabStoreTagTmp
* @Description:
* @author zhiwj
* @date 2020-09-09 18:51
*/
public class TabStoreTagTmp {
/**
*
......
......@@ -5,6 +5,13 @@ import java.util.Date;
/**
* tab_store_tmp
*/
/**
*
* @ClassName: TabStoreTmp
* @Description:
* @author zhiwj
* @date 2020-09-09 18:52
*/
public class TabStoreTmp {
/**
*
......
......@@ -5,6 +5,13 @@ import java.util.Date;
/**
* tab_store_transfer
*/
/**
*
* @ClassName: TabStoreTransfer
* @Description:
* @author zhiwj
* @date 2020-09-09 18:52
*/
public class TabStoreTransfer {
/**
*
......
......@@ -5,6 +5,13 @@ import java.util.Date;
/**
* tab_store_widget
*/
/**
*
* @ClassName: TabStoreWidget
* @Description:
* @author zhiwj
* @date 2020-09-09 18:52
*/
public class TabStoreWidget {
/**
*
......
......@@ -5,6 +5,13 @@ import java.util.Date;
/**
* tab_user
*/
/**
*
* @ClassName: TabUser
* @Description:
* @author zhiwj
* @date 2020-09-09 18:52
*/
public class TabUser {
/**
* 用户id
......
......@@ -4,12 +4,60 @@ import com.gic.store.entity.TabAuthStoreLog;
import java.util.List;
/**
*
* @ClassName: AuthStoreLogService
* @Description:
* @author zhiwj
* @date 2020-09-09 17:53
*/
public interface AuthStoreLogService {
/**
* saveAuthStoreLog
* @Title: saveAuthStoreLog
* @Description:
* @author zhiwj
* @param storeInfoId
* @param fromEnterpriseId
* @param toEnterpriseId
* @param key
* @return int
* @throws
*/
int saveAuthStoreLog(Integer storeInfoId, Integer fromEnterpriseId, Integer toEnterpriseId, String key);
/**
* updateStatus
* @Title: updateStatus
* @Description:
* @author zhiwj
* @param id
* @param status
* @return int
* @throws
*/
int updateStatus(Integer id, int status);
/**
* getCount
* @Title: getCount
* @Description:
* @author zhiwj
* @param key
* @param status
* @return int
* @throws
*/
int getCount(String key, Integer status);
/**
* listFailedStore
* @Title: listFailedStore
* @Description:
* @author zhiwj
* @param key
* @return java.util.List<com.gic.store.entity.TabAuthStoreLog>
* @throws
*/
List<TabAuthStoreLog> listFailedStore(String key);
}
......@@ -14,6 +14,7 @@ import java.util.List;
*/
public interface ClerkImportService {
/**
* 查询企业下是否有 正在导入导购的任务
* @Title: hasImportingClerk
* @Description: 查询企业下是否有 正在导入导购的任务
* @author zhiwj
......@@ -24,6 +25,7 @@ public interface ClerkImportService {
Boolean hasImportingClerk(Integer enterpriseId);
/**
* 删除企业下所有的导入导购tmp
* @Title: delClerkTmp
* @Description: 删除企业下所有的导入导购tmp
* @author zhiwj
......@@ -34,6 +36,7 @@ public interface ClerkImportService {
void delClerkTmp(Integer enterpriseId);
/**
* 保存一个tmp实体
* @Title: saveByOwner
* @Description: 保存一个tmp实体
* @author zhiwj
......@@ -44,6 +47,7 @@ public interface ClerkImportService {
void save(ClerkTmpDTO bean);
/**
* 查询导入的列表
* @Title: listClerkTmp
* @Description: 查询导入的列表
* @author zhiwj
......@@ -57,6 +61,7 @@ public interface ClerkImportService {
Page listClerkTmp(Integer enterpriseId, boolean isSuccess, Integer currentPage, Integer pageSize);
/**
* 查询所有等待导入的导购
* @Title: listUnImportClerk
* @Description: 查询所有等待导入的导购
* @author zhiwj
......@@ -67,6 +72,7 @@ public interface ClerkImportService {
List<TabClerkTmp> listUnImportClerk(String enterpriseId);
/**
* 更新导入导购tmp的状态
* @Title: updateData
* @Description: 更新导入导购tmp的状态
* @author zhiwj
......@@ -77,6 +83,7 @@ public interface ClerkImportService {
void updateData(ClerkTmpDTO t);
/**
* 导入的总任务数量
* @Title: countByTaskTotal
* @Description: 导入的总任务数量
* @author zhiwj
......@@ -88,6 +95,7 @@ public interface ClerkImportService {
Integer countByTaskTotal(Integer enterpriseId, String uuId);
/**
* 导入的已执行任务数量
* @Title: countByTaskExecNum
* @Description: 导入的已执行任务数量
* @author zhiwj
......@@ -99,6 +107,7 @@ public interface ClerkImportService {
Integer countByTaskExecNum(Integer enterpriseId, String uuId);
/**
* 导入的失败任务数量
* @Title: countByTaskFailNum
* @Description: 导入的失败任务数量
* @author zhiwj
......@@ -110,6 +119,7 @@ public interface ClerkImportService {
Integer countByTaskFailNum(Integer enterpriseId, String uuId);
/**
* 查询导入的列表
* @Title: listClerkTmp
* @Description: 查询导入的列表
* @author zhiwj
......@@ -121,6 +131,7 @@ public interface ClerkImportService {
List<TabClerkTmp> listClerkTmp(Integer enterpriseId, Boolean isSuccess);
/**
* 查询导入的列表
* @Title: listAllClerkTmp
* @Description: 查询导入的列表
* @author zhiwj
......
......@@ -15,10 +15,51 @@ import com.github.pagehelper.Page;
public interface ClerkLogService {
/**
* saveClerkLogBySaveClerk
* @Title: saveClerkLogBySaveClerk
* @Description:
* @author zhiwj
* @param enterpriseId
* @param clerkId
* @param reason
* @param remark
* @param operatorId
* @param operatorName
* @return java.lang.Integer
* @throws
*/
Integer saveClerkLogBySaveClerk(Integer enterpriseId, Integer clerkId, Integer reason, String remark, Integer operatorId, String operatorName);
/**
* saveClerkLogByUpdateClerk
* @Title: saveClerkLogByUpdateClerk
* @Description:
* @author zhiwj
* @param oldClerk
* @param newClerk
* @param enterpriseId
* @param clerkId
* @param reason
* @param remark
* @param operatorId
* @param operatorName
* @return java.lang.Integer
* @throws
*/
Integer saveClerkLogByUpdateClerk(TabClerk oldClerk, ClerkDTO newClerk, Integer enterpriseId, Integer clerkId, Integer reason, String remark, Integer operatorId, String operatorName);
/**
* listClerkLog
* @Title: listClerkLog
* @Description:
* @author zhiwj
* @param clerkLogDTO
* @param pageNum
* @param pageSize
* @return com.github.pagehelper.Page<com.gic.store.entity.TabClerkLog>
* @throws
*/
Page<TabClerkLog> listClerkLog(ClerkLogDTO clerkLogDTO, Integer pageNum, Integer pageSize);
}
......@@ -12,27 +12,148 @@ import java.util.List;
* @date 2020-07-15 17:08
*/
public interface ClerkPositionService {
/**
* isPositionNameRepeat
* @Title: isPositionNameRepeat
* @Description:
* @author zhiwj
* @param enterpriseId
* @param positionName
* @param clerkPositionId
* @return boolean
* @throws
*/
boolean isPositionNameRepeat(Integer enterpriseId, String positionName, Integer clerkPositionId);
/**
* isPositionCodeRepeat
* @Title: isPositionCodeRepeat
* @Description:
* @author zhiwj
* @param enterpriseId
* @param positionCode
* @param clerkPositionId
* @return boolean
* @throws
*/
boolean isPositionCodeRepeat(Integer enterpriseId, String positionCode, Integer clerkPositionId);
/**
* save
* @Title: save
* @Description:
* @author zhiwj
* @param clerkPositionDTO
* @return void
* @throws
*/
void save(ClerkPositionDTO clerkPositionDTO);
/**
* update
* @Title: update
* @Description:
* @author zhiwj
* @param clerkPositionDTO
* @return void
* @throws
*/
void update(ClerkPositionDTO clerkPositionDTO);
/**
* getByClerkPositionId
* @Title: getByClerkPositionId
* @Description:
* @author zhiwj
* @param clerkPositionId
* @return com.gic.store.entity.TabClerkPosition
* @throws
*/
TabClerkPosition getByClerkPositionId(Integer clerkPositionId);
/**
* listClerkPosition
* @Title: listClerkPosition
* @Description:
* @author zhiwj
* @param enterpriseId
* @param search
* @param currentPage
* @param pageSize
* @return com.github.pagehelper.Page<com.gic.store.entity.TabClerkPosition>
* @throws
*/
Page<TabClerkPosition> listClerkPosition(Integer enterpriseId, String search, Integer currentPage, Integer pageSize);
/**
* listAllClerkPosition
* @Title: listAllClerkPosition
* @Description:
* @author zhiwj
* @param enterpriseId
* @param search
* @return java.util.List<com.gic.store.entity.TabClerkPosition>
* @throws
*/
List<TabClerkPosition> listAllClerkPosition(Integer enterpriseId, String search);
/**
* deleteById
* @Title: deleteById
* @Description:
* @author zhiwj
* @param clerkPositionId
* @return void
* @throws
*/
void deleteById(Integer clerkPositionId);
/**
* setSort
* @Title: setSort
* @Description:
* @author zhiwj
* @param enterpriseId
* @param clerkPositionId
* @param seq
* @return void
* @throws
*/
void setSort(Integer enterpriseId, Integer clerkPositionId, Integer seq);
/**
* sortTopping
* @Title: sortTopping
* @Description:
* @author zhiwj
* @param enterpriseId
* @param clerkPositionId
* @return void
* @throws
*/
void sortTopping(Integer enterpriseId, Integer clerkPositionId);
/**
* sortBottom
* @Title: sortBottom
* @Description:
* @author zhiwj
* @param enterpriseId
* @param clerkPositionId
* @return void
* @throws
*/
void sortBottom(Integer enterpriseId, Integer clerkPositionId);
/**
* getByName
* @Title: getByName
* @Description:
* @author zhiwj
* @param enterpriseId
* @param positionName
* @return com.gic.store.entity.TabClerkPosition
* @throws
*/
TabClerkPosition getByName(Integer enterpriseId, String positionName);
}
......@@ -15,6 +15,7 @@ import java.util.Map;
*/
public interface ClerkService {
/**
* 导购代码是否重复
* @Title: isRepeatByClerkCode
* @Description: 导购代码是否重复
* @author zhiwj
......@@ -27,6 +28,7 @@ public interface ClerkService {
boolean isRepeatByClerkCode(Integer storeInfoId, String clerkCode, Integer clerkId);
/**
* 导购手机号是否重复
* @Title: isRepeatByClerkCode
* @Description: 导购手机号是否重复
* @author zhiwj
......@@ -52,6 +54,7 @@ public interface ClerkService {
*/
boolean isRepeatByClerkName(Integer storeInfoId, String clerkName, Integer clerkId);
/**
* 保存导购
* @Title: saveByOwner
* @Description: 保存导购
* @author zhiwj
......@@ -62,6 +65,7 @@ public interface ClerkService {
Integer save(ClerkDTO clerkDTO);
/**
* 编辑导购
* @Title: update
* @Description: 编辑导购
* @author zhiwj
......@@ -71,9 +75,19 @@ public interface ClerkService {
*/
Integer update(ClerkDTO clerkDTO);
/**
* update
* @Title: update
* @Description:
* @author zhiwj
* @param clerk
* @return java.lang.Integer
* @throws
*/
Integer update(TabClerk clerk);
/**
* 查询下导购列表
* @Title: listClerkByStoreInfoId
* @Description: 查询下导购列表
* @author zhiwj
......@@ -85,12 +99,46 @@ public interface ClerkService {
*/
List<TabClerk> listClerkByStoreInfoId(Integer enterpriseId, List<Integer> storeInfoIds, String search);
/**
* listClerkByStoreInfoId
* @Title: listClerkByStoreInfoId
* @Description:
* @author zhiwj
* @param enterpriseId
* @param storeInfoIds
* @param search
* @return java.util.List<com.gic.store.entity.TabClerk>
* @throws
*/
List<TabClerk> listClerkByStoreInfoId(Integer enterpriseId, String storeInfoIds, String search);
/**
* listClerkByStoreInfoId
* @Title: listClerkByStoreInfoId
* @Description:
* @author zhiwj
* @param enterpriseId
* @param storeInfoIds
* @param search
* @param clerkType
* @return java.util.List<com.gic.store.entity.TabClerk>
* @throws
*/
List<TabClerk> listClerkByStoreInfoId(Integer enterpriseId, List<Integer> storeInfoIds, String search, Integer clerkType);
/**
* getTotalClerk
* @Title: getTotalClerk
* @Description:
* @author zhiwj
* @param enterpriseId
* @param storeInfoIds
* @param search
* @return java.lang.Integer
* @throws
*/
Integer getTotalClerk(Integer enterpriseId, List<Integer> storeInfoIds, ClerkSearchDTO search);
/**
* 查询符合条件的门店id
* @Title: getStoreInfoIdsBySearch
* @Description: 查询符合条件的门店id
* @author zhiwj
......@@ -102,6 +150,7 @@ public interface ClerkService {
List<Integer> getStoreInfoIdsBySearch(Integer enterpriseId, String search);
/**
* 批量修改导购状态
* @Title: updateClerkStatus
* @Description: 批量修改导购状态
* @author zhiwj
......@@ -113,25 +162,135 @@ public interface ClerkService {
*/
Integer updateClerkStatus(Integer enterpriseId, List<Integer> clerkIdList, Integer status);
/**
* listClerkByIds
* @Title: listClerkByIds
* @Description:
* @author zhiwj
* @param enterpriseId
* @param clerkIds
* @return java.util.List<com.gic.store.entity.TabClerk>
* @throws
*/
List<TabClerk> listClerkByIds(Integer enterpriseId, String clerkIds);
/**
* listClerkByIds
* @Title: listClerkByIds
* @Description:
* @author zhiwj
* @param clerkIdList
* @return java.util.List<com.gic.store.entity.TabClerk>
* @throws
*/
List<TabClerk> listClerkByIds(List<Integer> clerkIdList);
/**
* getById
* @Title: getById
* @Description:
* @author zhiwj
* @param clerkId
* @return com.gic.store.entity.TabClerk
* @throws
*/
TabClerk getById(Integer clerkId);
/**
* listClerkByStoreInfoId
* @Title: listClerkByStoreInfoId
* @Description:
* @author zhiwj
* @param enterpriseId
* @param search
* @return java.util.List<com.gic.store.entity.TabClerk>
* @throws
*/
List<TabClerk> listClerkByStoreInfoId(Integer enterpriseId, String search);
/**
* getClerkByCode
* @Title: getClerkByCode
* @Description:
* @author zhiwj
* @param enterpriseId
* @param clerkCode
* @param storeInfoId
* @return com.gic.store.entity.TabClerk
* @throws
*/
TabClerk getClerkByCode(Integer enterpriseId, String clerkCode, Integer storeInfoId);
/**
* getClerkLeaderByStoreInfoId
* @Title: getClerkLeaderByStoreInfoId
* @Description:
* @author zhiwj
* @param enterpriseId
* @param storeInfoId
* @return com.gic.store.entity.TabClerk
* @throws
*/
TabClerk getClerkLeaderByStoreInfoId(Integer enterpriseId, Integer storeInfoId);
/**
* countMapByPosition
* @Title: countMapByPosition
* @Description:
* @author zhiwj
* @param enterpriseId
* @param positionList
* @return java.util.Map<java.lang.Integer,java.lang.Integer>
* @throws
*/
Map<Integer, Integer> countMapByPosition(Integer enterpriseId, List<Integer> positionList);
/**
* updatePosition
* @Title: updatePosition
* @Description:
* @author zhiwj
* @param enterpriseId
* @param clerkPositionId
* @param positionName
* @return void
* @throws
*/
void updatePosition(Integer enterpriseId, Integer clerkPositionId, String positionName);
/**
* listHaobanClerk
* @Title: listHaobanClerk
* @Description:
* @author zhiwj
* @param enterpriseIdList
* @param keyword
* @param storeInfoIdList
* @return java.util.List<com.gic.store.entity.TabClerk>
* @throws
*/
List<TabClerk> listHaobanClerk(List<Integer> enterpriseIdList, String keyword, List<Integer> storeInfoIdList);
/**
* listClerkByPositionId
* @Title: listClerkByPositionId
* @Description:
* @author zhiwj
* @param enterpriseId
* @param positionId
* @return java.util.List<com.gic.store.entity.TabClerk>
* @throws
*/
List<TabClerk> listClerkByPositionId(Integer enterpriseId, Integer positionId);
/**
* listAllClerkId
* @Title: listAllClerkId
* @Description:
* @author zhiwj
* @param enterpriseId
* @return java.util.List<java.lang.Integer>
* @throws
*/
List<Integer> listAllClerkId(Integer enterpriseId);
}
......@@ -10,9 +10,12 @@ import com.gic.store.entity.TabGicDict;
public interface DictService {
/**
* getDictByCode
* @Title: getDictByCode
* @Description:
* @author zhiwj
* @param dictType
* @param dictValue
* @return com.gic.store.entity.TabGicDict
* @throws
*/
......
......@@ -5,17 +5,74 @@ import com.gic.store.entity.TabCounty;
import com.gic.store.entity.TabProvince;
import java.util.List;
/**
*
* @ClassName: ProvincesService
* @Description:
* @author zhiwj
* @date 2020-09-09 17:53
*/
public interface ProvincesService {
/**
* selectAllProvince
* @Title: selectAllProvince
* @Description:
* @author zhiwj
* @return java.util.List<com.gic.store.entity.TabProvince>
* @throws
*/
List<TabProvince> selectAllProvince();
/**
* selectAllCity
* @Title: selectAllCity
* @Description:
* @author zhiwj
* @return java.util.List<com.gic.store.entity.TabCity>
* @throws
*/
List<TabCity> selectAllCity();
/**
* selectAllCounty
* @Title: selectAllCounty
* @Description:
* @author zhiwj
* @return java.util.List<com.gic.store.entity.TabCounty>
* @throws
*/
List<TabCounty> selectAllCounty();
/**
* queryProvinces
* @Title: queryProvinces
* @Description:
* @author zhiwj
* @param search
* @return java.util.List<com.gic.store.entity.TabProvince>
* @throws
*/
List<TabProvince> queryProvinces(String search);
/**
* queryCity
* @Title: queryCity
* @Description:
* @author zhiwj
* @param search
* @return java.util.List<com.gic.store.entity.TabCity>
* @throws
*/
List<TabCity> queryCity(String search);
/**
* queryCounty
* @Title: queryCounty
* @Description:
* @author zhiwj
* @param search
* @return java.util.List<com.gic.store.entity.TabCounty>
* @throws
*/
List<TabCounty> queryCounty(String search);
}
......@@ -11,37 +11,207 @@ import java.util.List;
* @date 2019/6/26
*/
public interface StoreBrandService {
/**
* save
* @Title: save
* @Description:
* @author zhiwj
* @param storeBrandDTO
* @return java.lang.Integer
* @throws
*/
Integer save(StoreBrandDTO storeBrandDTO);
/**
* update
* @Title: update
* @Description:
* @author zhiwj
* @param storeBrandDTO
* @return java.lang.Integer
* @throws
*/
Integer update(StoreBrandDTO storeBrandDTO);
/**
* countByStoreBrandCode
* @Title: countByStoreBrandCode
* @Description:
* @author zhiwj
* @param enterpriseId
* @param storeBrandCode
* @param storeBrandId
* @return int
* @throws
*/
int countByStoreBrandCode(Integer enterpriseId, String storeBrandCode, Integer storeBrandId);
/**
* countByStoreBrandName
* @Title: countByStoreBrandName
* @Description:
* @author zhiwj
* @param enterpriseId
* @param storeBrandName
* @param storeBrandId
* @return int
* @throws
*/
int countByStoreBrandName(Integer enterpriseId, String storeBrandName, Integer storeBrandId);
/**
* getByStoreBrandName
* @Title: getByStoreBrandName
* @Description:
* @author zhiwj
* @param enterpriseId
* @param storeBrandName
* @return com.gic.store.entity.TabStoreBrand
* @throws
*/
TabStoreBrand getByStoreBrandName(Integer enterpriseId, String storeBrandName);
/**
* listStoreBrand
* @Title: listStoreBrand
* @Description:
* @author zhiwj
* @param enterpriseId
* @param search
* @param pageNum
* @param pageSize
* @return com.github.pagehelper.Page<com.gic.store.entity.TabStoreBrand>
* @throws
*/
Page<TabStoreBrand> listStoreBrand(Integer enterpriseId, String search, Integer pageNum, Integer pageSize);
/**
* listAllStoreBrand
* @Title: listAllStoreBrand
* @Description:
* @author zhiwj
* @param enterpriseId
* @param search
* @return java.util.List<com.gic.store.entity.TabStoreBrand>
* @throws
*/
List<TabStoreBrand> listAllStoreBrand(Integer enterpriseId, String search);
/**
* sortMoveUp
* @Title: sortMoveUp
* @Description:
* @author zhiwj
* @param enterpriseId
* @param storeBrandId
* @return void
* @throws
*/
void sortMoveUp(Integer enterpriseId, Integer storeBrandId);
/**
* sortMoveDown
* @Title: sortMoveDown
* @Description:
* @author zhiwj
* @param enterpriseId
* @param storeBrandId
* @return void
* @throws
*/
void sortMoveDown(Integer enterpriseId, Integer storeBrandId);
/**
* sortTopping
* @Title: sortTopping
* @Description:
* @author zhiwj
* @param enterpriseId
* @param storeBrandId
* @return void
* @throws
*/
void sortTopping(Integer enterpriseId, Integer storeBrandId);
/**
* sortBottom
* @Title: sortBottom
* @Description:
* @author zhiwj
* @param enterpriseId
* @param storeBrandId
* @return void
* @throws
*/
void sortBottom(Integer enterpriseId, Integer storeBrandId);
/**
* setStoreBrandSort
* @Title: setStoreBrandSort
* @Description:
* @author zhiwj
* @param enterpriseId
* @param storeBrandId
* @param seq
* @return void
* @throws
*/
void setStoreBrandSort(Integer enterpriseId, Integer storeBrandId, Integer seq);
/**
* deleteByIds
* @Title: deleteByIds
* @Description:
* @author zhiwj
* @param enterpriseId
* @param delList
* @return java.lang.Integer
* @throws
*/
Integer deleteByIds(Integer enterpriseId, List<Integer> delList);
/**
* listStoreBrandByIds
* @Title: listStoreBrandByIds
* @Description:
* @author zhiwj
* @param brandIds
* @return java.util.List<com.gic.store.entity.TabStoreBrand>
* @throws
*/
List<TabStoreBrand> listStoreBrandByIds(String brandIds);
/**
* listStoreBrandByIds
* @Title: listStoreBrandByIds
* @Description:
* @author zhiwj
* @param brandIdList
* @return java.util.List<com.gic.store.entity.TabStoreBrand>
* @throws
*/
List<TabStoreBrand> listStoreBrandByIds(List<Integer> brandIdList);
/**
* getById
* @Title: getById
* @Description:
* @author zhiwj
* @param storeBrandId
* @return com.gic.store.entity.TabStoreBrand
* @throws
*/
TabStoreBrand getById(Integer storeBrandId);
/**
* updateRelByOperation
* @Title: updateRelByOperation
* @Description:
* @author zhiwj
* @param storeBrandId
* @param hasRel
* @return int
* @throws
*/
int updateRelByOperation(Integer storeBrandId, Integer hasRel);
}
......@@ -10,9 +10,39 @@ import java.util.List;
* @date 2019/6/28
*/
public interface StoreBusinessTimeService {
/**
* editStoreBusinessTime
* @Title: editStoreBusinessTime
* @Description:
* @author zhiwj
* @param enterpriseId
* @param storeId
* @param businessTimeList
* @param delBusinessTimes
* @return void
* @throws
*/
void editStoreBusinessTime(Integer enterpriseId, Integer storeId, List<StoreBusinessTimeDTO> businessTimeList, List<Integer> delBusinessTimes);
/**
* listBusinessTime
* @Title: listBusinessTime
* @Description:
* @author zhiwj
* @param storeId
* @return java.util.List<com.gic.store.entity.TabStoreBusinessTime>
* @throws
*/
List<TabStoreBusinessTime> listBusinessTime(Integer storeId);
/**
* convertBusinessTime
* @Title: convertBusinessTime
* @Description:
* @author zhiwj
* @param businessTimeDTOList
* @return void
* @throws
*/
void convertBusinessTime(List<StoreBusinessTimeDTO> businessTimeDTOList);
}
......@@ -3,42 +3,90 @@ package com.gic.store.service;
import com.gic.store.entity.TabStoreDict;
import java.util.List;
/**
*
* @ClassName: StoreDictService
* @Description:
* @author zhiwj
* @date 2020-09-09 17:53
*/
public interface StoreDictService {
/**
* 获取企业下的门店类型
* listStoreType 获取企业下的门店类型
* @Title: listStoreType
* @Description:
* @author zhiwj
* @param enterpriseId
* @return
* @return java.util.List<java.lang.String>
* @throws
*/
List<String> listStoreType(Integer enterpriseId);
/**
* 获取企业下的门店状态
* listStoreStatus 获取企业下的门店状态
* @Title: listStoreStatus
* @Description:
* @author zhiwj
* @param enterpriseId
* @return
* @return java.util.List<java.lang.String>
* @throws
*/
List<String> listStoreStatus(Integer enterpriseId);
/**
* 保存门店类型
* saveStoreType 保存门店类型
* @Title: saveStoreType
* @Description:
* @author zhiwj
* @param tabStoreDict
* @return void
* @throws
*/
void saveStoreType(TabStoreDict tabStoreDict);
/**
* 保存门店状态
* saveStoreStatus 保存门店状态
* @Title: saveStoreStatus
* @Description:
* @author zhiwj
* @param tabStoreDict
* @return void
* @throws
*/
void saveStoreStatus(TabStoreDict tabStoreDict);
/**
* 查询门店自定义字段配置支持查询
* listStoreField 查询门店自定义字段配置支持查询
* @Title: listStoreField
* @Description:
* @author zhiwj
* @param enterpriseId
* @return
* @return java.util.List<java.lang.String>
* @throws
*/
List<String> listStoreField(Integer enterpriseId);
/**
* saveStoreField
* @Title: saveStoreField
* @Description:
* @author zhiwj
* @param tabStoreDict
* @return void
* @throws
*/
void saveStoreField(TabStoreDict tabStoreDict);
/**
* deleteStoreDict
* @Title: deleteStoreDict
* @Description:
* @author zhiwj
* @param enterpriseId
* @param value
* @param type
* @return void
* @throws
*/
void deleteStoreDict(Integer enterpriseId, String value, String type);
}
......@@ -10,23 +10,74 @@ import java.util.List;
* @date 2019/7/3
*/
public interface StoreExtendService {
/**
* saveOrUpdate
* @Title: saveOrUpdate
* @Description:
* @author zhiwj
* @param enterpriseId
* @param storeInfoId
* @param storeExtendList
* @return java.lang.String
* @throws
*/
String saveOrUpdate(Integer enterpriseId, Integer storeInfoId, List<StoreExtendDTO> storeExtendList);
/**
* listByStoreInfoId
* @Title: listByStoreInfoId
* @Description:
* @author zhiwj
* @param enterpriseId
* @param storeInfoId
* @return List<TabStoreExtend>
* @throws
*/
List<TabStoreExtend> listByStoreInfoId(Integer enterpriseId, Integer storeInfoId);
/**
* convertStoreExtendToDTO
* @Title: convertStoreExtendToDTO
* @Description:
* @author zhiwj
* @param extendList
* @return List<StoreExtendDTO>
* @throws
*/
List<StoreExtendDTO> convertStoreExtendToDTO(List<TabStoreExtend> extendList);
/**
* getStoreExtendByStoreInfoIdAndFieldId
* @Title: getStoreExtendByStoreInfoIdAndFieldId
* @Description:
* @author zhiwj
* @param storeInfoId
* @param storeFieldId
* @return TabStoreExtend
* @throws
*/
TabStoreExtend getStoreExtendByStoreInfoIdAndFieldId(Integer storeInfoId, Integer storeFieldId);
/**
* 判断自定义属性是否在使用
* @return true:在使用 false:不在使用
* storeExtendHasStoreField 判断自定义属性是否在使用
* @Title: storeExtendHasStoreField
* @Description:
* @author zhiwj
* @param storeField
* @return boolean
* @throws
*/
boolean storeExtendHasStoreField(Integer storeField);
/**
* 判断自定义属性值是否在使用
* @return true:在使用 false:不在使用
* storeExtendHasStoreFieldSelect 判断自定义属性值是否在使用
* @Title: storeExtendHasStoreFieldSelect
* @Description:
* @author zhiwj
* @param storeField
* @param storeFieldSelectId
* @return boolean
* @throws
*/
boolean storeExtendHasStoreFieldSelect(Integer storeField, Integer storeFieldSelectId);
......
......@@ -36,13 +36,15 @@ public interface StoreFieldRelService {
TabStoreFieldRel getByEnterpriseIdAndStoreFieldId(Integer enterpriseId, Integer storeFieldId);
/**
* 批量删除
* @Title: deleteFetch
* deleteFetch 批量删除
* @Title: deleteFetch
* @Description:

 * @author guojuxing
* @param storeFieldIdList

* @return void


 */
* @author zhiwj
* @param storeFieldIdList
* @param enterpriseId
* @return void
* @throws
*/
void deleteFetch(List<Integer> storeFieldIdList, Integer enterpriseId);
/**
......
package com.gic.store.service;
import java.util.List;
import com.gic.store.dto.StoreFieldSelectDTO;
import com.gic.store.entity.TabStoreFieldSelect;
import com.github.pagehelper.Page;
import java.util.List;
/**
* 自定义字段属性值
* @ClassName: StoreFieldSelectService

......@@ -80,6 +80,7 @@ public interface StoreFieldSelectService {
void setStoreFieldSelectSort(int storeFieldSelectId, int storeFieldId, int setValue);
/**
* delete
* @Title: delete

* @Description:

 * @author guojuxing
......@@ -99,6 +100,7 @@ public interface StoreFieldSelectService {
int deleteBatch(List<Integer> storeFieldSelectIdList);
/**
* edit
* @Title: edit

* @Description:

 * @author guojuxing
......@@ -188,6 +190,15 @@ public interface StoreFieldSelectService {
* @return boolean


 */
boolean isRepeatName(Integer storeFieldId, Integer storeFieldSelectId, String storeFieldSelectName);
/**
* listStoreFieldSelectByIds
* @Title: listStoreFieldSelectByIds
* @Description:
* @author zhiwj
* @param storeFileIdSelectIdList
* @return java.util.List<com.gic.store.entity.TabStoreFieldSelect>
* @throws
*/
List<TabStoreFieldSelect> listStoreFieldSelectByIds(List<Integer> storeFileIdSelectIdList);
}
package com.gic.store.service;
import java.util.List;
import com.gic.store.dto.StoreFieldDTO;
import com.gic.store.entity.TabStoreField;
import com.github.pagehelper.Page;
import java.util.List;
/**
* 自定义字段
* @ClassName: StoreFieldService

......@@ -119,6 +119,7 @@ public interface StoreFieldService {
void setStoreFieldSort(int storeFieldId, int enterpriseId, int setValue);
/**
* delete
* @Title: delete

* @Description:

 * @author guojuxing
......@@ -136,6 +137,7 @@ public interface StoreFieldService {
* @param search
* @param pageNum
* @param pageSize

* @param storeFieldIdList
* @return com.github.pagehelper.Page<com.gic.store.entity.TabStoreField>


 */
Page<StoreFieldDTO> listStoreField(int enterpriseId, String search, Integer pageNum, Integer pageSize,
......@@ -148,6 +150,7 @@ public interface StoreFieldService {

 * @author guojuxing
* @param enterpriseId
* @param search

* @param storeFieldIdList
* @return java.util.List<com.gic.store.entity.TabStoreField>


 */
List<StoreFieldDTO> listStoreField(Integer enterpriseId, String search, List<Integer> storeFieldIdList);
......
package com.gic.store.service;
import java.util.List;
import com.gic.store.dto.StoreGroupDTO;
import com.gic.store.entity.TabStoreGroup;
import com.github.pagehelper.Page;
import java.util.List;
/**
* 门店分组
* @ClassName: StoreGroupService

......@@ -38,6 +38,7 @@ public interface StoreGroupService {
void dragSort(TabStoreGroup storeGroup, Integer toSortValue);
/**
* getStoreGroupById
* @Title: getStoreGroupById

* @Description:

 * @author guojuxing
......@@ -133,6 +134,7 @@ public interface StoreGroupService {
Integer storeGroupParentId);
/**
* getStoreGroupWhenMaxSort
* @Title: getStoreGroupWhenMaxSort

* @Description:

 * @author guojuxing
......@@ -144,6 +146,7 @@ public interface StoreGroupService {
TabStoreGroup getStoreGroupWhenMaxSort(Integer enterpriseId, Integer groupLevel, Integer sort);
/**
* getStoreGroupWhenMinSort
* @Title: getStoreGroupWhenMinSort

* @Description:

 * @author guojuxing
......@@ -194,9 +197,42 @@ public interface StoreGroupService {

 */
TabStoreGroup selectAllStoreGroup(Integer enterpriseId);
/**
* listStoreGroupByIds
* @Title: listStoreGroupByIds
* @Description:
* @author zhiwj
* @param storeGroupIdList
* @param enterpriseId
* @param level
* @return java.util.List<com.gic.store.entity.TabStoreGroup>
* @throws
*/
List<TabStoreGroup> listStoreGroupByIds(List<Integer> storeGroupIdList, Integer enterpriseId, Integer level);
/**
* pageStoreGroupByIds
* @Title: pageStoreGroupByIds
* @Description:
* @author zhiwj
* @param storeGroupIdList
* @param enterpriseId
* @param parentId
* @param search
* @return com.github.pagehelper.Page<com.gic.store.entity.TabStoreGroup>
* @throws
*/
Page<TabStoreGroup> pageStoreGroupByIds(List<Integer> storeGroupIdList, Integer enterpriseId, Integer parentId, String search);
/**
* listChildrenStoreGroup
* @Title: listChildrenStoreGroup
* @Description:
* @author zhiwj
* @param enterpriseId
* @param parentStoreGroupId
* @return java.util.List<com.gic.store.entity.TabStoreGroup>
* @throws
*/
List<TabStoreGroup> listChildrenStoreGroup(Integer enterpriseId, Integer parentStoreGroupId);
}
......@@ -11,25 +11,131 @@ import java.util.List;
* @date 2019/7/3
*/
public interface StoreImportService {
/**
* hasImportingStore
* @Title: hasImportingStore
* @Description:
* @author zhiwj
* @param enterpriseId
* @return java.lang.Boolean
* @throws
*/
Boolean hasImportingStore(Integer enterpriseId);
/**
* delStoreTmp
* @Title: delStoreTmp
* @Description:
* @author zhiwj
* @param enterpriseId
* @return void
* @throws
*/
void delStoreTmp(Integer enterpriseId);
/**
* save
* @Title: save
* @Description:
* @author zhiwj
* @param bean
* @return void
* @throws
*/
void save(StoreTmpDTO bean);
/**
* listStoreTmp
* @Title: listStoreTmp
* @Description:
* @author zhiwj
* @param enterpriseId
* @param isSuccess
* @param currentPage
* @param pageSize
* @return com.github.pagehelper.Page<com.gic.store.entity.TabStoreTmp>
* @throws
*/
Page<TabStoreTmp> listStoreTmp(Integer enterpriseId, boolean isSuccess, Integer currentPage, Integer pageSize);
/**
* listUnImportStore
* @Title: listUnImportStore
* @Description:
* @author zhiwj
* @param enterpriseId
* @return java.util.List<com.gic.store.entity.TabStoreTmp>
* @throws
*/
List<TabStoreTmp> listUnImportStore(String enterpriseId);
/**
* updateData
* @Title: updateData
* @Description:
* @author zhiwj
* @param t
* @return void
* @throws
*/
void updateData(StoreTmpDTO t);
/**
* listStoreTmp
* @Title: listStoreTmp
* @Description:
* @author zhiwj
* @param enterpriseId
* @param isSuccess
* @return java.util.List<com.gic.store.entity.TabStoreTmp>
* @throws
*/
List<TabStoreTmp> listStoreTmp(Integer enterpriseId, Boolean isSuccess);
/**
* listAllStoreTmp
* @Title: listAllStoreTmp
* @Description:
* @author zhiwj
* @param enterpriseId
* @return java.util.List<com.gic.store.entity.TabStoreTmp>
* @throws
*/
List<TabStoreTmp> listAllStoreTmp(Integer enterpriseId);
/**
* countByTaskTotal
* @Title: countByTaskTotal
* @Description:
* @author zhiwj
* @param enterpriseId
* @param uuId
* @return java.lang.Integer
* @throws
*/
Integer countByTaskTotal(Integer enterpriseId, String uuId);
/**
* countByTaskExecNum
* @Title: countByTaskExecNum
* @Description:
* @author zhiwj
* @param enterpriseId
* @param uuId
* @return java.lang.Integer
* @throws
*/
Integer countByTaskExecNum(Integer enterpriseId, String uuId);
/**
* countByTaskFailNum
* @Title: countByTaskFailNum
* @Description:
* @author zhiwj
* @param enterpriseId
* @param uuId
* @return java.lang.Integer
* @throws
*/
Integer countByTaskFailNum(Integer enterpriseId, String uuId);
}
......@@ -3,8 +3,35 @@ package com.gic.store.service;
/**
* Created by tgs on 2020/2/6.
*/
/**
*
* @ClassName: StoreIndexLogService
* @Description:
* @author zhiwj
* @date 2020-09-09 17:54
*/
public interface StoreIndexLogService {
/**
* saveStoreIndexLog
* @Title: saveStoreIndexLog
* @Description:
* @author zhiwj
* @param enterpriseId
* @param storeId
* @return int
* @throws
*/
int saveStoreIndexLog(Integer enterpriseId, Integer storeId);
/**
* updateStoreIndexLog
* @Title: updateStoreIndexLog
* @Description:
* @author zhiwj
* @param logId
* @param result
* @return int
* @throws
*/
int updateStoreIndexLog(Integer logId, String result);
}
......@@ -27,21 +27,61 @@ public interface StoreLogService {
Integer saveStoreLog(StoreLogDTO storeLogDTO);
/**
* 查询列表
* listStoreLog 查询列表
* @Title: listStoreLog
* @Description:
* @author zhiwj
* @param storeLogDTO
* @param pageQO
* @param currentPage
* @param pageSize
* @return com.github.pagehelper.Page<com.gic.store.entity.TabStoreLog>
* @throws
*/
Page<TabStoreLog> listStoreLog(StoreLogDTO storeLogDTO, Integer currentPage, Integer pageSize);
/**
* saveBulkStoreInfoLog
* @Title: saveBulkStoreInfoLog
* @Description:
* @author zhiwj
* @param storeInfoIdList
* @param enterpriseId
* @param operatorId
* @param operatorName
* @param content
* @return void
* @throws
*/
void saveBulkStoreInfoLog(List<Integer> storeInfoIdList, Integer enterpriseId, Integer operatorId, String operatorName, String content);
/**
* saveBulkStoreStatusLog
* @Title: saveBulkStoreStatusLog
* @Description:
* @author zhiwj
* @param storeInfoIdList
* @param enterpriseId
* @param operatorId
* @param operatorName
* @param content
* @return void
* @throws
*/
void saveBulkStoreStatusLog(List<Integer> storeInfoIdList, Integer enterpriseId, Integer operatorId, String operatorName, String content);
/**
* saveBulkStoreGroupLog
* @Title: saveBulkStoreGroupLog
* @Description:
* @author zhiwj
* @param storeInfoIdList
* @param enterpriseId
* @param operatorId
* @param operatorName
* @param content
* @return void
* @throws
*/
void saveBulkStoreGroupLog(List<Integer> storeInfoIdList, Integer enterpriseId, Integer operatorId, String operatorName, String content);
}
\ No newline at end of file
......@@ -10,7 +10,29 @@ import java.util.List;
* @date 2019/6/27
*/
public interface StorePhotoService {
/**
* editStoreImage
* @Title: editStoreImage
* @Description:
* @author zhiwj
* @param enterpriseId
* @param storeInfoId
* @param photoList
* @param delPhotos
* @return void
* @throws
*/
void editStoreImage(Integer enterpriseId, Integer storeInfoId, List<StorePhotoDTO> photoList, List<Integer> delPhotos);
/**
* listStorePhoto
* @Title: listStorePhoto
* @Description:
* @author zhiwj
* @param enterpriseId
* @param storeInfoId
* @return java.util.List<com.gic.store.entity.TabStorePhoto>
* @throws
*/
List<TabStorePhoto> listStorePhoto(Integer enterpriseId, Integer storeInfoId);
}
......@@ -11,17 +11,91 @@ import java.util.List;
* @date 2019-09-23 14:06
*/
public interface StoreRegionRelService {
/**
* saveByOwner
* @Title: saveByOwner
* @Description:
* @author zhiwj
* @param enterpriseId
* @param regionId
* @return java.lang.Integer
* @throws
*/
Integer saveByOwner(Integer enterpriseId, Integer regionId);
/**
* saveByOther
* @Title: saveByOther
* @Description:
* @author zhiwj
* @param fromEnterpriseId
* @param enterpriseId
* @param regionId
* @return java.lang.Integer
* @throws
*/
Integer saveByOther(Integer fromEnterpriseId, Integer enterpriseId, Integer regionId);
/**
* validIsOwn
* @Title: validIsOwn
* @Description:
* @author zhiwj
* @param enterpriseId
* @param regionId
* @return boolean
* @throws
*/
boolean validIsOwn(Integer enterpriseId, Integer regionId);
/**
* listByAuthorize
* @Title: listByAuthorize
* @Description:
* @author zhiwj
* @param fromEnterpriseId
* @param toEnterpriseId
* @return java.util.List<java.lang.Integer>
* @throws
*/
List<Integer> listByAuthorize(Integer fromEnterpriseId, Integer toEnterpriseId);
/**
* delByRegionIds
* @Title: delByRegionIds
* @Description:
* @author zhiwj
* @param enterpriseId
* @param delRelList
* @param ownType
* @return void
* @throws
*/
void delByRegionIds(Integer enterpriseId, List<Integer> delRelList, Integer ownType);
/**
* getByRegionIdAndEnterpriseId
* @Title: getByRegionIdAndEnterpriseId
* @Description:
* @author zhiwj
* @param regionId
* @param enterpriseId
* @param ownType
* @return com.gic.store.entity.TabStoreRegionRel
* @throws
*/
TabStoreRegionRel getByRegionIdAndEnterpriseId(Integer regionId, Integer enterpriseId, int ownType);
/**
* updateStatusByOther
* @Title: updateStatusByOther
* @Description:
* @author zhiwj
* @param enterpriseId
* @param regionId
* @param status
* @return void
* @throws
*/
void updateStatusByOther(Integer enterpriseId, Integer regionId, int status);
}
......@@ -12,25 +12,140 @@ import java.util.List;
*/
public interface StoreRegionService {
/**
* countByRegionCode
* @Title: countByRegionCode
* @Description:
* @author zhiwj
* @param enterpriseId
* @param regionCode
* @return int
* @throws
*/
int countByRegionCode(Integer enterpriseId, String regionCode);
/**
* countByRegionName
* @Title: countByRegionName
* @Description:
* @author zhiwj
* @param enterpriseId
* @param regionName
* @param regionId
* @return int
* @throws
*/
int countByRegionName(Integer enterpriseId, String regionName, Integer regionId);
/**
* save
* @Title: save
* @Description:
* @author zhiwj
* @param enterpriseId
* @param regionCode
* @param regionName
* @return java.lang.Integer
* @throws
*/
Integer save(Integer enterpriseId, String regionCode, String regionName);
/**
* update
* @Title: update
* @Description:
* @author zhiwj
* @param regionId
* @param regionName
* @return int
* @throws
*/
int update(Integer regionId, String regionName);
/**
* listStoreRegion
* @Title: listStoreRegion
* @Description:
* @author zhiwj
* @param enterpriseId
* @param search
* @param pageNum
* @param pageSize
* @return com.github.pagehelper.Page<com.gic.store.dto.StoreRegionDTO>
* @throws
*/
Page<StoreRegionDTO> listStoreRegion(Integer enterpriseId, String search, Integer pageNum, Integer pageSize);
/**
* listStoreRegion
* @Title: listStoreRegion
* @Description:
* @author zhiwj
* @param enterpriseId
* @param search
* @param ownType
* @return java.util.List<com.gic.store.dto.StoreRegionDTO>
* @throws
*/
List<StoreRegionDTO> listStoreRegion(Integer enterpriseId, String search, Integer ownType);
/**
* listStoreRegion
* @Title: listStoreRegion
* @Description:
* @author zhiwj
* @param enterpriseId
* @return java.util.List<java.lang.Integer>
* @throws
*/
List<Integer> listStoreRegion(Integer enterpriseId);
/**
* getById
* @Title: getById
* @Description:
* @author zhiwj
* @param enterpriseId
* @param regionId
* @return com.gic.store.entity.TabStoreRegion
* @throws
*/
TabStoreRegion getById(Integer enterpriseId, Integer regionId);
/**
* listStoreRegionByIds
* @Title: listStoreRegionByIds
* @Description:
* @author zhiwj
* @param enterpriseId
* @param storeRegionIdList
* @param ownType
* @return java.util.List<com.gic.store.dto.StoreRegionDTO>
* @throws
*/
List<StoreRegionDTO> listStoreRegionByIds(Integer enterpriseId, List<Integer> storeRegionIdList, Integer ownType);
/**
* listStoreRegionByIds
* @Title: listStoreRegionByIds
* @Description:
* @author zhiwj
* @param enterpriseId
* @param storeRegionIdList
* @return java.util.List<com.gic.store.dto.StoreRegionDTO>
* @throws
*/
List<StoreRegionDTO> listStoreRegionByIds(Integer enterpriseId, List<Integer> storeRegionIdList);
/**
* getStoreRegionByRegionName
* @Title: getStoreRegionByRegionName
* @Description:
* @author zhiwj
* @param enterpriseId
* @param regionName
* @return com.gic.store.dto.StoreRegionDTO
* @throws
*/
StoreRegionDTO getStoreRegionByRegionName(Integer enterpriseId, String regionName);
}
......@@ -4,10 +4,45 @@ import com.gic.store.entity.TabStoreStatusSetting;
import java.util.List;
/**
*
* @ClassName: StoreStatusSettingService
* @Description:
* @author zhiwj
* @date 2020-09-09 17:54
*/
public interface StoreStatusSettingService {
/**
* saveSetting
* @Title: saveSetting
* @Description:
* @author zhiwj
* @param tabStoreStatusSetting
* @return boolean
* @throws
*/
boolean saveSetting(TabStoreStatusSetting tabStoreStatusSetting);
/**
* listTabStoreStatusSetting
* @Title: listTabStoreStatusSetting
* @Description:
* @author zhiwj
* @param enterpriseId
* @return java.util.List<com.gic.store.entity.TabStoreStatusSetting>
* @throws
*/
List<TabStoreStatusSetting> listTabStoreStatusSetting(Integer enterpriseId);
/**
* delete
* @Title: delete
* @Description:
* @author zhiwj
* @param enterpriseId
* @param id
* @return boolean
* @throws
*/
boolean delete(Integer enterpriseId, Integer id);
}
......@@ -5,13 +5,56 @@ import com.gic.store.entity.TabStoreTag;
import java.util.List;
/**
*
* @ClassName: StoreTagService
* @Description:
* @author zhiwj
* @date 2020-09-09 17:55
*/
public interface StoreTagService {
/**
* save
* @Title: save
* @Description:
* @author zhiwj
* @param dto
* @return java.lang.Integer
* @throws
*/
Integer save(StoreTagDTO dto);
/**
* update
* @Title: update
* @Description:
* @author zhiwj
* @param dto
* @return void
* @throws
*/
void update(StoreTagDTO dto);
/**
* getById
* @Title: getById
* @Description:
* @author zhiwj
* @param storeTagId
* @return com.gic.store.entity.TabStoreTag
* @throws
*/
TabStoreTag getById(Integer storeTagId);
/**
* listByEnterprise
* @Title: listByEnterprise
* @Description:
* @author zhiwj
* @param enterpriseId
* @return java.util.List<com.gic.store.entity.TabStoreTag>
* @throws
*/
List<TabStoreTag> listByEnterprise(Integer enterpriseId);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment