Commit f5b4c9ee by zhiwj

代码重新生成

parent fec26ba3
package com.gic.store.dao.mapper;
import com.gic.store.entity.TabGicEnterpriseLicense;
import com.gic.store.entity.TabEnterpriseLicense;
public interface EnterpriseLicenseMapper {
public interface TabEnterpriseLicenseMapper {
/**
* 根据主键删除
*
......@@ -17,7 +17,7 @@ public interface EnterpriseLicenseMapper {
* @param record 实体对象
* @return 更新条目数
*/
int insert(TabGicEnterpriseLicense record);
int insert(TabEnterpriseLicense record);
/**
* 动态插入一条记录
......@@ -25,7 +25,7 @@ public interface EnterpriseLicenseMapper {
* @param record 实体对象
* @return 更新条目数
*/
int insertSelective(TabGicEnterpriseLicense record);
int insertSelective(TabEnterpriseLicense record);
/**
* 根据主键查询
......@@ -33,7 +33,7 @@ public interface EnterpriseLicenseMapper {
* @param enterpriseLicenseId 主键
* @return 实体对象
*/
TabGicEnterpriseLicense selectByPrimaryKey(Integer enterpriseLicenseId);
TabEnterpriseLicense selectByPrimaryKey(Integer enterpriseLicenseId);
/**
* 根据主键动态更新记录
......@@ -41,7 +41,7 @@ public interface EnterpriseLicenseMapper {
* @param record 实体对象
* @return 更新条目数
*/
int updateByPrimaryKeySelective(TabGicEnterpriseLicense record);
int updateByPrimaryKeySelective(TabEnterpriseLicense record);
/**
* 根据主键更新记录
......@@ -49,5 +49,5 @@ public interface EnterpriseLicenseMapper {
* @param record 实体对象
* @return 更新条目数
*/
int updateByPrimaryKey(TabGicEnterpriseLicense record);
int updateByPrimaryKey(TabEnterpriseLicense record);
}
\ No newline at end of file
package com.gic.store.dao.mapper;
import com.gic.store.entity.TabGicEnterprise;
import com.gic.store.entity.TabEnterprise;
public interface EnterpriseMapper {
public interface TabEnterpriseMapper {
/**
* 根据主键删除
*
......@@ -17,7 +17,7 @@ public interface EnterpriseMapper {
* @param record 实体对象
* @return 更新条目数
*/
int insert(TabGicEnterprise record);
int insert(TabEnterprise record);
/**
* 动态插入一条记录
......@@ -25,7 +25,7 @@ public interface EnterpriseMapper {
* @param record 实体对象
* @return 更新条目数
*/
int insertSelective(TabGicEnterprise record);
int insertSelective(TabEnterprise record);
/**
* 根据主键查询
......@@ -33,7 +33,7 @@ public interface EnterpriseMapper {
* @param enterpriseId 主键
* @return 实体对象
*/
TabGicEnterprise selectByPrimaryKey(Integer enterpriseId);
TabEnterprise selectByPrimaryKey(Integer enterpriseId);
/**
* 根据主键动态更新记录
......@@ -41,7 +41,7 @@ public interface EnterpriseMapper {
* @param record 实体对象
* @return 更新条目数
*/
int updateByPrimaryKeySelective(TabGicEnterprise record);
int updateByPrimaryKeySelective(TabEnterprise record);
/**
* 根据主键更新记录
......@@ -49,5 +49,5 @@ public interface EnterpriseMapper {
* @param record 实体对象
* @return 更新条目数
*/
int updateByPrimaryKey(TabGicEnterprise record);
int updateByPrimaryKey(TabEnterprise record);
}
\ No newline at end of file
package com.gic.store.dao.mapper;
import com.gic.store.entity.TabGicEnterpriseVersion;
import com.gic.store.entity.TabEnterpriseVersion;
public interface EnterpriseVersionMapper {
public interface TabEnterpriseVersionMapper {
/**
* 根据主键删除
*
......@@ -17,7 +17,7 @@ public interface EnterpriseVersionMapper {
* @param record 实体对象
* @return 更新条目数
*/
int insert(TabGicEnterpriseVersion record);
int insert(TabEnterpriseVersion record);
/**
* 动态插入一条记录
......@@ -25,7 +25,7 @@ public interface EnterpriseVersionMapper {
* @param record 实体对象
* @return 更新条目数
*/
int insertSelective(TabGicEnterpriseVersion record);
int insertSelective(TabEnterpriseVersion record);
/**
* 根据主键查询
......@@ -33,7 +33,7 @@ public interface EnterpriseVersionMapper {
* @param enterpriseServiceId 主键
* @return 实体对象
*/
TabGicEnterpriseVersion selectByPrimaryKey(Integer enterpriseServiceId);
TabEnterpriseVersion selectByPrimaryKey(Integer enterpriseServiceId);
/**
* 根据主键动态更新记录
......@@ -41,7 +41,7 @@ public interface EnterpriseVersionMapper {
* @param record 实体对象
* @return 更新条目数
*/
int updateByPrimaryKeySelective(TabGicEnterpriseVersion record);
int updateByPrimaryKeySelective(TabEnterpriseVersion record);
/**
* 根据主键更新记录
......@@ -49,5 +49,5 @@ public interface EnterpriseVersionMapper {
* @param record 实体对象
* @return 更新条目数
*/
int updateByPrimaryKey(TabGicEnterpriseVersion record);
int updateByPrimaryKey(TabEnterpriseVersion record);
}
\ No newline at end of file
package com.gic.store.dao.mapper;
import com.gic.store.entity.TabGicStoreBrand;
import com.gic.store.entity.TabStoreBrand;
public interface StoreBrandMapper {
public interface TabStoreBrandMapper {
/**
* 根据主键删除
*
......@@ -17,7 +17,7 @@ public interface StoreBrandMapper {
* @param record 实体对象
* @return 更新条目数
*/
int insert(TabGicStoreBrand record);
int insert(TabStoreBrand record);
/**
* 动态插入一条记录
......@@ -25,7 +25,7 @@ public interface StoreBrandMapper {
* @param record 实体对象
* @return 更新条目数
*/
int insertSelective(TabGicStoreBrand record);
int insertSelective(TabStoreBrand record);
/**
* 根据主键查询
......@@ -33,7 +33,7 @@ public interface StoreBrandMapper {
* @param storeBrandId 主键
* @return 实体对象
*/
TabGicStoreBrand selectByPrimaryKey(Integer storeBrandId);
TabStoreBrand selectByPrimaryKey(Integer storeBrandId);
/**
* 根据主键动态更新记录
......@@ -41,7 +41,7 @@ public interface StoreBrandMapper {
* @param record 实体对象
* @return 更新条目数
*/
int updateByPrimaryKeySelective(TabGicStoreBrand record);
int updateByPrimaryKeySelective(TabStoreBrand record);
/**
* 根据主键更新记录
......@@ -49,5 +49,5 @@ public interface StoreBrandMapper {
* @param record 实体对象
* @return 更新条目数
*/
int updateByPrimaryKey(TabGicStoreBrand record);
int updateByPrimaryKey(TabStoreBrand record);
}
\ No newline at end of file
package com.gic.store.dao.mapper;
import com.gic.store.entity.TabGicStoreBusinessTime;
import com.gic.store.entity.TabStoreBusinessTime;
public interface StoreBusinessTimeMapper {
public interface TabStoreBusinessTimeMapper {
/**
* 根据主键删除
*
......@@ -17,7 +17,7 @@ public interface StoreBusinessTimeMapper {
* @param record 实体对象
* @return 更新条目数
*/
int insert(TabGicStoreBusinessTime record);
int insert(TabStoreBusinessTime record);
/**
* 动态插入一条记录
......@@ -25,7 +25,7 @@ public interface StoreBusinessTimeMapper {
* @param record 实体对象
* @return 更新条目数
*/
int insertSelective(TabGicStoreBusinessTime record);
int insertSelective(TabStoreBusinessTime record);
/**
* 根据主键查询
......@@ -33,7 +33,7 @@ public interface StoreBusinessTimeMapper {
* @param storeBusinessTimeId 主键
* @return 实体对象
*/
TabGicStoreBusinessTime selectByPrimaryKey(Integer storeBusinessTimeId);
TabStoreBusinessTime selectByPrimaryKey(Integer storeBusinessTimeId);
/**
* 根据主键动态更新记录
......@@ -41,7 +41,7 @@ public interface StoreBusinessTimeMapper {
* @param record 实体对象
* @return 更新条目数
*/
int updateByPrimaryKeySelective(TabGicStoreBusinessTime record);
int updateByPrimaryKeySelective(TabStoreBusinessTime record);
/**
* 根据主键更新记录
......@@ -49,5 +49,5 @@ public interface StoreBusinessTimeMapper {
* @param record 实体对象
* @return 更新条目数
*/
int updateByPrimaryKey(TabGicStoreBusinessTime record);
int updateByPrimaryKey(TabStoreBusinessTime record);
}
\ No newline at end of file
package com.gic.store.dao.mapper;
import com.gic.store.entity.TabGicStoreExtend;
import com.gic.store.entity.TabStoreExtend;
public interface StoreExtendMapper {
public interface TabStoreExtendMapper {
/**
* 根据主键删除
*
......@@ -17,7 +17,7 @@ public interface StoreExtendMapper {
* @param record 实体对象
* @return 更新条目数
*/
int insert(TabGicStoreExtend record);
int insert(TabStoreExtend record);
/**
* 动态插入一条记录
......@@ -25,7 +25,7 @@ public interface StoreExtendMapper {
* @param record 实体对象
* @return 更新条目数
*/
int insertSelective(TabGicStoreExtend record);
int insertSelective(TabStoreExtend record);
/**
* 根据主键查询
......@@ -33,7 +33,7 @@ public interface StoreExtendMapper {
* @param storeExtendId 主键
* @return 实体对象
*/
TabGicStoreExtend selectByPrimaryKey(Integer storeExtendId);
TabStoreExtend selectByPrimaryKey(Integer storeExtendId);
/**
* 根据主键动态更新记录
......@@ -41,7 +41,7 @@ public interface StoreExtendMapper {
* @param record 实体对象
* @return 更新条目数
*/
int updateByPrimaryKeySelective(TabGicStoreExtend record);
int updateByPrimaryKeySelective(TabStoreExtend record);
/**
* 根据主键更新记录
......@@ -49,5 +49,5 @@ public interface StoreExtendMapper {
* @param record 实体对象
* @return 更新条目数
*/
int updateByPrimaryKey(TabGicStoreExtend record);
int updateByPrimaryKey(TabStoreExtend record);
}
\ No newline at end of file
package com.gic.store.dao.mapper;
import com.gic.store.entity.TabGicStoreField;
import com.gic.store.entity.TabStoreField;
public interface StoreFieldMapper {
public interface TabStoreFieldMapper {
/**
* 根据主键删除
*
......@@ -17,7 +17,7 @@ public interface StoreFieldMapper {
* @param record 实体对象
* @return 更新条目数
*/
int insert(TabGicStoreField record);
int insert(TabStoreField record);
/**
* 动态插入一条记录
......@@ -25,7 +25,7 @@ public interface StoreFieldMapper {
* @param record 实体对象
* @return 更新条目数
*/
int insertSelective(TabGicStoreField record);
int insertSelective(TabStoreField record);
/**
* 根据主键查询
......@@ -33,7 +33,7 @@ public interface StoreFieldMapper {
* @param storeFieldId 主键
* @return 实体对象
*/
TabGicStoreField selectByPrimaryKey(Integer storeFieldId);
TabStoreField selectByPrimaryKey(Integer storeFieldId);
/**
* 根据主键动态更新记录
......@@ -41,7 +41,7 @@ public interface StoreFieldMapper {
* @param record 实体对象
* @return 更新条目数
*/
int updateByPrimaryKeySelective(TabGicStoreField record);
int updateByPrimaryKeySelective(TabStoreField record);
/**
* 根据主键更新记录
......@@ -49,5 +49,5 @@ public interface StoreFieldMapper {
* @param record 实体对象
* @return 更新条目数
*/
int updateByPrimaryKey(TabGicStoreField record);
int updateByPrimaryKey(TabStoreField record);
}
\ No newline at end of file
package com.gic.store.dao.mapper;
import com.gic.store.entity.TabGicStoreFieldSelect;
import com.gic.store.entity.TabStoreFieldSelect;
public interface StoreFieldSelectMapper {
public interface TabStoreFieldSelectMapper {
/**
* 根据主键删除
*
......@@ -17,7 +17,7 @@ public interface StoreFieldSelectMapper {
* @param record 实体对象
* @return 更新条目数
*/
int insert(TabGicStoreFieldSelect record);
int insert(TabStoreFieldSelect record);
/**
* 动态插入一条记录
......@@ -25,7 +25,7 @@ public interface StoreFieldSelectMapper {
* @param record 实体对象
* @return 更新条目数
*/
int insertSelective(TabGicStoreFieldSelect record);
int insertSelective(TabStoreFieldSelect record);
/**
* 根据主键查询
......@@ -33,7 +33,7 @@ public interface StoreFieldSelectMapper {
* @param storeFieldSelectId 主键
* @return 实体对象
*/
TabGicStoreFieldSelect selectByPrimaryKey(Integer storeFieldSelectId);
TabStoreFieldSelect selectByPrimaryKey(Integer storeFieldSelectId);
/**
* 根据主键动态更新记录
......@@ -41,7 +41,7 @@ public interface StoreFieldSelectMapper {
* @param record 实体对象
* @return 更新条目数
*/
int updateByPrimaryKeySelective(TabGicStoreFieldSelect record);
int updateByPrimaryKeySelective(TabStoreFieldSelect record);
/**
* 根据主键更新记录
......@@ -49,5 +49,5 @@ public interface StoreFieldSelectMapper {
* @param record 实体对象
* @return 更新条目数
*/
int updateByPrimaryKey(TabGicStoreFieldSelect record);
int updateByPrimaryKey(TabStoreFieldSelect record);
}
\ No newline at end of file
package com.gic.store.dao.mapper;
import com.gic.store.entity.TabGicStoreGroup;
import com.gic.store.entity.TabStoreGroup;
public interface StoreGroupMapper {
public interface TabStoreGroupMapper {
/**
* 根据主键删除
*
......@@ -17,7 +17,7 @@ public interface StoreGroupMapper {
* @param record 实体对象
* @return 更新条目数
*/
int insert(TabGicStoreGroup record);
int insert(TabStoreGroup record);
/**
* 动态插入一条记录
......@@ -25,7 +25,7 @@ public interface StoreGroupMapper {
* @param record 实体对象
* @return 更新条目数
*/
int insertSelective(TabGicStoreGroup record);
int insertSelective(TabStoreGroup record);
/**
* 根据主键查询
......@@ -33,7 +33,7 @@ public interface StoreGroupMapper {
* @param storeGroupId 主键
* @return 实体对象
*/
TabGicStoreGroup selectByPrimaryKey(Integer storeGroupId);
TabStoreGroup selectByPrimaryKey(Integer storeGroupId);
/**
* 根据主键动态更新记录
......@@ -41,7 +41,7 @@ public interface StoreGroupMapper {
* @param record 实体对象
* @return 更新条目数
*/
int updateByPrimaryKeySelective(TabGicStoreGroup record);
int updateByPrimaryKeySelective(TabStoreGroup record);
/**
* 根据主键更新记录
......@@ -49,5 +49,5 @@ public interface StoreGroupMapper {
* @param record 实体对象
* @return 更新条目数
*/
int updateByPrimaryKey(TabGicStoreGroup record);
int updateByPrimaryKey(TabStoreGroup record);
}
\ No newline at end of file
package com.gic.store.dao.mapper;
import com.gic.store.entity.TabGicStoreGroupRel;
import com.gic.store.entity.TabStoreGroupRel;
public interface StoreGroupRelMapper {
public interface TabStoreGroupRelMapper {
/**
* 根据主键删除
*
......@@ -17,7 +17,7 @@ public interface StoreGroupRelMapper {
* @param record 实体对象
* @return 更新条目数
*/
int insert(TabGicStoreGroupRel record);
int insert(TabStoreGroupRel record);
/**
* 动态插入一条记录
......@@ -25,7 +25,7 @@ public interface StoreGroupRelMapper {
* @param record 实体对象
* @return 更新条目数
*/
int insertSelective(TabGicStoreGroupRel record);
int insertSelective(TabStoreGroupRel record);
/**
* 根据主键查询
......@@ -33,7 +33,7 @@ public interface StoreGroupRelMapper {
* @param storeGroupRelId 主键
* @return 实体对象
*/
TabGicStoreGroupRel selectByPrimaryKey(Integer storeGroupRelId);
TabStoreGroupRel selectByPrimaryKey(Integer storeGroupRelId);
/**
* 根据主键动态更新记录
......@@ -41,7 +41,7 @@ public interface StoreGroupRelMapper {
* @param record 实体对象
* @return 更新条目数
*/
int updateByPrimaryKeySelective(TabGicStoreGroupRel record);
int updateByPrimaryKeySelective(TabStoreGroupRel record);
/**
* 根据主键更新记录
......@@ -49,5 +49,5 @@ public interface StoreGroupRelMapper {
* @param record 实体对象
* @return 更新条目数
*/
int updateByPrimaryKey(TabGicStoreGroupRel record);
int updateByPrimaryKey(TabStoreGroupRel record);
}
\ No newline at end of file
package com.gic.store.dao.mapper;
import com.gic.store.entity.TabGicStore;
import com.gic.store.entity.TabStore;
public interface StoreMapper {
public interface TabStoreMapper {
/**
* 根据主键删除
*
......@@ -17,7 +17,7 @@ public interface StoreMapper {
* @param record 实体对象
* @return 更新条目数
*/
int insert(TabGicStore record);
int insert(TabStore record);
/**
* 动态插入一条记录
......@@ -25,7 +25,7 @@ public interface StoreMapper {
* @param record 实体对象
* @return 更新条目数
*/
int insertSelective(TabGicStore record);
int insertSelective(TabStore record);
/**
* 根据主键查询
......@@ -33,7 +33,7 @@ public interface StoreMapper {
* @param storeId 主键
* @return 实体对象
*/
TabGicStore selectByPrimaryKey(Integer storeId);
TabStore selectByPrimaryKey(Integer storeId);
/**
* 根据主键动态更新记录
......@@ -41,7 +41,7 @@ public interface StoreMapper {
* @param record 实体对象
* @return 更新条目数
*/
int updateByPrimaryKeySelective(TabGicStore record);
int updateByPrimaryKeySelective(TabStore record);
/**
* 根据主键更新记录
......@@ -49,5 +49,5 @@ public interface StoreMapper {
* @param record 实体对象
* @return 更新条目数
*/
int updateByPrimaryKey(TabGicStore record);
int updateByPrimaryKey(TabStore record);
}
\ No newline at end of file
package com.gic.store.dao.mapper;
import com.gic.store.entity.TabGicStorePhoto;
import com.gic.store.entity.TabStorePhoto;
public interface StorePhotoMapper {
public interface TabStorePhotoMapper {
/**
* 根据主键删除
*
......@@ -17,7 +17,7 @@ public interface StorePhotoMapper {
* @param record 实体对象
* @return 更新条目数
*/
int insert(TabGicStorePhoto record);
int insert(TabStorePhoto record);
/**
* 动态插入一条记录
......@@ -25,7 +25,7 @@ public interface StorePhotoMapper {
* @param record 实体对象
* @return 更新条目数
*/
int insertSelective(TabGicStorePhoto record);
int insertSelective(TabStorePhoto record);
/**
* 根据主键查询
......@@ -33,7 +33,7 @@ public interface StorePhotoMapper {
* @param storePhotoId 主键
* @return 实体对象
*/
TabGicStorePhoto selectByPrimaryKey(Integer storePhotoId);
TabStorePhoto selectByPrimaryKey(Integer storePhotoId);
/**
* 根据主键动态更新记录
......@@ -41,7 +41,7 @@ public interface StorePhotoMapper {
* @param record 实体对象
* @return 更新条目数
*/
int updateByPrimaryKeySelective(TabGicStorePhoto record);
int updateByPrimaryKeySelective(TabStorePhoto record);
/**
* 根据主键更新记录
......@@ -49,5 +49,5 @@ public interface StorePhotoMapper {
* @param record 实体对象
* @return 更新条目数
*/
int updateByPrimaryKey(TabGicStorePhoto record);
int updateByPrimaryKey(TabStorePhoto record);
}
\ No newline at end of file
package com.gic.store.dao.mapper;
import com.gic.store.entity.TabGicStoreRegion;
import com.gic.store.entity.TabStoreRegion;
public interface StoreRegionMapper {
public interface TabStoreRegionMapper {
/**
* 根据主键删除
*
......@@ -17,7 +17,7 @@ public interface StoreRegionMapper {
* @param record 实体对象
* @return 更新条目数
*/
int insert(TabGicStoreRegion record);
int insert(TabStoreRegion record);
/**
* 动态插入一条记录
......@@ -25,7 +25,7 @@ public interface StoreRegionMapper {
* @param record 实体对象
* @return 更新条目数
*/
int insertSelective(TabGicStoreRegion record);
int insertSelective(TabStoreRegion record);
/**
* 根据主键查询
......@@ -33,7 +33,7 @@ public interface StoreRegionMapper {
* @param regionId 主键
* @return 实体对象
*/
TabGicStoreRegion selectByPrimaryKey(Integer regionId);
TabStoreRegion selectByPrimaryKey(Integer regionId);
/**
* 根据主键动态更新记录
......@@ -41,7 +41,7 @@ public interface StoreRegionMapper {
* @param record 实体对象
* @return 更新条目数
*/
int updateByPrimaryKeySelective(TabGicStoreRegion record);
int updateByPrimaryKeySelective(TabStoreRegion record);
/**
* 根据主键更新记录
......@@ -49,5 +49,5 @@ public interface StoreRegionMapper {
* @param record 实体对象
* @return 更新条目数
*/
int updateByPrimaryKey(TabGicStoreRegion record);
int updateByPrimaryKey(TabStoreRegion record);
}
\ No newline at end of file
package com.gic.store.dao.mapper;
import com.gic.store.entity.TabGicStoreStrategy;
import com.gic.store.entity.TabStoreStrategy;
public interface StoreStrategyMapper {
public interface TabStoreStrategyMapper {
/**
* 根据主键删除
*
......@@ -17,7 +17,7 @@ public interface StoreStrategyMapper {
* @param record 实体对象
* @return 更新条目数
*/
int insert(TabGicStoreStrategy record);
int insert(TabStoreStrategy record);
/**
* 动态插入一条记录
......@@ -25,7 +25,7 @@ public interface StoreStrategyMapper {
* @param record 实体对象
* @return 更新条目数
*/
int insertSelective(TabGicStoreStrategy record);
int insertSelective(TabStoreStrategy record);
/**
* 根据主键查询
......@@ -33,7 +33,7 @@ public interface StoreStrategyMapper {
* @param strategyId 主键
* @return 实体对象
*/
TabGicStoreStrategy selectByPrimaryKey(Integer strategyId);
TabStoreStrategy selectByPrimaryKey(Integer strategyId);
/**
* 根据主键动态更新记录
......@@ -41,7 +41,7 @@ public interface StoreStrategyMapper {
* @param record 实体对象
* @return 更新条目数
*/
int updateByPrimaryKeySelective(TabGicStoreStrategy record);
int updateByPrimaryKeySelective(TabStoreStrategy record);
/**
* 根据主键更新记录
......@@ -49,5 +49,5 @@ public interface StoreStrategyMapper {
* @param record 实体对象
* @return 更新条目数
*/
int updateByPrimaryKey(TabGicStoreStrategy record);
int updateByPrimaryKey(TabStoreStrategy record);
}
\ No newline at end of file
package com.gic.store.dao.mapper;
import com.gic.store.entity.TabGicStoreTmp;
import com.gic.store.entity.TabStoreTmp;
public interface StoreTmpMapper {
public interface TabStoreTmpMapper {
/**
* 根据主键删除
*
......@@ -17,7 +17,7 @@ public interface StoreTmpMapper {
* @param record 实体对象
* @return 更新条目数
*/
int insert(TabGicStoreTmp record);
int insert(TabStoreTmp record);
/**
* 动态插入一条记录
......@@ -25,7 +25,7 @@ public interface StoreTmpMapper {
* @param record 实体对象
* @return 更新条目数
*/
int insertSelective(TabGicStoreTmp record);
int insertSelective(TabStoreTmp record);
/**
* 根据主键查询
......@@ -33,7 +33,7 @@ public interface StoreTmpMapper {
* @param storeTmpId 主键
* @return 实体对象
*/
TabGicStoreTmp selectByPrimaryKey(Integer storeTmpId);
TabStoreTmp selectByPrimaryKey(Integer storeTmpId);
/**
* 根据主键动态更新记录
......@@ -41,7 +41,7 @@ public interface StoreTmpMapper {
* @param record 实体对象
* @return 更新条目数
*/
int updateByPrimaryKeySelective(TabGicStoreTmp record);
int updateByPrimaryKeySelective(TabStoreTmp record);
/**
* 根据主键更新记录
......@@ -49,5 +49,5 @@ public interface StoreTmpMapper {
* @param record 实体对象
* @return 更新条目数
*/
int updateByPrimaryKey(TabGicStoreTmp record);
int updateByPrimaryKey(TabStoreTmp record);
}
\ No newline at end of file
package com.gic.store.dao.mapper;
import com.gic.store.entity.TabGicUser;
import com.gic.store.entity.TabUser;
public interface UserMapper {
public interface TabUserMapper {
/**
* 根据主键删除
*
......@@ -17,7 +17,7 @@ public interface UserMapper {
* @param record 实体对象
* @return 更新条目数
*/
int insert(TabGicUser record);
int insert(TabUser record);
/**
* 动态插入一条记录
......@@ -25,7 +25,7 @@ public interface UserMapper {
* @param record 实体对象
* @return 更新条目数
*/
int insertSelective(TabGicUser record);
int insertSelective(TabUser record);
/**
* 根据主键查询
......@@ -33,7 +33,7 @@ public interface UserMapper {
* @param userId 主键
* @return 实体对象
*/
TabGicUser selectByPrimaryKey(Integer userId);
TabUser selectByPrimaryKey(Integer userId);
/**
* 根据主键动态更新记录
......@@ -41,7 +41,7 @@ public interface UserMapper {
* @param record 实体对象
* @return 更新条目数
*/
int updateByPrimaryKeySelective(TabGicUser record);
int updateByPrimaryKeySelective(TabUser record);
/**
* 根据主键更新记录
......@@ -49,5 +49,5 @@ public interface UserMapper {
* @param record 实体对象
* @return 更新条目数
*/
int updateByPrimaryKey(TabGicUser record);
int updateByPrimaryKey(TabUser record);
}
\ No newline at end of file
......@@ -3,9 +3,9 @@ package com.gic.store.entity;
import java.util.Date;
/**
* tab_gic_enterprise
* tab_enterprise
*/
public class TabGicEnterprise {
public class TabEnterprise {
/**
* 企业主键
*/
......
......@@ -3,9 +3,9 @@ package com.gic.store.entity;
import java.util.Date;
/**
* tab_gic_enterprise_license
* tab_enterprise_license
*/
public class TabGicEnterpriseLicense {
public class TabEnterpriseLicense {
/**
*
*/
......
......@@ -3,9 +3,9 @@ package com.gic.store.entity;
import java.util.Date;
/**
* tab_gic_enterprise_version
* tab_enterprise_version
*/
public class TabGicEnterpriseVersion {
public class TabEnterpriseVersion {
/**
*
*/
......
......@@ -3,9 +3,9 @@ package com.gic.store.entity;
import java.util.Date;
/**
* tab_gic_store
* tab_store
*/
public class TabGicStore {
public class TabStore {
/**
*
*/
......
......@@ -3,9 +3,9 @@ package com.gic.store.entity;
import java.util.Date;
/**
* tab_gic_store_brand
* tab_store_brand
*/
public class TabGicStoreBrand {
public class TabStoreBrand {
/**
*
*/
......
......@@ -3,9 +3,9 @@ package com.gic.store.entity;
import java.util.Date;
/**
* tab_gic_store_business_time
* tab_store_business_time
*/
public class TabGicStoreBusinessTime {
public class TabStoreBusinessTime {
/**
*
*/
......
......@@ -3,9 +3,9 @@ package com.gic.store.entity;
import java.util.Date;
/**
* tab_gic_store_extend
* tab_store_extend
*/
public class TabGicStoreExtend {
public class TabStoreExtend {
/**
*
*/
......
......@@ -3,9 +3,9 @@ package com.gic.store.entity;
import java.util.Date;
/**
* tab_gic_store_field
* tab_store_field
*/
public class TabGicStoreField {
public class TabStoreField {
/**
*
*/
......
......@@ -3,9 +3,9 @@ package com.gic.store.entity;
import java.util.Date;
/**
* tab_gic_store_field_select
* tab_store_field_select
*/
public class TabGicStoreFieldSelect {
public class TabStoreFieldSelect {
/**
*
*/
......
......@@ -3,9 +3,9 @@ package com.gic.store.entity;
import java.util.Date;
/**
* tab_gic_store_group
* tab_store_group
*/
public class TabGicStoreGroup {
public class TabStoreGroup {
/**
*
*/
......
......@@ -3,9 +3,9 @@ package com.gic.store.entity;
import java.util.Date;
/**
* tab_gic_store_group_rel
* tab_store_group_rel
*/
public class TabGicStoreGroupRel {
public class TabStoreGroupRel {
/**
*
*/
......
......@@ -3,9 +3,9 @@ package com.gic.store.entity;
import java.util.Date;
/**
* tab_gic_store_photo
* tab_store_photo
*/
public class TabGicStorePhoto {
public class TabStorePhoto {
/**
*
*/
......
......@@ -3,9 +3,9 @@ package com.gic.store.entity;
import java.util.Date;
/**
* tab_gic_store_region
* tab_store_region
*/
public class TabGicStoreRegion {
public class TabStoreRegion {
/**
*
*/
......
......@@ -3,9 +3,9 @@ package com.gic.store.entity;
import java.util.Date;
/**
* tab_gic_store_strategy
* tab_store_strategy
*/
public class TabGicStoreStrategy {
public class TabStoreStrategy {
/**
*
*/
......
......@@ -3,9 +3,9 @@ package com.gic.store.entity;
import java.util.Date;
/**
* tab_gic_store_tmp
* tab_store_tmp
*/
public class TabGicStoreTmp {
public class TabStoreTmp {
/**
*
*/
......
......@@ -3,9 +3,9 @@ package com.gic.store.entity;
import java.util.Date;
/**
* tab_gic_user
* tab_user
*/
public class TabGicUser {
public class TabUser {
/**
* 用户id
*/
......
package com.gic.store.service.impl;
import com.gic.api.base.commons.Page;
import com.gic.store.dao.mapper.TabStoreRegionMapper;
import com.gic.store.dto.StoreRegionDTO;
import com.gic.store.entity.TabStoreRegion;
import com.gic.store.service.StoreRegionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
/**
......@@ -12,6 +15,8 @@ import org.springframework.stereotype.Service;
@Service
public class StoreRegionServiceImpl implements StoreRegionService {
@Autowired
private TabStoreRegionMapper storeRegionMapper;
@Override
public int countByRegionCode(Integer enterpriseId, String regionCode) {
......@@ -35,6 +40,7 @@ public class StoreRegionServiceImpl implements StoreRegionService {
@Override
public Page<StoreRegionDTO> listStoreRegion(Integer enterpriseId, String search, Integer pageNum, Integer pageSize) {
TabStoreRegion tabGicStoreRegion = storeRegionMapper.selectByPrimaryKey(1);
return null;
}
}
......@@ -53,6 +53,8 @@ public class StoreRegionApiServiceImpl implements StoreRegionApiService {
@Override
public ServiceResponse<List<StoreRegionDTO>> listStoreRegion() {
Page<StoreRegionDTO> storeRegionDTOPage = storeRegionService.listStoreRegion(1, "1", 1, 1);
return null;
}
}
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.gic.store.dao.mapper.EnterpriseLicenseMapper">
<resultMap id="BaseResultMap" type="com.gic.store.entity.TabGicEnterpriseLicense">
<mapper namespace="com.gic.store.dao.mapper.TabEnterpriseLicenseMapper">
<resultMap id="BaseResultMap" type="com.gic.store.entity.TabEnterpriseLicense">
<id column="enterprise_license_id" jdbcType="INTEGER" property="enterpriseLicenseId" />
<result column="enterprise_id" jdbcType="INTEGER" property="enterpriseId" />
<result column="license_type" jdbcType="INTEGER" property="licenseType" />
......@@ -17,23 +17,23 @@
<select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
select
<include refid="Base_Column_List" />
from tab_gic_enterprise_license
from tab_enterprise_license
where enterprise_license_id = #{enterpriseLicenseId,jdbcType=INTEGER}
</select>
<delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
delete from tab_gic_enterprise_license
delete from tab_enterprise_license
where enterprise_license_id = #{enterpriseLicenseId,jdbcType=INTEGER}
</delete>
<insert id="insert" parameterType="com.gic.store.entity.TabGicEnterpriseLicense">
insert into tab_gic_enterprise_license (enterprise_license_id, enterprise_id,
<insert id="insert" parameterType="com.gic.store.entity.TabEnterpriseLicense">
insert into tab_enterprise_license (enterprise_license_id, enterprise_id,
license_type, lower_limit, upper_limit,
create_time, update_time)
values (#{enterpriseLicenseId,jdbcType=INTEGER}, #{enterpriseId,jdbcType=INTEGER},
#{licenseType,jdbcType=INTEGER}, #{lowerLimit,jdbcType=INTEGER}, #{upperLimit,jdbcType=INTEGER},
#{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP})
</insert>
<insert id="insertSelective" parameterType="com.gic.store.entity.TabGicEnterpriseLicense">
insert into tab_gic_enterprise_license
<insert id="insertSelective" parameterType="com.gic.store.entity.TabEnterpriseLicense">
insert into tab_enterprise_license
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="enterpriseLicenseId != null">
enterprise_license_id,
......@@ -81,8 +81,8 @@
</if>
</trim>
</insert>
<update id="updateByPrimaryKeySelective" parameterType="com.gic.store.entity.TabGicEnterpriseLicense">
update tab_gic_enterprise_license
<update id="updateByPrimaryKeySelective" parameterType="com.gic.store.entity.TabEnterpriseLicense">
update tab_enterprise_license
<set>
<if test="enterpriseId != null">
enterprise_id = #{enterpriseId,jdbcType=INTEGER},
......@@ -105,8 +105,8 @@
</set>
where enterprise_license_id = #{enterpriseLicenseId,jdbcType=INTEGER}
</update>
<update id="updateByPrimaryKey" parameterType="com.gic.store.entity.TabGicEnterpriseLicense">
update tab_gic_enterprise_license
<update id="updateByPrimaryKey" parameterType="com.gic.store.entity.TabEnterpriseLicense">
update tab_enterprise_license
set enterprise_id = #{enterpriseId,jdbcType=INTEGER},
license_type = #{licenseType,jdbcType=INTEGER},
lower_limit = #{lowerLimit,jdbcType=INTEGER},
......
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.gic.store.dao.mapper.EnterpriseMapper">
<resultMap id="BaseResultMap" type="com.gic.store.entity.TabGicEnterprise">
<mapper namespace="com.gic.store.dao.mapper.TabEnterpriseMapper">
<resultMap id="BaseResultMap" type="com.gic.store.entity.TabEnterprise">
<id column="enterprise_id" jdbcType="INTEGER" property="enterpriseId" />
<result column="enterprise_name" jdbcType="VARCHAR" property="enterpriseName" />
<result column="company_name" jdbcType="VARCHAR" property="companyName" />
......@@ -19,15 +19,15 @@
<select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
select
<include refid="Base_Column_List" />
from tab_gic_enterprise
from tab_enterprise
where enterprise_id = #{enterpriseId,jdbcType=INTEGER}
</select>
<delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
delete from tab_gic_enterprise
delete from tab_enterprise
where enterprise_id = #{enterpriseId,jdbcType=INTEGER}
</delete>
<insert id="insert" parameterType="com.gic.store.entity.TabGicEnterprise">
insert into tab_gic_enterprise (enterprise_id, enterprise_name, company_name,
<insert id="insert" parameterType="com.gic.store.entity.TabEnterprise">
insert into tab_enterprise (enterprise_id, enterprise_name, company_name,
logo, area_id, address,
status, create_time, update_time
)
......@@ -36,8 +36,8 @@
#{status,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}
)
</insert>
<insert id="insertSelective" parameterType="com.gic.store.entity.TabGicEnterprise">
insert into tab_gic_enterprise
<insert id="insertSelective" parameterType="com.gic.store.entity.TabEnterprise">
insert into tab_enterprise
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="enterpriseId != null">
enterprise_id,
......@@ -97,8 +97,8 @@
</if>
</trim>
</insert>
<update id="updateByPrimaryKeySelective" parameterType="com.gic.store.entity.TabGicEnterprise">
update tab_gic_enterprise
<update id="updateByPrimaryKeySelective" parameterType="com.gic.store.entity.TabEnterprise">
update tab_enterprise
<set>
<if test="enterpriseName != null">
enterprise_name = #{enterpriseName,jdbcType=VARCHAR},
......@@ -127,8 +127,8 @@
</set>
where enterprise_id = #{enterpriseId,jdbcType=INTEGER}
</update>
<update id="updateByPrimaryKey" parameterType="com.gic.store.entity.TabGicEnterprise">
update tab_gic_enterprise
<update id="updateByPrimaryKey" parameterType="com.gic.store.entity.TabEnterprise">
update tab_enterprise
set enterprise_name = #{enterpriseName,jdbcType=VARCHAR},
company_name = #{companyName,jdbcType=VARCHAR},
logo = #{logo,jdbcType=VARCHAR},
......
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.gic.store.dao.mapper.EnterpriseVersionMapper">
<resultMap id="BaseResultMap" type="com.gic.store.entity.TabGicEnterpriseVersion">
<mapper namespace="com.gic.store.dao.mapper.TabEnterpriseVersionMapper">
<resultMap id="BaseResultMap" type="com.gic.store.entity.TabEnterpriseVersion">
<id column="enterprise_service_id" jdbcType="INTEGER" property="enterpriseServiceId" />
<result column="service_code" jdbcType="VARCHAR" property="serviceCode" />
<result column="service_name" jdbcType="VARCHAR" property="serviceName" />
......@@ -21,15 +21,15 @@
<select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
select
<include refid="Base_Column_List" />
from tab_gic_enterprise_version
from tab_enterprise_version
where enterprise_service_id = #{enterpriseServiceId,jdbcType=INTEGER}
</select>
<delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
delete from tab_gic_enterprise_version
delete from tab_enterprise_version
where enterprise_service_id = #{enterpriseServiceId,jdbcType=INTEGER}
</delete>
<insert id="insert" parameterType="com.gic.store.entity.TabGicEnterpriseVersion">
insert into tab_gic_enterprise_version (enterprise_service_id, service_code,
<insert id="insert" parameterType="com.gic.store.entity.TabEnterpriseVersion">
insert into tab_enterprise_version (enterprise_service_id, service_code,
service_name, service_version, service_cycle,
audit_time, expiration_time, enterprise_id,
status, create_time, update_time
......@@ -40,8 +40,8 @@
#{status,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}
)
</insert>
<insert id="insertSelective" parameterType="com.gic.store.entity.TabGicEnterpriseVersion">
insert into tab_gic_enterprise_version
<insert id="insertSelective" parameterType="com.gic.store.entity.TabEnterpriseVersion">
insert into tab_enterprise_version
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="enterpriseServiceId != null">
enterprise_service_id,
......@@ -113,8 +113,8 @@
</if>
</trim>
</insert>
<update id="updateByPrimaryKeySelective" parameterType="com.gic.store.entity.TabGicEnterpriseVersion">
update tab_gic_enterprise_version
<update id="updateByPrimaryKeySelective" parameterType="com.gic.store.entity.TabEnterpriseVersion">
update tab_enterprise_version
<set>
<if test="serviceCode != null">
service_code = #{serviceCode,jdbcType=VARCHAR},
......@@ -149,8 +149,8 @@
</set>
where enterprise_service_id = #{enterpriseServiceId,jdbcType=INTEGER}
</update>
<update id="updateByPrimaryKey" parameterType="com.gic.store.entity.TabGicEnterpriseVersion">
update tab_gic_enterprise_version
<update id="updateByPrimaryKey" parameterType="com.gic.store.entity.TabEnterpriseVersion">
update tab_enterprise_version
set service_code = #{serviceCode,jdbcType=VARCHAR},
service_name = #{serviceName,jdbcType=VARCHAR},
service_version = #{serviceVersion,jdbcType=INTEGER},
......
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.gic.store.dao.mapper.StoreBrandMapper">
<resultMap id="BaseResultMap" type="com.gic.store.entity.TabGicStoreBrand">
<mapper namespace="com.gic.store.dao.mapper.TabStoreBrandMapper">
<resultMap id="BaseResultMap" type="com.gic.store.entity.TabStoreBrand">
<id column="store_brand_id" jdbcType="INTEGER" property="storeBrandId" />
<result column="store_brand_name" jdbcType="VARCHAR" property="storeBrandName" />
<result column="store_brand_category" jdbcType="VARCHAR" property="storeBrandCategory" />
......@@ -18,23 +18,23 @@
<select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
select
<include refid="Base_Column_List" />
from tab_gic_store_brand
from tab_store_brand
where store_brand_id = #{storeBrandId,jdbcType=INTEGER}
</select>
<delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
delete from tab_gic_store_brand
delete from tab_store_brand
where store_brand_id = #{storeBrandId,jdbcType=INTEGER}
</delete>
<insert id="insert" parameterType="com.gic.store.entity.TabGicStoreBrand">
insert into tab_gic_store_brand (store_brand_id, store_brand_name, store_brand_category,
<insert id="insert" parameterType="com.gic.store.entity.TabStoreBrand">
insert into tab_store_brand (store_brand_id, store_brand_name, store_brand_category,
sort, enterprise_id, status,
create_time, update_time)
values (#{storeBrandId,jdbcType=INTEGER}, #{storeBrandName,jdbcType=VARCHAR}, #{storeBrandCategory,jdbcType=VARCHAR},
#{sort,jdbcType=INTEGER}, #{enterpriseId,jdbcType=INTEGER}, #{status,jdbcType=INTEGER},
#{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP})
</insert>
<insert id="insertSelective" parameterType="com.gic.store.entity.TabGicStoreBrand">
insert into tab_gic_store_brand
<insert id="insertSelective" parameterType="com.gic.store.entity.TabStoreBrand">
insert into tab_store_brand
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="storeBrandId != null">
store_brand_id,
......@@ -88,8 +88,8 @@
</if>
</trim>
</insert>
<update id="updateByPrimaryKeySelective" parameterType="com.gic.store.entity.TabGicStoreBrand">
update tab_gic_store_brand
<update id="updateByPrimaryKeySelective" parameterType="com.gic.store.entity.TabStoreBrand">
update tab_store_brand
<set>
<if test="storeBrandName != null">
store_brand_name = #{storeBrandName,jdbcType=VARCHAR},
......@@ -115,8 +115,8 @@
</set>
where store_brand_id = #{storeBrandId,jdbcType=INTEGER}
</update>
<update id="updateByPrimaryKey" parameterType="com.gic.store.entity.TabGicStoreBrand">
update tab_gic_store_brand
<update id="updateByPrimaryKey" parameterType="com.gic.store.entity.TabStoreBrand">
update tab_store_brand
set store_brand_name = #{storeBrandName,jdbcType=VARCHAR},
store_brand_category = #{storeBrandCategory,jdbcType=VARCHAR},
sort = #{sort,jdbcType=INTEGER},
......
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.gic.store.dao.mapper.StoreBusinessTimeMapper">
<resultMap id="BaseResultMap" type="com.gic.store.entity.TabGicStoreBusinessTime">
<mapper namespace="com.gic.store.dao.mapper.TabStoreBusinessTimeMapper">
<resultMap id="BaseResultMap" type="com.gic.store.entity.TabStoreBusinessTime">
<id column="store_business_time_id" jdbcType="INTEGER" property="storeBusinessTimeId" />
<result column="weekday" jdbcType="VARCHAR" property="weekday" />
<result column="open_time" jdbcType="TIME" property="openTime" />
......@@ -16,23 +16,23 @@
<select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
select
<include refid="Base_Column_List" />
from tab_gic_store_business_time
from tab_store_business_time
where store_business_time_id = #{storeBusinessTimeId,jdbcType=INTEGER}
</select>
<delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
delete from tab_gic_store_business_time
delete from tab_store_business_time
where store_business_time_id = #{storeBusinessTimeId,jdbcType=INTEGER}
</delete>
<insert id="insert" parameterType="com.gic.store.entity.TabGicStoreBusinessTime">
insert into tab_gic_store_business_time (store_business_time_id, weekday, open_time,
<insert id="insert" parameterType="com.gic.store.entity.TabStoreBusinessTime">
insert into tab_store_business_time (store_business_time_id, weekday, open_time,
close_time, store_id, create_time,
update_time)
values (#{storeBusinessTimeId,jdbcType=INTEGER}, #{weekday,jdbcType=VARCHAR}, #{openTime,jdbcType=TIME},
#{closeTime,jdbcType=TIME}, #{storeId,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP},
#{updateTime,jdbcType=TIMESTAMP})
</insert>
<insert id="insertSelective" parameterType="com.gic.store.entity.TabGicStoreBusinessTime">
insert into tab_gic_store_business_time
<insert id="insertSelective" parameterType="com.gic.store.entity.TabStoreBusinessTime">
insert into tab_store_business_time
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="storeBusinessTimeId != null">
store_business_time_id,
......@@ -80,8 +80,8 @@
</if>
</trim>
</insert>
<update id="updateByPrimaryKeySelective" parameterType="com.gic.store.entity.TabGicStoreBusinessTime">
update tab_gic_store_business_time
<update id="updateByPrimaryKeySelective" parameterType="com.gic.store.entity.TabStoreBusinessTime">
update tab_store_business_time
<set>
<if test="weekday != null">
weekday = #{weekday,jdbcType=VARCHAR},
......@@ -104,8 +104,8 @@
</set>
where store_business_time_id = #{storeBusinessTimeId,jdbcType=INTEGER}
</update>
<update id="updateByPrimaryKey" parameterType="com.gic.store.entity.TabGicStoreBusinessTime">
update tab_gic_store_business_time
<update id="updateByPrimaryKey" parameterType="com.gic.store.entity.TabStoreBusinessTime">
update tab_store_business_time
set weekday = #{weekday,jdbcType=VARCHAR},
open_time = #{openTime,jdbcType=TIME},
close_time = #{closeTime,jdbcType=TIME},
......
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.gic.store.dao.mapper.StoreExtendMapper">
<resultMap id="BaseResultMap" type="com.gic.store.entity.TabGicStoreExtend">
<mapper namespace="com.gic.store.dao.mapper.TabStoreExtendMapper">
<resultMap id="BaseResultMap" type="com.gic.store.entity.TabStoreExtend">
<id column="store_extend_id" jdbcType="INTEGER" property="storeExtendId" />
<result column="store_id" jdbcType="INTEGER" property="storeId" />
<result column="enterprise_id" jdbcType="INTEGER" property="enterpriseId" />
......@@ -19,15 +19,15 @@
<select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
select
<include refid="Base_Column_List" />
from tab_gic_store_extend
from tab_store_extend
where store_extend_id = #{storeExtendId,jdbcType=INTEGER}
</select>
<delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
delete from tab_gic_store_extend
delete from tab_store_extend
where store_extend_id = #{storeExtendId,jdbcType=INTEGER}
</delete>
<insert id="insert" parameterType="com.gic.store.entity.TabGicStoreExtend">
insert into tab_gic_store_extend (store_extend_id, store_id, enterprise_id,
<insert id="insert" parameterType="com.gic.store.entity.TabStoreExtend">
insert into tab_store_extend (store_extend_id, store_id, enterprise_id,
store_field_id, value, sort,
create_time, update_time, is_search
)
......@@ -36,8 +36,8 @@
#{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, #{isSearch,jdbcType=INTEGER}
)
</insert>
<insert id="insertSelective" parameterType="com.gic.store.entity.TabGicStoreExtend">
insert into tab_gic_store_extend
<insert id="insertSelective" parameterType="com.gic.store.entity.TabStoreExtend">
insert into tab_store_extend
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="storeExtendId != null">
store_extend_id,
......@@ -97,8 +97,8 @@
</if>
</trim>
</insert>
<update id="updateByPrimaryKeySelective" parameterType="com.gic.store.entity.TabGicStoreExtend">
update tab_gic_store_extend
<update id="updateByPrimaryKeySelective" parameterType="com.gic.store.entity.TabStoreExtend">
update tab_store_extend
<set>
<if test="storeId != null">
store_id = #{storeId,jdbcType=INTEGER},
......@@ -127,8 +127,8 @@
</set>
where store_extend_id = #{storeExtendId,jdbcType=INTEGER}
</update>
<update id="updateByPrimaryKey" parameterType="com.gic.store.entity.TabGicStoreExtend">
update tab_gic_store_extend
<update id="updateByPrimaryKey" parameterType="com.gic.store.entity.TabStoreExtend">
update tab_store_extend
set store_id = #{storeId,jdbcType=INTEGER},
enterprise_id = #{enterpriseId,jdbcType=INTEGER},
store_field_id = #{storeFieldId,jdbcType=INTEGER},
......
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.gic.store.dao.mapper.StoreFieldMapper">
<resultMap id="BaseResultMap" type="com.gic.store.entity.TabGicStoreField">
<mapper namespace="com.gic.store.dao.mapper.TabStoreFieldMapper">
<resultMap id="BaseResultMap" type="com.gic.store.entity.TabStoreField">
<id column="store_field_id" jdbcType="INTEGER" property="storeFieldId" />
<result column="store_field_name" jdbcType="VARCHAR" property="storeFieldName" />
<result column="store_field_code" jdbcType="VARCHAR" property="storeFieldCode" />
......@@ -21,15 +21,15 @@
<select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
select
<include refid="Base_Column_List" />
from tab_gic_store_field
from tab_store_field
where store_field_id = #{storeFieldId,jdbcType=INTEGER}
</select>
<delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
delete from tab_gic_store_field
delete from tab_store_field
where store_field_id = #{storeFieldId,jdbcType=INTEGER}
</delete>
<insert id="insert" parameterType="com.gic.store.entity.TabGicStoreField">
insert into tab_gic_store_field (store_field_id, store_field_name, store_field_code,
<insert id="insert" parameterType="com.gic.store.entity.TabStoreField">
insert into tab_store_field (store_field_id, store_field_name, store_field_code,
store_field_type, enterprise_id, store_region_id,
status, create_time, update_time,
store_field_detail, erp_rel_code)
......@@ -38,8 +38,8 @@
#{status,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP},
#{storeFieldDetail,jdbcType=VARCHAR}, #{erpRelCode,jdbcType=VARCHAR})
</insert>
<insert id="insertSelective" parameterType="com.gic.store.entity.TabGicStoreField">
insert into tab_gic_store_field
<insert id="insertSelective" parameterType="com.gic.store.entity.TabStoreField">
insert into tab_store_field
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="storeFieldId != null">
store_field_id,
......@@ -111,8 +111,8 @@
</if>
</trim>
</insert>
<update id="updateByPrimaryKeySelective" parameterType="com.gic.store.entity.TabGicStoreField">
update tab_gic_store_field
<update id="updateByPrimaryKeySelective" parameterType="com.gic.store.entity.TabStoreField">
update tab_store_field
<set>
<if test="storeFieldName != null">
store_field_name = #{storeFieldName,jdbcType=VARCHAR},
......@@ -147,8 +147,8 @@
</set>
where store_field_id = #{storeFieldId,jdbcType=INTEGER}
</update>
<update id="updateByPrimaryKey" parameterType="com.gic.store.entity.TabGicStoreField">
update tab_gic_store_field
<update id="updateByPrimaryKey" parameterType="com.gic.store.entity.TabStoreField">
update tab_store_field
set store_field_name = #{storeFieldName,jdbcType=VARCHAR},
store_field_code = #{storeFieldCode,jdbcType=VARCHAR},
store_field_type = #{storeFieldType,jdbcType=INTEGER},
......
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.gic.store.dao.mapper.StoreFieldSelectMapper">
<resultMap id="BaseResultMap" type="com.gic.store.entity.TabGicStoreFieldSelect">
<mapper namespace="com.gic.store.dao.mapper.TabStoreFieldSelectMapper">
<resultMap id="BaseResultMap" type="com.gic.store.entity.TabStoreFieldSelect">
<id column="store_field_select_id" jdbcType="INTEGER" property="storeFieldSelectId" />
<result column="store_field_select_name" jdbcType="VARCHAR" property="storeFieldSelectName" />
<result column="store_field_select_code" jdbcType="VARCHAR" property="storeFieldSelectCode" />
......@@ -17,23 +17,23 @@
<select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
select
<include refid="Base_Column_List" />
from tab_gic_store_field_select
from tab_store_field_select
where store_field_select_id = #{storeFieldSelectId,jdbcType=INTEGER}
</select>
<delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
delete from tab_gic_store_field_select
delete from tab_store_field_select
where store_field_select_id = #{storeFieldSelectId,jdbcType=INTEGER}
</delete>
<insert id="insert" parameterType="com.gic.store.entity.TabGicStoreFieldSelect">
insert into tab_gic_store_field_select (store_field_select_id, store_field_select_name,
<insert id="insert" parameterType="com.gic.store.entity.TabStoreFieldSelect">
insert into tab_store_field_select (store_field_select_id, store_field_select_name,
store_field_select_code, enterprise_id, sort,
create_time, update_time)
values (#{storeFieldSelectId,jdbcType=INTEGER}, #{storeFieldSelectName,jdbcType=VARCHAR},
#{storeFieldSelectCode,jdbcType=VARCHAR}, #{enterpriseId,jdbcType=INTEGER}, #{sort,jdbcType=INTEGER},
#{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP})
</insert>
<insert id="insertSelective" parameterType="com.gic.store.entity.TabGicStoreFieldSelect">
insert into tab_gic_store_field_select
<insert id="insertSelective" parameterType="com.gic.store.entity.TabStoreFieldSelect">
insert into tab_store_field_select
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="storeFieldSelectId != null">
store_field_select_id,
......@@ -81,8 +81,8 @@
</if>
</trim>
</insert>
<update id="updateByPrimaryKeySelective" parameterType="com.gic.store.entity.TabGicStoreFieldSelect">
update tab_gic_store_field_select
<update id="updateByPrimaryKeySelective" parameterType="com.gic.store.entity.TabStoreFieldSelect">
update tab_store_field_select
<set>
<if test="storeFieldSelectName != null">
store_field_select_name = #{storeFieldSelectName,jdbcType=VARCHAR},
......@@ -105,8 +105,8 @@
</set>
where store_field_select_id = #{storeFieldSelectId,jdbcType=INTEGER}
</update>
<update id="updateByPrimaryKey" parameterType="com.gic.store.entity.TabGicStoreFieldSelect">
update tab_gic_store_field_select
<update id="updateByPrimaryKey" parameterType="com.gic.store.entity.TabStoreFieldSelect">
update tab_store_field_select
set store_field_select_name = #{storeFieldSelectName,jdbcType=VARCHAR},
store_field_select_code = #{storeFieldSelectCode,jdbcType=VARCHAR},
enterprise_id = #{enterpriseId,jdbcType=INTEGER},
......
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.gic.store.dao.mapper.StoreGroupMapper">
<resultMap id="BaseResultMap" type="com.gic.store.entity.TabGicStoreGroup">
<mapper namespace="com.gic.store.dao.mapper.TabStoreGroupMapper">
<resultMap id="BaseResultMap" type="com.gic.store.entity.TabStoreGroup">
<id column="store_group_id" jdbcType="INTEGER" property="storeGroupId" />
<result column="store_group_name" jdbcType="VARCHAR" property="storeGroupName" />
<result column="parent_store_group_id" jdbcType="INTEGER" property="parentStoreGroupId" />
......@@ -20,15 +20,15 @@
<select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
select
<include refid="Base_Column_List" />
from tab_gic_store_group
from tab_store_group
where store_group_id = #{storeGroupId,jdbcType=INTEGER}
</select>
<delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
delete from tab_gic_store_group
delete from tab_store_group
where store_group_id = #{storeGroupId,jdbcType=INTEGER}
</delete>
<insert id="insert" parameterType="com.gic.store.entity.TabGicStoreGroup">
insert into tab_gic_store_group (store_group_id, store_group_name, parent_store_group_id,
<insert id="insert" parameterType="com.gic.store.entity.TabStoreGroup">
insert into tab_store_group (store_group_id, store_group_name, parent_store_group_id,
enterprise_id, group_level, store_group_chain,
sort, status, create_time,
update_time)
......@@ -37,8 +37,8 @@
#{sort,jdbcType=INTEGER}, #{status,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP},
#{updateTime,jdbcType=TIMESTAMP})
</insert>
<insert id="insertSelective" parameterType="com.gic.store.entity.TabGicStoreGroup">
insert into tab_gic_store_group
<insert id="insertSelective" parameterType="com.gic.store.entity.TabStoreGroup">
insert into tab_store_group
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="storeGroupId != null">
store_group_id,
......@@ -104,8 +104,8 @@
</if>
</trim>
</insert>
<update id="updateByPrimaryKeySelective" parameterType="com.gic.store.entity.TabGicStoreGroup">
update tab_gic_store_group
<update id="updateByPrimaryKeySelective" parameterType="com.gic.store.entity.TabStoreGroup">
update tab_store_group
<set>
<if test="storeGroupName != null">
store_group_name = #{storeGroupName,jdbcType=VARCHAR},
......@@ -137,8 +137,8 @@
</set>
where store_group_id = #{storeGroupId,jdbcType=INTEGER}
</update>
<update id="updateByPrimaryKey" parameterType="com.gic.store.entity.TabGicStoreGroup">
update tab_gic_store_group
<update id="updateByPrimaryKey" parameterType="com.gic.store.entity.TabStoreGroup">
update tab_store_group
set store_group_name = #{storeGroupName,jdbcType=VARCHAR},
parent_store_group_id = #{parentStoreGroupId,jdbcType=INTEGER},
enterprise_id = #{enterpriseId,jdbcType=INTEGER},
......
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.gic.store.dao.mapper.StoreGroupRelMapper">
<resultMap id="BaseResultMap" type="com.gic.store.entity.TabGicStoreGroupRel">
<mapper namespace="com.gic.store.dao.mapper.TabStoreGroupRelMapper">
<resultMap id="BaseResultMap" type="com.gic.store.entity.TabStoreGroupRel">
<id column="store_group_rel_id" jdbcType="INTEGER" property="storeGroupRelId" />
<result column="enterprise_id" jdbcType="INTEGER" property="enterpriseId" />
<result column="store_id" jdbcType="INTEGER" property="storeId" />
......@@ -17,23 +17,23 @@
<select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
select
<include refid="Base_Column_List" />
from tab_gic_store_group_rel
from tab_store_group_rel
where store_group_rel_id = #{storeGroupRelId,jdbcType=INTEGER}
</select>
<delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
delete from tab_gic_store_group_rel
delete from tab_store_group_rel
where store_group_rel_id = #{storeGroupRelId,jdbcType=INTEGER}
</delete>
<insert id="insert" parameterType="com.gic.store.entity.TabGicStoreGroupRel">
insert into tab_gic_store_group_rel (store_group_rel_id, enterprise_id, store_id,
<insert id="insert" parameterType="com.gic.store.entity.TabStoreGroupRel">
insert into tab_store_group_rel (store_group_rel_id, enterprise_id, store_id,
store_group_id, status, create_time,
update_time)
values (#{storeGroupRelId,jdbcType=INTEGER}, #{enterpriseId,jdbcType=INTEGER}, #{storeId,jdbcType=INTEGER},
#{storeGroupId,jdbcType=INTEGER}, #{status,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP},
#{updateTime,jdbcType=TIMESTAMP})
</insert>
<insert id="insertSelective" parameterType="com.gic.store.entity.TabGicStoreGroupRel">
insert into tab_gic_store_group_rel
<insert id="insertSelective" parameterType="com.gic.store.entity.TabStoreGroupRel">
insert into tab_store_group_rel
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="storeGroupRelId != null">
store_group_rel_id,
......@@ -81,8 +81,8 @@
</if>
</trim>
</insert>
<update id="updateByPrimaryKeySelective" parameterType="com.gic.store.entity.TabGicStoreGroupRel">
update tab_gic_store_group_rel
<update id="updateByPrimaryKeySelective" parameterType="com.gic.store.entity.TabStoreGroupRel">
update tab_store_group_rel
<set>
<if test="enterpriseId != null">
enterprise_id = #{enterpriseId,jdbcType=INTEGER},
......@@ -105,8 +105,8 @@
</set>
where store_group_rel_id = #{storeGroupRelId,jdbcType=INTEGER}
</update>
<update id="updateByPrimaryKey" parameterType="com.gic.store.entity.TabGicStoreGroupRel">
update tab_gic_store_group_rel
<update id="updateByPrimaryKey" parameterType="com.gic.store.entity.TabStoreGroupRel">
update tab_store_group_rel
set enterprise_id = #{enterpriseId,jdbcType=INTEGER},
store_id = #{storeId,jdbcType=INTEGER},
store_group_id = #{storeGroupId,jdbcType=INTEGER},
......
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.gic.store.dao.mapper.StoreMapper">
<resultMap id="BaseResultMap" type="com.gic.store.entity.TabGicStore">
<mapper namespace="com.gic.store.dao.mapper.TabStoreMapper">
<resultMap id="BaseResultMap" type="com.gic.store.entity.TabStore">
<id column="store_id" jdbcType="INTEGER" property="storeId" />
<result column="enterprise_id" jdbcType="INTEGER" property="enterpriseId" />
<result column="store_name" jdbcType="VARCHAR" property="storeName" />
......@@ -29,15 +29,15 @@
<select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
select
<include refid="Base_Column_List" />
from tab_gic_store
from tab_store
where store_id = #{storeId,jdbcType=INTEGER}
</select>
<delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
delete from tab_gic_store
delete from tab_store
where store_id = #{storeId,jdbcType=INTEGER}
</delete>
<insert id="insert" parameterType="com.gic.store.entity.TabGicStore">
insert into tab_gic_store (store_id, enterprise_id, store_name,
<insert id="insert" parameterType="com.gic.store.entity.TabStore">
insert into tab_store (store_id, enterprise_id, store_name,
store_code, region_id, conacts_phone,
address, brand_ids, area_id,
longitude, latitude, overflow_status,
......@@ -52,8 +52,8 @@
#{storeGroupId,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}
)
</insert>
<insert id="insertSelective" parameterType="com.gic.store.entity.TabGicStore">
insert into tab_gic_store
<insert id="insertSelective" parameterType="com.gic.store.entity.TabStore">
insert into tab_store
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="storeId != null">
store_id,
......@@ -167,8 +167,8 @@
</if>
</trim>
</insert>
<update id="updateByPrimaryKeySelective" parameterType="com.gic.store.entity.TabGicStore">
update tab_gic_store
<update id="updateByPrimaryKeySelective" parameterType="com.gic.store.entity.TabStore">
update tab_store
<set>
<if test="enterpriseId != null">
enterprise_id = #{enterpriseId,jdbcType=INTEGER},
......@@ -224,8 +224,8 @@
</set>
where store_id = #{storeId,jdbcType=INTEGER}
</update>
<update id="updateByPrimaryKey" parameterType="com.gic.store.entity.TabGicStore">
update tab_gic_store
<update id="updateByPrimaryKey" parameterType="com.gic.store.entity.TabStore">
update tab_store
set enterprise_id = #{enterpriseId,jdbcType=INTEGER},
store_name = #{storeName,jdbcType=VARCHAR},
store_code = #{storeCode,jdbcType=VARCHAR},
......
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.gic.store.dao.mapper.StorePhotoMapper">
<resultMap id="BaseResultMap" type="com.gic.store.entity.TabGicStorePhoto">
<mapper namespace="com.gic.store.dao.mapper.TabStorePhotoMapper">
<resultMap id="BaseResultMap" type="com.gic.store.entity.TabStorePhoto">
<id column="store_photo_id" jdbcType="INTEGER" property="storePhotoId" />
<result column="store_id" jdbcType="INTEGER" property="storeId" />
<result column="enterprise_id" jdbcType="INTEGER" property="enterpriseId" />
......@@ -18,23 +18,23 @@
<select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
select
<include refid="Base_Column_List" />
from tab_gic_store_photo
from tab_store_photo
where store_photo_id = #{storePhotoId,jdbcType=INTEGER}
</select>
<delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
delete from tab_gic_store_photo
delete from tab_store_photo
where store_photo_id = #{storePhotoId,jdbcType=INTEGER}
</delete>
<insert id="insert" parameterType="com.gic.store.entity.TabGicStorePhoto">
insert into tab_gic_store_photo (store_photo_id, store_id, enterprise_id,
<insert id="insert" parameterType="com.gic.store.entity.TabStorePhoto">
insert into tab_store_photo (store_photo_id, store_id, enterprise_id,
image_code, image_url, sort,
create_time, update_time)
values (#{storePhotoId,jdbcType=INTEGER}, #{storeId,jdbcType=INTEGER}, #{enterpriseId,jdbcType=INTEGER},
#{imageCode,jdbcType=VARCHAR}, #{imageUrl,jdbcType=VARCHAR}, #{sort,jdbcType=INTEGER},
#{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP})
</insert>
<insert id="insertSelective" parameterType="com.gic.store.entity.TabGicStorePhoto">
insert into tab_gic_store_photo
<insert id="insertSelective" parameterType="com.gic.store.entity.TabStorePhoto">
insert into tab_store_photo
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="storePhotoId != null">
store_photo_id,
......@@ -88,8 +88,8 @@
</if>
</trim>
</insert>
<update id="updateByPrimaryKeySelective" parameterType="com.gic.store.entity.TabGicStorePhoto">
update tab_gic_store_photo
<update id="updateByPrimaryKeySelective" parameterType="com.gic.store.entity.TabStorePhoto">
update tab_store_photo
<set>
<if test="storeId != null">
store_id = #{storeId,jdbcType=INTEGER},
......@@ -115,8 +115,8 @@
</set>
where store_photo_id = #{storePhotoId,jdbcType=INTEGER}
</update>
<update id="updateByPrimaryKey" parameterType="com.gic.store.entity.TabGicStorePhoto">
update tab_gic_store_photo
<update id="updateByPrimaryKey" parameterType="com.gic.store.entity.TabStorePhoto">
update tab_store_photo
set store_id = #{storeId,jdbcType=INTEGER},
enterprise_id = #{enterpriseId,jdbcType=INTEGER},
image_code = #{imageCode,jdbcType=VARCHAR},
......
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.gic.store.dao.mapper.StoreRegionMapper">
<resultMap id="BaseResultMap" type="com.gic.store.entity.TabGicStoreRegion">
<mapper namespace="com.gic.store.dao.mapper.TabStoreRegionMapper">
<resultMap id="BaseResultMap" type="com.gic.store.entity.TabStoreRegion">
<id column="region_id" jdbcType="INTEGER" property="regionId" />
<result column="region_code" jdbcType="VARCHAR" property="regionCode" />
<result column="region_name" jdbcType="VARCHAR" property="regionName" />
......@@ -16,23 +16,23 @@
<select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
select
<include refid="Base_Column_List" />
from tab_gic_store_region
from tab_store_region
where region_id = #{regionId,jdbcType=INTEGER}
</select>
<delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
delete from tab_gic_store_region
delete from tab_store_region
where region_id = #{regionId,jdbcType=INTEGER}
</delete>
<insert id="insert" parameterType="com.gic.store.entity.TabGicStoreRegion">
insert into tab_gic_store_region (region_id, region_code, region_name,
<insert id="insert" parameterType="com.gic.store.entity.TabStoreRegion">
insert into tab_store_region (region_id, region_code, region_name,
status, create_time, update_time,
enterprise_id)
values (#{regionId,jdbcType=INTEGER}, #{regionCode,jdbcType=VARCHAR}, #{regionName,jdbcType=VARCHAR},
#{status,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP},
#{enterpriseId,jdbcType=INTEGER})
</insert>
<insert id="insertSelective" parameterType="com.gic.store.entity.TabGicStoreRegion">
insert into tab_gic_store_region
<insert id="insertSelective" parameterType="com.gic.store.entity.TabStoreRegion">
insert into tab_store_region
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="regionId != null">
region_id,
......@@ -80,8 +80,8 @@
</if>
</trim>
</insert>
<update id="updateByPrimaryKeySelective" parameterType="com.gic.store.entity.TabGicStoreRegion">
update tab_gic_store_region
<update id="updateByPrimaryKeySelective" parameterType="com.gic.store.entity.TabStoreRegion">
update tab_store_region
<set>
<if test="regionCode != null">
region_code = #{regionCode,jdbcType=VARCHAR},
......@@ -104,8 +104,8 @@
</set>
where region_id = #{regionId,jdbcType=INTEGER}
</update>
<update id="updateByPrimaryKey" parameterType="com.gic.store.entity.TabGicStoreRegion">
update tab_gic_store_region
<update id="updateByPrimaryKey" parameterType="com.gic.store.entity.TabStoreRegion">
update tab_store_region
set region_code = #{regionCode,jdbcType=VARCHAR},
region_name = #{regionName,jdbcType=VARCHAR},
status = #{status,jdbcType=INTEGER},
......
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.gic.store.dao.mapper.StoreStrategyMapper">
<resultMap id="BaseResultMap" type="com.gic.store.entity.TabGicStoreStrategy">
<mapper namespace="com.gic.store.dao.mapper.TabStoreStrategyMapper">
<resultMap id="BaseResultMap" type="com.gic.store.entity.TabStoreStrategy">
<id column="strategy_id" jdbcType="INTEGER" property="strategyId" />
<result column="startegy_name" jdbcType="VARCHAR" property="startegyName" />
<result column="enterprise_id" jdbcType="INTEGER" property="enterpriseId" />
......@@ -20,15 +20,15 @@
<select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
select
<include refid="Base_Column_List" />
from tab_gic_store_strategy
from tab_store_strategy
where strategy_id = #{strategyId,jdbcType=INTEGER}
</select>
<delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
delete from tab_gic_store_strategy
delete from tab_store_strategy
where strategy_id = #{strategyId,jdbcType=INTEGER}
</delete>
<insert id="insert" parameterType="com.gic.store.entity.TabGicStoreStrategy">
insert into tab_gic_store_strategy (strategy_id, startegy_name, enterprise_id,
<insert id="insert" parameterType="com.gic.store.entity.TabStoreStrategy">
insert into tab_store_strategy (strategy_id, startegy_name, enterprise_id,
store_region_id, condition, target_value,
create_time, update_time, status,
stategy_type)
......@@ -37,8 +37,8 @@
#{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, #{status,jdbcType=INTEGER},
#{stategyType,jdbcType=INTEGER})
</insert>
<insert id="insertSelective" parameterType="com.gic.store.entity.TabGicStoreStrategy">
insert into tab_gic_store_strategy
<insert id="insertSelective" parameterType="com.gic.store.entity.TabStoreStrategy">
insert into tab_store_strategy
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="strategyId != null">
strategy_id,
......@@ -104,8 +104,8 @@
</if>
</trim>
</insert>
<update id="updateByPrimaryKeySelective" parameterType="com.gic.store.entity.TabGicStoreStrategy">
update tab_gic_store_strategy
<update id="updateByPrimaryKeySelective" parameterType="com.gic.store.entity.TabStoreStrategy">
update tab_store_strategy
<set>
<if test="startegyName != null">
startegy_name = #{startegyName,jdbcType=VARCHAR},
......@@ -137,8 +137,8 @@
</set>
where strategy_id = #{strategyId,jdbcType=INTEGER}
</update>
<update id="updateByPrimaryKey" parameterType="com.gic.store.entity.TabGicStoreStrategy">
update tab_gic_store_strategy
<update id="updateByPrimaryKey" parameterType="com.gic.store.entity.TabStoreStrategy">
update tab_store_strategy
set startegy_name = #{startegyName,jdbcType=VARCHAR},
enterprise_id = #{enterpriseId,jdbcType=INTEGER},
store_region_id = #{storeRegionId,jdbcType=INTEGER},
......
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.gic.store.dao.mapper.StoreTmpMapper">
<resultMap id="BaseResultMap" type="com.gic.store.entity.TabGicStoreTmp">
<mapper namespace="com.gic.store.dao.mapper.TabStoreTmpMapper">
<resultMap id="BaseResultMap" type="com.gic.store.entity.TabStoreTmp">
<id column="store_tmp_id" jdbcType="INTEGER" property="storeTmpId" />
<result column="enterprise_id" jdbcType="INTEGER" property="enterpriseId" />
<result column="region_id" jdbcType="INTEGER" property="regionId" />
......@@ -30,15 +30,15 @@
<select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
select
<include refid="Base_Column_List" />
from tab_gic_store_tmp
from tab_store_tmp
where store_tmp_id = #{storeTmpId,jdbcType=INTEGER}
</select>
<delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
delete from tab_gic_store_tmp
delete from tab_store_tmp
where store_tmp_id = #{storeTmpId,jdbcType=INTEGER}
</delete>
<insert id="insert" parameterType="com.gic.store.entity.TabGicStoreTmp">
insert into tab_gic_store_tmp (store_tmp_id, enterprise_id, region_id,
<insert id="insert" parameterType="com.gic.store.entity.TabStoreTmp">
insert into tab_store_tmp (store_tmp_id, enterprise_id, region_id,
region_name, store_name, store_code,
conacts_phone, province, city,
county, area_id, address,
......@@ -53,8 +53,8 @@
#{state,jdbcType=INTEGER}, #{errorMessage,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP},
#{updateTime,jdbcType=TIMESTAMP})
</insert>
<insert id="insertSelective" parameterType="com.gic.store.entity.TabGicStoreTmp">
insert into tab_gic_store_tmp
<insert id="insertSelective" parameterType="com.gic.store.entity.TabStoreTmp">
insert into tab_store_tmp
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="storeTmpId != null">
store_tmp_id,
......@@ -174,8 +174,8 @@
</if>
</trim>
</insert>
<update id="updateByPrimaryKeySelective" parameterType="com.gic.store.entity.TabGicStoreTmp">
update tab_gic_store_tmp
<update id="updateByPrimaryKeySelective" parameterType="com.gic.store.entity.TabStoreTmp">
update tab_store_tmp
<set>
<if test="enterpriseId != null">
enterprise_id = #{enterpriseId,jdbcType=INTEGER},
......@@ -234,8 +234,8 @@
</set>
where store_tmp_id = #{storeTmpId,jdbcType=INTEGER}
</update>
<update id="updateByPrimaryKey" parameterType="com.gic.store.entity.TabGicStoreTmp">
update tab_gic_store_tmp
<update id="updateByPrimaryKey" parameterType="com.gic.store.entity.TabStoreTmp">
update tab_store_tmp
set enterprise_id = #{enterpriseId,jdbcType=INTEGER},
region_id = #{regionId,jdbcType=INTEGER},
region_name = #{regionName,jdbcType=VARCHAR},
......
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.gic.store.dao.mapper.UserMapper">
<resultMap id="BaseResultMap" type="com.gic.store.entity.TabGicUser">
<mapper namespace="com.gic.store.dao.mapper.TabUserMapper">
<resultMap id="BaseResultMap" type="com.gic.store.entity.TabUser">
<id column="user_id" jdbcType="INTEGER" property="userId" />
<result column="user_name" jdbcType="VARCHAR" property="userName" />
<result column="phone_number" jdbcType="VARCHAR" property="phoneNumber" />
......@@ -19,15 +19,15 @@
<select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
select
<include refid="Base_Column_List" />
from tab_gic_user
from tab_user
where user_id = #{userId,jdbcType=INTEGER}
</select>
<delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
delete from tab_gic_user
delete from tab_user
where user_id = #{userId,jdbcType=INTEGER}
</delete>
<insert id="insert" parameterType="com.gic.store.entity.TabGicUser">
insert into tab_gic_user (user_id, user_name, phone_number,
<insert id="insert" parameterType="com.gic.store.entity.TabUser">
insert into tab_user (user_id, user_name, phone_number,
password, super_admin, status,
create_time, update_time, enterprise_id
)
......@@ -36,8 +36,8 @@
#{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, #{enterpriseId,jdbcType=INTEGER}
)
</insert>
<insert id="insertSelective" parameterType="com.gic.store.entity.TabGicUser">
insert into tab_gic_user
<insert id="insertSelective" parameterType="com.gic.store.entity.TabUser">
insert into tab_user
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="userId != null">
user_id,
......@@ -97,8 +97,8 @@
</if>
</trim>
</insert>
<update id="updateByPrimaryKeySelective" parameterType="com.gic.store.entity.TabGicUser">
update tab_gic_user
<update id="updateByPrimaryKeySelective" parameterType="com.gic.store.entity.TabUser">
update tab_user
<set>
<if test="userName != null">
user_name = #{userName,jdbcType=VARCHAR},
......@@ -127,8 +127,8 @@
</set>
where user_id = #{userId,jdbcType=INTEGER}
</update>
<update id="updateByPrimaryKey" parameterType="com.gic.store.entity.TabGicUser">
update tab_gic_user
<update id="updateByPrimaryKey" parameterType="com.gic.store.entity.TabUser">
update tab_user
set user_name = #{userName,jdbcType=VARCHAR},
phone_number = #{phoneNumber,jdbcType=VARCHAR},
password = #{password,jdbcType=VARCHAR},
......
package com.gic.demo.single.web;
package com.gic.store.web;
import com.gic.dubbo.util.DubboContextUtil;
import org.springframework.boot.SpringApplication;
......
package com.gic.demo.single.web.qo;
package com.gic.store.web.qo;
import java.io.Serializable;
......
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