Commit e5c0959c by tyfanchz

引入通用Mapper和分页插件、生成通用业务代码、删除无用类和注释

1 parent dccb03f6
Showing 59 changed files with 133 additions and 395 deletions
...@@ -2,7 +2,6 @@ package com.glsx.smart.controller; ...@@ -2,7 +2,6 @@ package com.glsx.smart.controller;
import java.util.List; import java.util.List;
import com.glsx.smart.entity.SmartScense; import com.glsx.smart.entity.SmartScense;
import com.glsx.smart.entity.SmartScenseExample;
import com.glsx.smart.service.SmartScenseService; import com.glsx.smart.service.SmartScenseService;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestBody;
...@@ -25,7 +24,7 @@ public class SceneController { ...@@ -25,7 +24,7 @@ public class SceneController {
@RequestMapping(value = "/getList", method = {RequestMethod.GET, RequestMethod.POST}) @RequestMapping(value = "/getList", method = {RequestMethod.GET, RequestMethod.POST})
public List<SmartScense> getList(SmartScense scense) { public List<SmartScense> getList(SmartScense scense) {
return scenseService.selectByExample(new SmartScenseExample()); return scenseService.selectByExample(scense);
} }
@RequestMapping(value = "/getById", method = {RequestMethod.GET, RequestMethod.POST}) @RequestMapping(value = "/getById", method = {RequestMethod.GET, RequestMethod.POST})
......
...@@ -2,7 +2,6 @@ package com.glsx.smart.controller; ...@@ -2,7 +2,6 @@ package com.glsx.smart.controller;
import java.util.List; import java.util.List;
import com.glsx.smart.entity.SmartScenseTemplate; import com.glsx.smart.entity.SmartScenseTemplate;
import com.glsx.smart.entity.SmartScenseTemplateExample;
import com.glsx.smart.service.SmartScenseTemplateService; import com.glsx.smart.service.SmartScenseTemplateService;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestBody;
...@@ -24,7 +23,7 @@ public class SceneTemplateController { ...@@ -24,7 +23,7 @@ public class SceneTemplateController {
@RequestMapping(value = "/getList", method = {RequestMethod.GET, RequestMethod.POST}) @RequestMapping(value = "/getList", method = {RequestMethod.GET, RequestMethod.POST})
public List<SmartScenseTemplate> getList(SmartScenseTemplate scenseTemplate) { public List<SmartScenseTemplate> getList(SmartScenseTemplate scenseTemplate) {
return scenseTemplateService.selectByExample(new SmartScenseTemplateExample()); return scenseTemplateService.selectByExample(scenseTemplate);
} }
@RequestMapping(value = "/getById", method = {RequestMethod.GET, RequestMethod.POST}) @RequestMapping(value = "/getById", method = {RequestMethod.GET, RequestMethod.POST})
......
package com.glsx.smart.controller;
import java.util.List;
import com.glsx.smart.entity.SmartSysCode;
import com.glsx.smart.service.SmartSysCodeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;
/**
* <p>Description:
* <p>Project: chejia-smart
*
* @author wbh
* @date 2021-03-15
*/
@RestController
@RequestMapping("/sysCode")
public class SysCodeController {
@Autowired
private SmartSysCodeService sysCodeService;
@RequestMapping(value = "/getList", method = {RequestMethod.GET, RequestMethod.POST})
public List<SmartSysCode> getList(SmartSysCode sysCode) {
return sysCodeService.selectByExample(sysCode);
}
}
...@@ -14,35 +14,12 @@ import org.apache.ibatis.annotations.Param; ...@@ -14,35 +14,12 @@ import org.apache.ibatis.annotations.Param;
*/ */
@Mapper @Mapper
public interface SmartDevideStatusMapper extends tk.mybatis.mapper.common.Mapper<SmartDevideStatus> { public interface SmartDevideStatusMapper
//long countByExample(SmartDevideStatusExample example); extends tk.mybatis.mapper.common.Mapper<SmartDevideStatus> {
//
//int deleteByExample(SmartDevideStatusExample example);
//
//int deleteByPrimaryKey(Integer id);
//
//int insert(SmartDevideStatus record);
int insertOrUpdate(SmartDevideStatus record); int insertOrUpdate(SmartDevideStatus record);
int insertOrUpdateSelective(SmartDevideStatus record); int insertOrUpdateSelective(SmartDevideStatus record);
//int insertSelective(SmartDevideStatus record);
//
//List<SmartDevideStatus> selectByExample(SmartDevideStatusExample example);
//
//SmartDevideStatus selectByPrimaryKey(Integer id);
//
//int updateByExampleSelective(@Param("record") SmartDevideStatus record,
// @Param("example") SmartDevideStatusExample example);
//
//int updateByExample(@Param("record") SmartDevideStatus record,
// @Param("example") SmartDevideStatusExample example);
//
//int updateByPrimaryKeySelective(SmartDevideStatus record);
//
//int updateByPrimaryKey(SmartDevideStatus record);
int updateBatch(List<SmartDevideStatus> list); int updateBatch(List<SmartDevideStatus> list);
int updateBatchSelective(List<SmartDevideStatus> list); int updateBatchSelective(List<SmartDevideStatus> list);
......
...@@ -15,38 +15,10 @@ import org.apache.ibatis.annotations.Param; ...@@ -15,38 +15,10 @@ import org.apache.ibatis.annotations.Param;
@Mapper @Mapper
public interface SmartProductMapper extends tk.mybatis.mapper.common.Mapper<SmartProduct> { public interface SmartProductMapper extends tk.mybatis.mapper.common.Mapper<SmartProduct> {
//long countByExample(SmartProductExample example);
//
//int deleteByExample(SmartProductExample example);
//
//int deleteByPrimaryKey(Long id);
//
//@Override
//int insert(SmartProduct record);
int insertOrUpdate(SmartProduct record); int insertOrUpdate(SmartProduct record);
int insertOrUpdateSelective(SmartProduct record); int insertOrUpdateSelective(SmartProduct record);
//@Override
//int insertSelective(SmartProduct record);
//
//List<SmartProduct> selectByExample(SmartProductExample example);
//
//SmartProduct selectByPrimaryKey(Long id);
//
//int updateByExampleSelective(@Param("record") SmartProduct record,
// @Param("example") SmartProductExample example);
//
//int updateByExample(@Param("record") SmartProduct record,
// @Param("example") SmartProductExample example);
//
//@Override
//int updateByPrimaryKeySelective(SmartProduct record);
//
//@Override
//int updateByPrimaryKey(SmartProduct record);
int updateBatch(List<SmartProduct> list); int updateBatch(List<SmartProduct> list);
int updateBatchSelective(List<SmartProduct> list); int updateBatchSelective(List<SmartProduct> list);
......
...@@ -15,34 +15,10 @@ import org.apache.ibatis.annotations.Param; ...@@ -15,34 +15,10 @@ import org.apache.ibatis.annotations.Param;
@Mapper @Mapper
public interface SmartProductTypeMapper extends tk.mybatis.mapper.common.Mapper<SmartProductType> { public interface SmartProductTypeMapper extends tk.mybatis.mapper.common.Mapper<SmartProductType> {
//long countByExample(SmartProductTypeExample example);
//
//int deleteByExample(SmartProductTypeExample example);
//
//int deleteByPrimaryKey(Long id);
//
//int insert(SmartProductType record);
int insertOrUpdate(SmartProductType record); int insertOrUpdate(SmartProductType record);
int insertOrUpdateSelective(SmartProductType record); int insertOrUpdateSelective(SmartProductType record);
//int insertSelective(SmartProductType record);
//
//List<SmartProductType> selectByExample(SmartProductTypeExample example);
//
//SmartProductType selectByPrimaryKey(Long id);
//
//int updateByExampleSelective(@Param("record") SmartProductType record,
// @Param("example") SmartProductTypeExample example);
//
//int updateByExample(@Param("record") SmartProductType record,
// @Param("example") SmartProductTypeExample example);
//
//int updateByPrimaryKeySelective(SmartProductType record);
//
//int updateByPrimaryKey(SmartProductType record);
int updateBatch(List<SmartProductType> list); int updateBatch(List<SmartProductType> list);
int updateBatchSelective(List<SmartProductType> list); int updateBatchSelective(List<SmartProductType> list);
......
...@@ -16,34 +16,10 @@ import org.apache.ibatis.annotations.Param; ...@@ -16,34 +16,10 @@ import org.apache.ibatis.annotations.Param;
@Mapper @Mapper
public interface SmartProductTypeParamMapper public interface SmartProductTypeParamMapper
extends tk.mybatis.mapper.common.Mapper<SmartProductTypeParam> { extends tk.mybatis.mapper.common.Mapper<SmartProductTypeParam> {
//long countByExample(SmartProductTypeParamExample example);
//
//int deleteByExample(SmartProductTypeParamExample example);
//
//int deleteByPrimaryKey(Long id);
//
//int insert(SmartProductTypeParam record);
int insertOrUpdate(SmartProductTypeParam record); int insertOrUpdate(SmartProductTypeParam record);
int insertOrUpdateSelective(SmartProductTypeParam record); int insertOrUpdateSelective(SmartProductTypeParam record);
//int insertSelective(SmartProductTypeParam record);
//
//List<SmartProductTypeParam> selectByExample(SmartProductTypeParamExample example);
//
//SmartProductTypeParam selectByPrimaryKey(Long id);
//
//int updateByExampleSelective(@Param("record") SmartProductTypeParam record,
// @Param("example") SmartProductTypeParamExample example);
//
//int updateByExample(@Param("record") SmartProductTypeParam record,
// @Param("example") SmartProductTypeParamExample example);
//
//int updateByPrimaryKeySelective(SmartProductTypeParam record);
//
//int updateByPrimaryKey(SmartProductTypeParam record);
int updateBatch(List<SmartProductTypeParam> list); int updateBatch(List<SmartProductTypeParam> list);
int updateBatchSelective(List<SmartProductTypeParam> list); int updateBatchSelective(List<SmartProductTypeParam> list);
......
...@@ -15,34 +15,10 @@ import org.apache.ibatis.annotations.Param; ...@@ -15,34 +15,10 @@ import org.apache.ibatis.annotations.Param;
@Mapper @Mapper
public interface SmartScenseDataMapper extends tk.mybatis.mapper.common.Mapper<SmartScenseData> { public interface SmartScenseDataMapper extends tk.mybatis.mapper.common.Mapper<SmartScenseData> {
//long countByExample(SmartScenseDataExample example);
//
//int deleteByExample(SmartScenseDataExample example);
//
//int deleteByPrimaryKey(Long id);
//
//int insert(SmartScenseData record);
int insertOrUpdate(SmartScenseData record); int insertOrUpdate(SmartScenseData record);
int insertOrUpdateSelective(SmartScenseData record); int insertOrUpdateSelective(SmartScenseData record);
//int insertSelective(SmartScenseData record);
//
//List<SmartScenseData> selectByExample(SmartScenseDataExample example);
//
//SmartScenseData selectByPrimaryKey(Long id);
//
//int updateByExampleSelective(@Param("record") SmartScenseData record,
// @Param("example") SmartScenseDataExample example);
//
//int updateByExample(@Param("record") SmartScenseData record,
// @Param("example") SmartScenseDataExample example);
//
//int updateByPrimaryKeySelective(SmartScenseData record);
//
//int updateByPrimaryKey(SmartScenseData record);
int updateBatch(List<SmartScenseData> list); int updateBatch(List<SmartScenseData> list);
int updateBatchSelective(List<SmartScenseData> list); int updateBatchSelective(List<SmartScenseData> list);
......
...@@ -15,34 +15,10 @@ import org.apache.ibatis.annotations.Param; ...@@ -15,34 +15,10 @@ import org.apache.ibatis.annotations.Param;
@Mapper @Mapper
public interface SmartScenseMapper extends tk.mybatis.mapper.common.Mapper<SmartScense> { public interface SmartScenseMapper extends tk.mybatis.mapper.common.Mapper<SmartScense> {
//long countByExample(SmartScenseExample example);
//
//int deleteByExample(SmartScenseExample example);
//
//int deleteByPrimaryKey(Long id);
//
//int insert(SmartScense record);
int insertOrUpdate(SmartScense record); int insertOrUpdate(SmartScense record);
int insertOrUpdateSelective(SmartScense record); int insertOrUpdateSelective(SmartScense record);
//int insertSelective(SmartScense record);
//
//List<SmartScense> selectByExample(SmartScenseExample example);
//
//SmartScense selectByPrimaryKey(Long id);
//
//int updateByExampleSelective(@Param("record") SmartScense record,
// @Param("example") SmartScenseExample example);
//
//int updateByExample(@Param("record") SmartScense record,
// @Param("example") SmartScenseExample example);
//
//int updateByPrimaryKeySelective(SmartScense record);
//
//int updateByPrimaryKey(SmartScense record);
int updateBatch(List<SmartScense> list); int updateBatch(List<SmartScense> list);
int updateBatchSelective(List<SmartScense> list); int updateBatchSelective(List<SmartScense> list);
......
...@@ -16,34 +16,10 @@ import org.apache.ibatis.annotations.Param; ...@@ -16,34 +16,10 @@ import org.apache.ibatis.annotations.Param;
@Mapper @Mapper
public interface SmartScenseTemplateMapper public interface SmartScenseTemplateMapper
extends tk.mybatis.mapper.common.Mapper<SmartScenseTemplate> { extends tk.mybatis.mapper.common.Mapper<SmartScenseTemplate> {
//long countByExample(SmartScenseTemplateExample example);
//
//int deleteByExample(SmartScenseTemplateExample example);
//
//int deleteByPrimaryKey(Long id);
//
//int insert(SmartScenseTemplate record);
int insertOrUpdate(SmartScenseTemplate record); int insertOrUpdate(SmartScenseTemplate record);
int insertOrUpdateSelective(SmartScenseTemplate record); int insertOrUpdateSelective(SmartScenseTemplate record);
//int insertSelective(SmartScenseTemplate record);
//
//List<SmartScenseTemplate> selectByExample(SmartScenseTemplateExample example);
//
//SmartScenseTemplate selectByPrimaryKey(Long id);
//
//int updateByExampleSelective(@Param("record") SmartScenseTemplate record,
// @Param("example") SmartScenseTemplateExample example);
//
//int updateByExample(@Param("record") SmartScenseTemplate record,
// @Param("example") SmartScenseTemplateExample example);
//
//int updateByPrimaryKeySelective(SmartScenseTemplate record);
//
//int updateByPrimaryKey(SmartScenseTemplate record);
int updateBatch(List<SmartScenseTemplate> list); int updateBatch(List<SmartScenseTemplate> list);
int updateBatchSelective(List<SmartScenseTemplate> list); int updateBatchSelective(List<SmartScenseTemplate> list);
......
...@@ -15,34 +15,10 @@ import org.apache.ibatis.annotations.Param; ...@@ -15,34 +15,10 @@ import org.apache.ibatis.annotations.Param;
@Mapper @Mapper
public interface SmartSysCodeMapper extends tk.mybatis.mapper.common.Mapper<SmartSysCode> { public interface SmartSysCodeMapper extends tk.mybatis.mapper.common.Mapper<SmartSysCode> {
//long countByExample(SmartSysCodeExample example);
//
//int deleteByExample(SmartSysCodeExample example);
//
//int deleteByPrimaryKey(Long id);
//
//int insert(SmartSysCode record);
int insertOrUpdate(SmartSysCode record); int insertOrUpdate(SmartSysCode record);
int insertOrUpdateSelective(SmartSysCode record); int insertOrUpdateSelective(SmartSysCode record);
//int insertSelective(SmartSysCode record);
//
//List<SmartSysCode> selectByExample(SmartSysCodeExample example);
//
//SmartSysCode selectByPrimaryKey(Long id);
//
//int updateByExampleSelective(@Param("record") SmartSysCode record,
// @Param("example") SmartSysCodeExample example);
//
//int updateByExample(@Param("record") SmartSysCode record,
// @Param("example") SmartSysCodeExample example);
//
//int updateByPrimaryKeySelective(SmartSysCode record);
//
//int updateByPrimaryKey(SmartSysCode record);
int updateBatch(List<SmartSysCode> list); int updateBatch(List<SmartSysCode> list);
int updateBatchSelective(List<SmartSysCode> list); int updateBatchSelective(List<SmartSysCode> list);
......
...@@ -15,34 +15,10 @@ import org.apache.ibatis.annotations.Param; ...@@ -15,34 +15,10 @@ import org.apache.ibatis.annotations.Param;
@Mapper @Mapper
public interface SmartSysFileMapper extends tk.mybatis.mapper.common.Mapper<SmartSysFile> { public interface SmartSysFileMapper extends tk.mybatis.mapper.common.Mapper<SmartSysFile> {
//long countByExample(SmartSysFileExample example);
//
//int deleteByExample(SmartSysFileExample example);
//
//int deleteByPrimaryKey(Long id);
//
//int insert(SmartSysFile record);
int insertOrUpdate(SmartSysFile record); int insertOrUpdate(SmartSysFile record);
int insertOrUpdateSelective(SmartSysFile record); int insertOrUpdateSelective(SmartSysFile record);
//int insertSelective(SmartSysFile record);
//
//List<SmartSysFile> selectByExample(SmartSysFileExample example);
//
//SmartSysFile selectByPrimaryKey(Long id);
//
//int updateByExampleSelective(@Param("record") SmartSysFile record,
// @Param("example") SmartSysFileExample example);
//
//int updateByExample(@Param("record") SmartSysFile record,
// @Param("example") SmartSysFileExample example);
//
//int updateByPrimaryKeySelective(SmartSysFile record);
//
//int updateByPrimaryKey(SmartSysFile record);
int updateBatch(List<SmartSysFile> list); int updateBatch(List<SmartSysFile> list);
int updateBatchSelective(List<SmartSysFile> list); int updateBatchSelective(List<SmartSysFile> list);
......
...@@ -16,34 +16,10 @@ import org.apache.ibatis.annotations.Param; ...@@ -16,34 +16,10 @@ import org.apache.ibatis.annotations.Param;
@Mapper @Mapper
public interface SmartTemplateParamMapper public interface SmartTemplateParamMapper
extends tk.mybatis.mapper.common.Mapper<SmartTemplateParam> { extends tk.mybatis.mapper.common.Mapper<SmartTemplateParam> {
//long countByExample(SmartTemplateParamExample example);
//
//int deleteByExample(SmartTemplateParamExample example);
//
//int deleteByPrimaryKey(Long id);
//
//int insert(SmartTemplateParam record);
int insertOrUpdate(SmartTemplateParam record); int insertOrUpdate(SmartTemplateParam record);
int insertOrUpdateSelective(SmartTemplateParam record); int insertOrUpdateSelective(SmartTemplateParam record);
//int insertSelective(SmartTemplateParam record);
//
//List<SmartTemplateParam> selectByExample(SmartTemplateParamExample example);
//
//SmartTemplateParam selectByPrimaryKey(Long id);
//
//int updateByExampleSelective(@Param("record") SmartTemplateParam record,
// @Param("example") SmartTemplateParamExample example);
//
//int updateByExample(@Param("record") SmartTemplateParam record,
// @Param("example") SmartTemplateParamExample example);
//
//int updateByPrimaryKeySelective(SmartTemplateParam record);
//
//int updateByPrimaryKey(SmartTemplateParam record);
int updateBatch(List<SmartTemplateParam> list); int updateBatch(List<SmartTemplateParam> list);
int updateBatchSelective(List<SmartTemplateParam> list); int updateBatchSelective(List<SmartTemplateParam> list);
......
...@@ -16,34 +16,10 @@ import org.apache.ibatis.annotations.Param; ...@@ -16,34 +16,10 @@ import org.apache.ibatis.annotations.Param;
@Mapper @Mapper
public interface SmartUserRelationMapper public interface SmartUserRelationMapper
extends tk.mybatis.mapper.common.Mapper<SmartUserRelation> { extends tk.mybatis.mapper.common.Mapper<SmartUserRelation> {
//long countByExample(SmartUserRelationExample example);
//
//int deleteByExample(SmartUserRelationExample example);
//
//int deleteByPrimaryKey(Long id);
//
//int insert(SmartUserRelation record);
int insertOrUpdate(SmartUserRelation record); int insertOrUpdate(SmartUserRelation record);
int insertOrUpdateSelective(SmartUserRelation record); int insertOrUpdateSelective(SmartUserRelation record);
//int insertSelective(SmartUserRelation record);
//
//List<SmartUserRelation> selectByExample(SmartUserRelationExample example);
//
//SmartUserRelation selectByPrimaryKey(Long id);
//
//int updateByExampleSelective(@Param("record") SmartUserRelation record,
// @Param("example") SmartUserRelationExample example);
//
//int updateByExample(@Param("record") SmartUserRelation record,
// @Param("example") SmartUserRelationExample example);
//
//int updateByPrimaryKeySelective(SmartUserRelation record);
//
//int updateByPrimaryKey(SmartUserRelation record);
int updateBatch(List<SmartUserRelation> list); int updateBatch(List<SmartUserRelation> list);
int updateBatchSelective(List<SmartUserRelation> list); int updateBatchSelective(List<SmartUserRelation> list);
......
...@@ -3,14 +3,14 @@ package com.glsx.smart.service; ...@@ -3,14 +3,14 @@ package com.glsx.smart.service;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
/** /**
* @author deployer name
* @version V1.0
* @Title: DemoService.java * @Title: DemoService.java
* @Description: * @Description:
* @author deployer name
* @version V1.0
* @Company: Didihu.com.cn * @Company: Didihu.com.cn
* @Copyright Copyright (c) 2017 * @Copyright Copyright (c) 2017
*/ */
@Service @Service
public class DemoService { public class DemoService {
} }
...@@ -2,8 +2,8 @@ package com.glsx.smart.service; ...@@ -2,8 +2,8 @@ package com.glsx.smart.service;
import java.util.List; import java.util.List;
import com.glsx.smart.entity.SmartDevideStatus; import com.glsx.smart.entity.SmartDevideStatus;
import com.glsx.smart.entity.SmartDevideStatusExample;
/** /**
* <p>Description: * <p>Description:
* <p>Project: chejia-smart * <p>Project: chejia-smart
* *
...@@ -11,9 +11,8 @@ import com.glsx.smart.entity.SmartDevideStatusExample; ...@@ -11,9 +11,8 @@ import com.glsx.smart.entity.SmartDevideStatusExample;
* @date 2021-03-15 * @date 2021-03-15
*/ */
public interface SmartDevideStatusService{ public interface SmartDevideStatusService {
int deleteByExample(SmartDevideStatus example);
int deleteByExample(SmartDevideStatusExample example);
int deleteByPrimaryKey(Integer id); int deleteByPrimaryKey(Integer id);
...@@ -25,13 +24,13 @@ public interface SmartDevideStatusService{ ...@@ -25,13 +24,13 @@ public interface SmartDevideStatusService{
int insertSelective(SmartDevideStatus record); int insertSelective(SmartDevideStatus record);
List<SmartDevideStatus> selectByExample(SmartDevideStatusExample example); List<SmartDevideStatus> selectByExample(SmartDevideStatus example);
SmartDevideStatus selectByPrimaryKey(Integer id); SmartDevideStatus selectByPrimaryKey(Integer id);
int updateByExampleSelective(SmartDevideStatus record,SmartDevideStatusExample example); int updateByExampleSelective(SmartDevideStatus record, SmartDevideStatus example);
int updateByExample(SmartDevideStatus record,SmartDevideStatusExample example); int updateByExample(SmartDevideStatus record, SmartDevideStatus example);
int updateByPrimaryKeySelective(SmartDevideStatus record); int updateByPrimaryKeySelective(SmartDevideStatus record);
......
...@@ -2,7 +2,6 @@ package com.glsx.smart.service; ...@@ -2,7 +2,6 @@ package com.glsx.smart.service;
import java.util.List; import java.util.List;
import com.glsx.smart.entity.SmartProduct; import com.glsx.smart.entity.SmartProduct;
import com.glsx.smart.entity.SmartProductExample;
/** /**
* <p>Description: * <p>Description:
...@@ -28,9 +27,9 @@ public interface SmartProductService { ...@@ -28,9 +27,9 @@ public interface SmartProductService {
void putOff(Long id); void putOff(Long id);
long countByExample(SmartProductExample example); long countByExample(SmartProduct example);
int deleteByExample(SmartProductExample example); int deleteByExample(SmartProduct example);
int deleteByPrimaryKey(Long id); int deleteByPrimaryKey(Long id);
...@@ -42,13 +41,13 @@ public interface SmartProductService { ...@@ -42,13 +41,13 @@ public interface SmartProductService {
int insertSelective(SmartProduct record); int insertSelective(SmartProduct record);
List<SmartProduct> selectByExample(SmartProductExample example); List<SmartProduct> selectByExample(SmartProduct example);
SmartProduct selectByPrimaryKey(Long id); SmartProduct selectByPrimaryKey(Long id);
int updateByExampleSelective(SmartProduct record, SmartProductExample example); int updateByExampleSelective(SmartProduct record, SmartProduct example);
int updateByExample(SmartProduct record, SmartProductExample example); int updateByExample(SmartProduct record, SmartProduct example);
int updateByPrimaryKeySelective(SmartProduct record); int updateByPrimaryKeySelective(SmartProduct record);
......
...@@ -2,7 +2,6 @@ package com.glsx.smart.service; ...@@ -2,7 +2,6 @@ package com.glsx.smart.service;
import java.util.List; import java.util.List;
import com.glsx.smart.entity.SmartProductTypeParam; import com.glsx.smart.entity.SmartProductTypeParam;
import com.glsx.smart.entity.SmartProductTypeParamExample;
/** /**
* <p>Description: * <p>Description:
...@@ -13,7 +12,7 @@ import com.glsx.smart.entity.SmartProductTypeParamExample; ...@@ -13,7 +12,7 @@ import com.glsx.smart.entity.SmartProductTypeParamExample;
*/ */
public interface SmartProductTypeParamService { public interface SmartProductTypeParamService {
int deleteByExample(SmartProductTypeParamExample example); int deleteByExample(SmartProductTypeParam example);
int deleteByPrimaryKey(Long id); int deleteByPrimaryKey(Long id);
...@@ -25,14 +24,14 @@ public interface SmartProductTypeParamService { ...@@ -25,14 +24,14 @@ public interface SmartProductTypeParamService {
int insertSelective(SmartProductTypeParam record); int insertSelective(SmartProductTypeParam record);
List<SmartProductTypeParam> selectByExample(SmartProductTypeParamExample example); List<SmartProductTypeParam> selectByExample(SmartProductTypeParam example);
SmartProductTypeParam selectByPrimaryKey(Long id); SmartProductTypeParam selectByPrimaryKey(Long id);
int updateByExampleSelective(SmartProductTypeParam record, int updateByExampleSelective(SmartProductTypeParam record,
SmartProductTypeParamExample example); SmartProductTypeParam example);
int updateByExample(SmartProductTypeParam record, SmartProductTypeParamExample example); int updateByExample(SmartProductTypeParam record, SmartProductTypeParam example);
int updateByPrimaryKeySelective(SmartProductTypeParam record); int updateByPrimaryKeySelective(SmartProductTypeParam record);
......
...@@ -2,7 +2,6 @@ package com.glsx.smart.service; ...@@ -2,7 +2,6 @@ package com.glsx.smart.service;
import java.util.List; import java.util.List;
import com.glsx.smart.entity.SmartProductType; import com.glsx.smart.entity.SmartProductType;
import com.glsx.smart.entity.SmartProductTypeExample;
/** /**
* <p>Description: * <p>Description:
...@@ -22,7 +21,7 @@ public interface SmartProductTypeService { ...@@ -22,7 +21,7 @@ public interface SmartProductTypeService {
List<String> getShopTagList(); List<String> getShopTagList();
int deleteByExample(SmartProductTypeExample example); int deleteByExample(SmartProductType example);
int deleteByPrimaryKey(Long id); int deleteByPrimaryKey(Long id);
...@@ -34,13 +33,13 @@ public interface SmartProductTypeService { ...@@ -34,13 +33,13 @@ public interface SmartProductTypeService {
int insertSelective(SmartProductType record); int insertSelective(SmartProductType record);
List<SmartProductType> selectByExample(SmartProductTypeExample example); List<SmartProductType> selectByExample(SmartProductType example);
SmartProductType selectByPrimaryKey(Long id); SmartProductType selectByPrimaryKey(Long id);
int updateByExampleSelective(SmartProductType record, SmartProductTypeExample example); int updateByExampleSelective(SmartProductType record, SmartProductType example);
int updateByExample(SmartProductType record, SmartProductTypeExample example); int updateByExample(SmartProductType record, SmartProductType example);
int updateByPrimaryKeySelective(SmartProductType record); int updateByPrimaryKeySelective(SmartProductType record);
......
...@@ -2,7 +2,6 @@ package com.glsx.smart.service; ...@@ -2,7 +2,6 @@ package com.glsx.smart.service;
import java.util.List; import java.util.List;
import com.glsx.smart.entity.SmartScenseData; import com.glsx.smart.entity.SmartScenseData;
import com.glsx.smart.entity.SmartScenseDataExample;
/** /**
* <p>Description: * <p>Description:
...@@ -13,7 +12,7 @@ import com.glsx.smart.entity.SmartScenseDataExample; ...@@ -13,7 +12,7 @@ import com.glsx.smart.entity.SmartScenseDataExample;
*/ */
public interface SmartScenseDataService { public interface SmartScenseDataService {
int deleteByExample(SmartScenseDataExample example); int deleteByExample(SmartScenseData example);
int deleteByPrimaryKey(Long id); int deleteByPrimaryKey(Long id);
...@@ -25,13 +24,13 @@ public interface SmartScenseDataService { ...@@ -25,13 +24,13 @@ public interface SmartScenseDataService {
int insertSelective(SmartScenseData record); int insertSelective(SmartScenseData record);
List<SmartScenseData> selectByExample(SmartScenseDataExample example); List<SmartScenseData> selectByExample(SmartScenseData example);
SmartScenseData selectByPrimaryKey(Long id); SmartScenseData selectByPrimaryKey(Long id);
int updateByExampleSelective(SmartScenseData record, SmartScenseDataExample example); int updateByExampleSelective(SmartScenseData record, SmartScenseData example);
int updateByExample(SmartScenseData record, SmartScenseDataExample example); int updateByExample(SmartScenseData record, SmartScenseData example);
int updateByPrimaryKeySelective(SmartScenseData record); int updateByPrimaryKeySelective(SmartScenseData record);
......
...@@ -2,7 +2,6 @@ package com.glsx.smart.service; ...@@ -2,7 +2,6 @@ package com.glsx.smart.service;
import java.util.List; import java.util.List;
import com.glsx.smart.entity.SmartScense; import com.glsx.smart.entity.SmartScense;
import com.glsx.smart.entity.SmartScenseExample;
/** /**
* <p>Description: * <p>Description:
...@@ -13,7 +12,7 @@ import com.glsx.smart.entity.SmartScenseExample; ...@@ -13,7 +12,7 @@ import com.glsx.smart.entity.SmartScenseExample;
*/ */
public interface SmartScenseService { public interface SmartScenseService {
int deleteByExample(SmartScenseExample example); int deleteByExample(SmartScense example);
int deleteByPrimaryKey(Long id); int deleteByPrimaryKey(Long id);
...@@ -25,13 +24,13 @@ public interface SmartScenseService { ...@@ -25,13 +24,13 @@ public interface SmartScenseService {
int insertSelective(SmartScense record); int insertSelective(SmartScense record);
List<SmartScense> selectByExample(SmartScenseExample example); List<SmartScense> selectByExample(SmartScense example);
SmartScense selectByPrimaryKey(Long id); SmartScense selectByPrimaryKey(Long id);
int updateByExampleSelective(SmartScense record, SmartScenseExample example); int updateByExampleSelective(SmartScense record, SmartScense example);
int updateByExample(SmartScense record, SmartScenseExample example); int updateByExample(SmartScense record, SmartScense example);
int updateByPrimaryKeySelective(SmartScense record); int updateByPrimaryKeySelective(SmartScense record);
......
...@@ -2,7 +2,6 @@ package com.glsx.smart.service; ...@@ -2,7 +2,6 @@ package com.glsx.smart.service;
import java.util.List; import java.util.List;
import com.glsx.smart.entity.SmartScenseTemplate; import com.glsx.smart.entity.SmartScenseTemplate;
import com.glsx.smart.entity.SmartScenseTemplateExample;
/** /**
* <p>Description: * <p>Description:
...@@ -13,7 +12,7 @@ import com.glsx.smart.entity.SmartScenseTemplateExample; ...@@ -13,7 +12,7 @@ import com.glsx.smart.entity.SmartScenseTemplateExample;
*/ */
public interface SmartScenseTemplateService { public interface SmartScenseTemplateService {
int deleteByExample(SmartScenseTemplateExample example); int deleteByExample(SmartScenseTemplate example);
int deleteByPrimaryKey(Long id); int deleteByPrimaryKey(Long id);
...@@ -25,13 +24,13 @@ public interface SmartScenseTemplateService { ...@@ -25,13 +24,13 @@ public interface SmartScenseTemplateService {
int insertSelective(SmartScenseTemplate record); int insertSelective(SmartScenseTemplate record);
List<SmartScenseTemplate> selectByExample(SmartScenseTemplateExample example); List<SmartScenseTemplate> selectByExample(SmartScenseTemplate example);
SmartScenseTemplate selectByPrimaryKey(Long id); SmartScenseTemplate selectByPrimaryKey(Long id);
int updateByExampleSelective(SmartScenseTemplate record, SmartScenseTemplateExample example); int updateByExampleSelective(SmartScenseTemplate record, SmartScenseTemplate example);
int updateByExample(SmartScenseTemplate record, SmartScenseTemplateExample example); int updateByExample(SmartScenseTemplate record, SmartScenseTemplate example);
int updateByPrimaryKeySelective(SmartScenseTemplate record); int updateByPrimaryKeySelective(SmartScenseTemplate record);
......
...@@ -2,7 +2,6 @@ package com.glsx.smart.service; ...@@ -2,7 +2,6 @@ package com.glsx.smart.service;
import java.util.List; import java.util.List;
import com.glsx.smart.entity.SmartSysCode; import com.glsx.smart.entity.SmartSysCode;
import com.glsx.smart.entity.SmartSysCodeExample;
/** /**
* <p>Description: * <p>Description:
...@@ -13,7 +12,7 @@ import com.glsx.smart.entity.SmartSysCodeExample; ...@@ -13,7 +12,7 @@ import com.glsx.smart.entity.SmartSysCodeExample;
*/ */
public interface SmartSysCodeService { public interface SmartSysCodeService {
int deleteByExample(SmartSysCodeExample example); int deleteByExample(SmartSysCode example);
int deleteByPrimaryKey(Long id); int deleteByPrimaryKey(Long id);
...@@ -25,13 +24,13 @@ public interface SmartSysCodeService { ...@@ -25,13 +24,13 @@ public interface SmartSysCodeService {
int insertSelective(SmartSysCode record); int insertSelective(SmartSysCode record);
List<SmartSysCode> selectByExample(SmartSysCodeExample example); List<SmartSysCode> selectByExample(SmartSysCode example);
SmartSysCode selectByPrimaryKey(Long id); SmartSysCode selectByPrimaryKey(Long id);
int updateByExampleSelective(SmartSysCode record, SmartSysCodeExample example); int updateByExampleSelective(SmartSysCode record, SmartSysCode example);
int updateByExample(SmartSysCode record, SmartSysCodeExample example); int updateByExample(SmartSysCode record, SmartSysCode example);
int updateByPrimaryKeySelective(SmartSysCode record); int updateByPrimaryKeySelective(SmartSysCode record);
......
...@@ -2,7 +2,6 @@ package com.glsx.smart.service; ...@@ -2,7 +2,6 @@ package com.glsx.smart.service;
import java.util.List; import java.util.List;
import com.glsx.smart.entity.SmartSysFile; import com.glsx.smart.entity.SmartSysFile;
import com.glsx.smart.entity.SmartSysFileExample;
/** /**
* <p>Description: * <p>Description:
...@@ -13,7 +12,7 @@ import com.glsx.smart.entity.SmartSysFileExample; ...@@ -13,7 +12,7 @@ import com.glsx.smart.entity.SmartSysFileExample;
*/ */
public interface SmartSysFileService { public interface SmartSysFileService {
int deleteByExample(SmartSysFileExample example); int deleteByExample(SmartSysFile example);
int deleteByPrimaryKey(Long id); int deleteByPrimaryKey(Long id);
...@@ -25,13 +24,13 @@ public interface SmartSysFileService { ...@@ -25,13 +24,13 @@ public interface SmartSysFileService {
int insertSelective(SmartSysFile record); int insertSelective(SmartSysFile record);
List<SmartSysFile> selectByExample(SmartSysFileExample example); List<SmartSysFile> selectByExample(SmartSysFile example);
SmartSysFile selectByPrimaryKey(Long id); SmartSysFile selectByPrimaryKey(Long id);
int updateByExampleSelective(SmartSysFile record, SmartSysFileExample example); int updateByExampleSelective(SmartSysFile record, SmartSysFile example);
int updateByExample(SmartSysFile record, SmartSysFileExample example); int updateByExample(SmartSysFile record, SmartSysFile example);
int updateByPrimaryKeySelective(SmartSysFile record); int updateByPrimaryKeySelective(SmartSysFile record);
......
...@@ -2,7 +2,6 @@ package com.glsx.smart.service; ...@@ -2,7 +2,6 @@ package com.glsx.smart.service;
import java.util.List; import java.util.List;
import com.glsx.smart.entity.SmartTemplateParam; import com.glsx.smart.entity.SmartTemplateParam;
import com.glsx.smart.entity.SmartTemplateParamExample;
/** /**
* <p>Description: * <p>Description:
...@@ -13,7 +12,7 @@ import com.glsx.smart.entity.SmartTemplateParamExample; ...@@ -13,7 +12,7 @@ import com.glsx.smart.entity.SmartTemplateParamExample;
*/ */
public interface SmartTemplateParamService { public interface SmartTemplateParamService {
int deleteByExample(SmartTemplateParamExample example); int deleteByExample(SmartTemplateParam example);
int deleteByPrimaryKey(Long id); int deleteByPrimaryKey(Long id);
...@@ -25,13 +24,13 @@ public interface SmartTemplateParamService { ...@@ -25,13 +24,13 @@ public interface SmartTemplateParamService {
int insertSelective(SmartTemplateParam record); int insertSelective(SmartTemplateParam record);
List<SmartTemplateParam> selectByExample(SmartTemplateParamExample example); List<SmartTemplateParam> selectByExample(SmartTemplateParam example);
SmartTemplateParam selectByPrimaryKey(Long id); SmartTemplateParam selectByPrimaryKey(Long id);
int updateByExampleSelective(SmartTemplateParam record, SmartTemplateParamExample example); int updateByExampleSelective(SmartTemplateParam record, SmartTemplateParam example);
int updateByExample(SmartTemplateParam record, SmartTemplateParamExample example); int updateByExample(SmartTemplateParam record, SmartTemplateParam example);
int updateByPrimaryKeySelective(SmartTemplateParam record); int updateByPrimaryKeySelective(SmartTemplateParam record);
......
...@@ -2,7 +2,6 @@ package com.glsx.smart.service; ...@@ -2,7 +2,6 @@ package com.glsx.smart.service;
import java.util.List; import java.util.List;
import com.glsx.smart.entity.SmartUserRelation; import com.glsx.smart.entity.SmartUserRelation;
import com.glsx.smart.entity.SmartUserRelationExample;
/** /**
* <p>Description: * <p>Description:
...@@ -13,7 +12,7 @@ import com.glsx.smart.entity.SmartUserRelationExample; ...@@ -13,7 +12,7 @@ import com.glsx.smart.entity.SmartUserRelationExample;
*/ */
public interface SmartUserRelationService { public interface SmartUserRelationService {
int deleteByExample(SmartUserRelationExample example); int deleteByExample(SmartUserRelation example);
int deleteByPrimaryKey(Long id); int deleteByPrimaryKey(Long id);
...@@ -25,13 +24,13 @@ public interface SmartUserRelationService { ...@@ -25,13 +24,13 @@ public interface SmartUserRelationService {
int insertSelective(SmartUserRelation record); int insertSelective(SmartUserRelation record);
List<SmartUserRelation> selectByExample(SmartUserRelationExample example); List<SmartUserRelation> selectByExample(SmartUserRelation example);
SmartUserRelation selectByPrimaryKey(Long id); SmartUserRelation selectByPrimaryKey(Long id);
int updateByExampleSelective(SmartUserRelation record, SmartUserRelationExample example); int updateByExampleSelective(SmartUserRelation record, SmartUserRelation example);
int updateByExample(SmartUserRelation record, SmartUserRelationExample example); int updateByExample(SmartUserRelation record, SmartUserRelation example);
int updateByPrimaryKeySelective(SmartUserRelation record); int updateByPrimaryKeySelective(SmartUserRelation record);
......
...@@ -3,10 +3,10 @@ package com.glsx.smart.service.impl; ...@@ -3,10 +3,10 @@ package com.glsx.smart.service.impl;
import javax.annotation.Resource; import javax.annotation.Resource;
import java.util.List; import java.util.List;
import com.glsx.smart.entity.SmartDevideStatus; import com.glsx.smart.entity.SmartDevideStatus;
import com.glsx.smart.entity.SmartDevideStatusExample;
import com.glsx.smart.mapper.SmartDevideStatusMapper; import com.glsx.smart.mapper.SmartDevideStatusMapper;
import com.glsx.smart.service.SmartDevideStatusService; import com.glsx.smart.service.SmartDevideStatusService;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
/** /**
* <p>Description: * <p>Description:
* <p>Project: chejia-smart * <p>Project: chejia-smart
...@@ -16,13 +16,13 @@ import org.springframework.stereotype.Service; ...@@ -16,13 +16,13 @@ import org.springframework.stereotype.Service;
*/ */
@Service @Service
public class SmartDevideStatusServiceImpl implements SmartDevideStatusService{ public class SmartDevideStatusServiceImpl implements SmartDevideStatusService {
@Resource @Resource
private SmartDevideStatusMapper smartDevideStatusMapper; private SmartDevideStatusMapper smartDevideStatusMapper;
@Override @Override
public int deleteByExample(SmartDevideStatusExample example) { public int deleteByExample(SmartDevideStatus example) {
return smartDevideStatusMapper.deleteByExample(example); return smartDevideStatusMapper.deleteByExample(example);
} }
...@@ -52,7 +52,7 @@ public class SmartDevideStatusServiceImpl implements SmartDevideStatusService{ ...@@ -52,7 +52,7 @@ public class SmartDevideStatusServiceImpl implements SmartDevideStatusService{
} }
@Override @Override
public List<SmartDevideStatus> selectByExample(SmartDevideStatusExample example) { public List<SmartDevideStatus> selectByExample(SmartDevideStatus example) {
return smartDevideStatusMapper.selectByExample(example); return smartDevideStatusMapper.selectByExample(example);
} }
...@@ -62,13 +62,13 @@ public class SmartDevideStatusServiceImpl implements SmartDevideStatusService{ ...@@ -62,13 +62,13 @@ public class SmartDevideStatusServiceImpl implements SmartDevideStatusService{
} }
@Override @Override
public int updateByExampleSelective(SmartDevideStatus record,SmartDevideStatusExample example) { public int updateByExampleSelective(SmartDevideStatus record, SmartDevideStatus example) {
return smartDevideStatusMapper.updateByExampleSelective(record,example); return smartDevideStatusMapper.updateByExampleSelective(record, example);
} }
@Override @Override
public int updateByExample(SmartDevideStatus record,SmartDevideStatusExample example) { public int updateByExample(SmartDevideStatus record, SmartDevideStatus example) {
return smartDevideStatusMapper.updateByExample(record,example); return smartDevideStatusMapper.updateByExample(record, example);
} }
@Override @Override
......
...@@ -3,7 +3,6 @@ package com.glsx.smart.service.impl; ...@@ -3,7 +3,6 @@ package com.glsx.smart.service.impl;
import javax.annotation.Resource; import javax.annotation.Resource;
import java.util.List; import java.util.List;
import com.glsx.smart.entity.SmartProduct; import com.glsx.smart.entity.SmartProduct;
import com.glsx.smart.entity.SmartProductExample;
import com.glsx.smart.mapper.SmartProductMapper; import com.glsx.smart.mapper.SmartProductMapper;
import com.glsx.smart.service.SmartProductService; import com.glsx.smart.service.SmartProductService;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
...@@ -65,12 +64,12 @@ public class SmartProductServiceImpl implements SmartProductService { ...@@ -65,12 +64,12 @@ public class SmartProductServiceImpl implements SmartProductService {
@Override @Override
public long countByExample(SmartProductExample example) { public long countByExample(SmartProduct example) {
return productMapper.selectCount(new SmartProduct()); return productMapper.selectCount(new SmartProduct());
} }
@Override @Override
public int deleteByExample(SmartProductExample example) { public int deleteByExample(SmartProduct example) {
return productMapper.deleteByExample(example); return productMapper.deleteByExample(example);
} }
...@@ -100,7 +99,7 @@ public class SmartProductServiceImpl implements SmartProductService { ...@@ -100,7 +99,7 @@ public class SmartProductServiceImpl implements SmartProductService {
} }
@Override @Override
public List<SmartProduct> selectByExample(SmartProductExample example) { public List<SmartProduct> selectByExample(SmartProduct example) {
return productMapper.selectByExample(example); return productMapper.selectByExample(example);
} }
...@@ -110,12 +109,12 @@ public class SmartProductServiceImpl implements SmartProductService { ...@@ -110,12 +109,12 @@ public class SmartProductServiceImpl implements SmartProductService {
} }
@Override @Override
public int updateByExampleSelective(SmartProduct record, SmartProductExample example) { public int updateByExampleSelective(SmartProduct record, SmartProduct example) {
return productMapper.updateByExampleSelective(record, example); return productMapper.updateByExampleSelective(record, example);
} }
@Override @Override
public int updateByExample(SmartProduct record, SmartProductExample example) { public int updateByExample(SmartProduct record, SmartProduct example) {
return productMapper.updateByExample(record, example); return productMapper.updateByExample(record, example);
} }
......
...@@ -3,7 +3,6 @@ package com.glsx.smart.service.impl; ...@@ -3,7 +3,6 @@ package com.glsx.smart.service.impl;
import javax.annotation.Resource; import javax.annotation.Resource;
import java.util.List; import java.util.List;
import com.glsx.smart.entity.SmartProductTypeParam; import com.glsx.smart.entity.SmartProductTypeParam;
import com.glsx.smart.entity.SmartProductTypeParamExample;
import com.glsx.smart.mapper.SmartProductTypeParamMapper; import com.glsx.smart.mapper.SmartProductTypeParamMapper;
import com.glsx.smart.service.SmartProductTypeParamService; import com.glsx.smart.service.SmartProductTypeParamService;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
...@@ -23,7 +22,7 @@ public class SmartProductTypeParamServiceImpl implements SmartProductTypeParamSe ...@@ -23,7 +22,7 @@ public class SmartProductTypeParamServiceImpl implements SmartProductTypeParamSe
private SmartProductTypeParamMapper smartProductTypeParamMapper; private SmartProductTypeParamMapper smartProductTypeParamMapper;
@Override @Override
public int deleteByExample(SmartProductTypeParamExample example) { public int deleteByExample(SmartProductTypeParam example) {
return smartProductTypeParamMapper.deleteByExample(example); return smartProductTypeParamMapper.deleteByExample(example);
} }
...@@ -53,7 +52,7 @@ public class SmartProductTypeParamServiceImpl implements SmartProductTypeParamSe ...@@ -53,7 +52,7 @@ public class SmartProductTypeParamServiceImpl implements SmartProductTypeParamSe
} }
@Override @Override
public List<SmartProductTypeParam> selectByExample(SmartProductTypeParamExample example) { public List<SmartProductTypeParam> selectByExample(SmartProductTypeParam example) {
return smartProductTypeParamMapper.selectByExample(example); return smartProductTypeParamMapper.selectByExample(example);
} }
...@@ -64,12 +63,12 @@ public class SmartProductTypeParamServiceImpl implements SmartProductTypeParamSe ...@@ -64,12 +63,12 @@ public class SmartProductTypeParamServiceImpl implements SmartProductTypeParamSe
@Override @Override
public int updateByExampleSelective(SmartProductTypeParam record, public int updateByExampleSelective(SmartProductTypeParam record,
SmartProductTypeParamExample example) { SmartProductTypeParam example) {
return smartProductTypeParamMapper.updateByExampleSelective(record, example); return smartProductTypeParamMapper.updateByExampleSelective(record, example);
} }
@Override @Override
public int updateByExample(SmartProductTypeParam record, SmartProductTypeParamExample example) { public int updateByExample(SmartProductTypeParam record, SmartProductTypeParam example) {
return smartProductTypeParamMapper.updateByExample(record, example); return smartProductTypeParamMapper.updateByExample(record, example);
} }
......
...@@ -3,7 +3,6 @@ package com.glsx.smart.service.impl; ...@@ -3,7 +3,6 @@ package com.glsx.smart.service.impl;
import javax.annotation.Resource; import javax.annotation.Resource;
import java.util.List; import java.util.List;
import com.glsx.smart.entity.SmartProductType; import com.glsx.smart.entity.SmartProductType;
import com.glsx.smart.entity.SmartProductTypeExample;
import com.glsx.smart.mapper.SmartProductTypeMapper; import com.glsx.smart.mapper.SmartProductTypeMapper;
import com.glsx.smart.service.SmartProductTypeService; import com.glsx.smart.service.SmartProductTypeService;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
...@@ -24,7 +23,7 @@ public class SmartProductTypeServiceImpl implements SmartProductTypeService { ...@@ -24,7 +23,7 @@ public class SmartProductTypeServiceImpl implements SmartProductTypeService {
@Override @Override
public List<SmartProductType> getList(SmartProductType productType) { public List<SmartProductType> getList(SmartProductType productType) {
return productTypeMapper.selectByExample(new SmartProductTypeExample()); return productTypeMapper.selectByExample(productType);
} }
@Override @Override
...@@ -50,7 +49,7 @@ public class SmartProductTypeServiceImpl implements SmartProductTypeService { ...@@ -50,7 +49,7 @@ public class SmartProductTypeServiceImpl implements SmartProductTypeService {
@Override @Override
public int deleteByExample(SmartProductTypeExample example) { public int deleteByExample(SmartProductType example) {
return productTypeMapper.deleteByExample(example); return productTypeMapper.deleteByExample(example);
} }
...@@ -80,7 +79,7 @@ public class SmartProductTypeServiceImpl implements SmartProductTypeService { ...@@ -80,7 +79,7 @@ public class SmartProductTypeServiceImpl implements SmartProductTypeService {
} }
@Override @Override
public List<SmartProductType> selectByExample(SmartProductTypeExample example) { public List<SmartProductType> selectByExample(SmartProductType example) {
return productTypeMapper.selectByExample(example); return productTypeMapper.selectByExample(example);
} }
...@@ -90,12 +89,12 @@ public class SmartProductTypeServiceImpl implements SmartProductTypeService { ...@@ -90,12 +89,12 @@ public class SmartProductTypeServiceImpl implements SmartProductTypeService {
} }
@Override @Override
public int updateByExampleSelective(SmartProductType record, SmartProductTypeExample example) { public int updateByExampleSelective(SmartProductType record, SmartProductType example) {
return productTypeMapper.updateByExampleSelective(record, example); return productTypeMapper.updateByExampleSelective(record, example);
} }
@Override @Override
public int updateByExample(SmartProductType record, SmartProductTypeExample example) { public int updateByExample(SmartProductType record, SmartProductType example) {
return productTypeMapper.updateByExample(record, example); return productTypeMapper.updateByExample(record, example);
} }
......
...@@ -3,7 +3,6 @@ package com.glsx.smart.service.impl; ...@@ -3,7 +3,6 @@ package com.glsx.smart.service.impl;
import javax.annotation.Resource; import javax.annotation.Resource;
import java.util.List; import java.util.List;
import com.glsx.smart.entity.SmartScenseData; import com.glsx.smart.entity.SmartScenseData;
import com.glsx.smart.entity.SmartScenseDataExample;
import com.glsx.smart.mapper.SmartScenseDataMapper; import com.glsx.smart.mapper.SmartScenseDataMapper;
import com.glsx.smart.service.SmartScenseDataService; import com.glsx.smart.service.SmartScenseDataService;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
...@@ -23,7 +22,7 @@ public class SmartScenseDataServiceImpl implements SmartScenseDataService { ...@@ -23,7 +22,7 @@ public class SmartScenseDataServiceImpl implements SmartScenseDataService {
private SmartScenseDataMapper smartScenseDataMapper; private SmartScenseDataMapper smartScenseDataMapper;
@Override @Override
public int deleteByExample(SmartScenseDataExample example) { public int deleteByExample(SmartScenseData example) {
return smartScenseDataMapper.deleteByExample(example); return smartScenseDataMapper.deleteByExample(example);
} }
...@@ -53,7 +52,7 @@ public class SmartScenseDataServiceImpl implements SmartScenseDataService { ...@@ -53,7 +52,7 @@ public class SmartScenseDataServiceImpl implements SmartScenseDataService {
} }
@Override @Override
public List<SmartScenseData> selectByExample(SmartScenseDataExample example) { public List<SmartScenseData> selectByExample(SmartScenseData example) {
return smartScenseDataMapper.selectByExample(example); return smartScenseDataMapper.selectByExample(example);
} }
...@@ -63,12 +62,12 @@ public class SmartScenseDataServiceImpl implements SmartScenseDataService { ...@@ -63,12 +62,12 @@ public class SmartScenseDataServiceImpl implements SmartScenseDataService {
} }
@Override @Override
public int updateByExampleSelective(SmartScenseData record, SmartScenseDataExample example) { public int updateByExampleSelective(SmartScenseData record, SmartScenseData example) {
return smartScenseDataMapper.updateByExampleSelective(record, example); return smartScenseDataMapper.updateByExampleSelective(record, example);
} }
@Override @Override
public int updateByExample(SmartScenseData record, SmartScenseDataExample example) { public int updateByExample(SmartScenseData record, SmartScenseData example) {
return smartScenseDataMapper.updateByExample(record, example); return smartScenseDataMapper.updateByExample(record, example);
} }
......
...@@ -3,7 +3,6 @@ package com.glsx.smart.service.impl; ...@@ -3,7 +3,6 @@ package com.glsx.smart.service.impl;
import javax.annotation.Resource; import javax.annotation.Resource;
import java.util.List; import java.util.List;
import com.glsx.smart.entity.SmartScense; import com.glsx.smart.entity.SmartScense;
import com.glsx.smart.entity.SmartScenseExample;
import com.glsx.smart.mapper.SmartScenseMapper; import com.glsx.smart.mapper.SmartScenseMapper;
import com.glsx.smart.service.SmartScenseService; import com.glsx.smart.service.SmartScenseService;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
...@@ -23,7 +22,7 @@ public class SmartScenseServiceImpl implements SmartScenseService { ...@@ -23,7 +22,7 @@ public class SmartScenseServiceImpl implements SmartScenseService {
private SmartScenseMapper smartScenseMapper; private SmartScenseMapper smartScenseMapper;
@Override @Override
public int deleteByExample(SmartScenseExample example) { public int deleteByExample(SmartScense example) {
return smartScenseMapper.deleteByExample(example); return smartScenseMapper.deleteByExample(example);
} }
...@@ -53,7 +52,7 @@ public class SmartScenseServiceImpl implements SmartScenseService { ...@@ -53,7 +52,7 @@ public class SmartScenseServiceImpl implements SmartScenseService {
} }
@Override @Override
public List<SmartScense> selectByExample(SmartScenseExample example) { public List<SmartScense> selectByExample(SmartScense example) {
return smartScenseMapper.selectByExample(example); return smartScenseMapper.selectByExample(example);
} }
...@@ -63,12 +62,12 @@ public class SmartScenseServiceImpl implements SmartScenseService { ...@@ -63,12 +62,12 @@ public class SmartScenseServiceImpl implements SmartScenseService {
} }
@Override @Override
public int updateByExampleSelective(SmartScense record, SmartScenseExample example) { public int updateByExampleSelective(SmartScense record, SmartScense example) {
return smartScenseMapper.updateByExampleSelective(record, example); return smartScenseMapper.updateByExampleSelective(record, example);
} }
@Override @Override
public int updateByExample(SmartScense record, SmartScenseExample example) { public int updateByExample(SmartScense record, SmartScense example) {
return smartScenseMapper.updateByExample(record, example); return smartScenseMapper.updateByExample(record, example);
} }
......
...@@ -3,7 +3,6 @@ package com.glsx.smart.service.impl; ...@@ -3,7 +3,6 @@ package com.glsx.smart.service.impl;
import javax.annotation.Resource; import javax.annotation.Resource;
import java.util.List; import java.util.List;
import com.glsx.smart.entity.SmartScenseTemplate; import com.glsx.smart.entity.SmartScenseTemplate;
import com.glsx.smart.entity.SmartScenseTemplateExample;
import com.glsx.smart.mapper.SmartScenseTemplateMapper; import com.glsx.smart.mapper.SmartScenseTemplateMapper;
import com.glsx.smart.service.SmartScenseTemplateService; import com.glsx.smart.service.SmartScenseTemplateService;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
...@@ -23,7 +22,7 @@ public class SmartScenseTemplateServiceImpl implements SmartScenseTemplateServic ...@@ -23,7 +22,7 @@ public class SmartScenseTemplateServiceImpl implements SmartScenseTemplateServic
private SmartScenseTemplateMapper smartScenseTemplateMapper; private SmartScenseTemplateMapper smartScenseTemplateMapper;
@Override @Override
public int deleteByExample(SmartScenseTemplateExample example) { public int deleteByExample(SmartScenseTemplate example) {
return smartScenseTemplateMapper.deleteByExample(example); return smartScenseTemplateMapper.deleteByExample(example);
} }
...@@ -53,7 +52,7 @@ public class SmartScenseTemplateServiceImpl implements SmartScenseTemplateServic ...@@ -53,7 +52,7 @@ public class SmartScenseTemplateServiceImpl implements SmartScenseTemplateServic
} }
@Override @Override
public List<SmartScenseTemplate> selectByExample(SmartScenseTemplateExample example) { public List<SmartScenseTemplate> selectByExample(SmartScenseTemplate example) {
return smartScenseTemplateMapper.selectByExample(example); return smartScenseTemplateMapper.selectByExample(example);
} }
...@@ -64,12 +63,12 @@ public class SmartScenseTemplateServiceImpl implements SmartScenseTemplateServic ...@@ -64,12 +63,12 @@ public class SmartScenseTemplateServiceImpl implements SmartScenseTemplateServic
@Override @Override
public int updateByExampleSelective(SmartScenseTemplate record, public int updateByExampleSelective(SmartScenseTemplate record,
SmartScenseTemplateExample example) { SmartScenseTemplate example) {
return smartScenseTemplateMapper.updateByExampleSelective(record, example); return smartScenseTemplateMapper.updateByExampleSelective(record, example);
} }
@Override @Override
public int updateByExample(SmartScenseTemplate record, SmartScenseTemplateExample example) { public int updateByExample(SmartScenseTemplate record, SmartScenseTemplate example) {
return smartScenseTemplateMapper.updateByExample(record, example); return smartScenseTemplateMapper.updateByExample(record, example);
} }
......
...@@ -3,7 +3,6 @@ package com.glsx.smart.service.impl; ...@@ -3,7 +3,6 @@ package com.glsx.smart.service.impl;
import javax.annotation.Resource; import javax.annotation.Resource;
import java.util.List; import java.util.List;
import com.glsx.smart.entity.SmartSysCode; import com.glsx.smart.entity.SmartSysCode;
import com.glsx.smart.entity.SmartSysCodeExample;
import com.glsx.smart.mapper.SmartSysCodeMapper; import com.glsx.smart.mapper.SmartSysCodeMapper;
import com.glsx.smart.service.SmartSysCodeService; import com.glsx.smart.service.SmartSysCodeService;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
...@@ -23,7 +22,7 @@ public class SmartSysCodeServiceImpl implements SmartSysCodeService { ...@@ -23,7 +22,7 @@ public class SmartSysCodeServiceImpl implements SmartSysCodeService {
private SmartSysCodeMapper smartSysCodeMapper; private SmartSysCodeMapper smartSysCodeMapper;
@Override @Override
public int deleteByExample(SmartSysCodeExample example) { public int deleteByExample(SmartSysCode example) {
return smartSysCodeMapper.deleteByExample(example); return smartSysCodeMapper.deleteByExample(example);
} }
...@@ -53,7 +52,7 @@ public class SmartSysCodeServiceImpl implements SmartSysCodeService { ...@@ -53,7 +52,7 @@ public class SmartSysCodeServiceImpl implements SmartSysCodeService {
} }
@Override @Override
public List<SmartSysCode> selectByExample(SmartSysCodeExample example) { public List<SmartSysCode> selectByExample(SmartSysCode example) {
return smartSysCodeMapper.selectByExample(example); return smartSysCodeMapper.selectByExample(example);
} }
...@@ -63,12 +62,12 @@ public class SmartSysCodeServiceImpl implements SmartSysCodeService { ...@@ -63,12 +62,12 @@ public class SmartSysCodeServiceImpl implements SmartSysCodeService {
} }
@Override @Override
public int updateByExampleSelective(SmartSysCode record, SmartSysCodeExample example) { public int updateByExampleSelective(SmartSysCode record, SmartSysCode example) {
return smartSysCodeMapper.updateByExampleSelective(record, example); return smartSysCodeMapper.updateByExampleSelective(record, example);
} }
@Override @Override
public int updateByExample(SmartSysCode record, SmartSysCodeExample example) { public int updateByExample(SmartSysCode record, SmartSysCode example) {
return smartSysCodeMapper.updateByExample(record, example); return smartSysCodeMapper.updateByExample(record, example);
} }
......
...@@ -3,7 +3,6 @@ package com.glsx.smart.service.impl; ...@@ -3,7 +3,6 @@ package com.glsx.smart.service.impl;
import javax.annotation.Resource; import javax.annotation.Resource;
import java.util.List; import java.util.List;
import com.glsx.smart.entity.SmartSysFile; import com.glsx.smart.entity.SmartSysFile;
import com.glsx.smart.entity.SmartSysFileExample;
import com.glsx.smart.mapper.SmartSysFileMapper; import com.glsx.smart.mapper.SmartSysFileMapper;
import com.glsx.smart.service.SmartSysFileService; import com.glsx.smart.service.SmartSysFileService;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
...@@ -23,7 +22,7 @@ public class SmartSysFileServiceImpl implements SmartSysFileService { ...@@ -23,7 +22,7 @@ public class SmartSysFileServiceImpl implements SmartSysFileService {
private SmartSysFileMapper smartSysFileMapper; private SmartSysFileMapper smartSysFileMapper;
@Override @Override
public int deleteByExample(SmartSysFileExample example) { public int deleteByExample(SmartSysFile example) {
return smartSysFileMapper.deleteByExample(example); return smartSysFileMapper.deleteByExample(example);
} }
...@@ -53,7 +52,7 @@ public class SmartSysFileServiceImpl implements SmartSysFileService { ...@@ -53,7 +52,7 @@ public class SmartSysFileServiceImpl implements SmartSysFileService {
} }
@Override @Override
public List<SmartSysFile> selectByExample(SmartSysFileExample example) { public List<SmartSysFile> selectByExample(SmartSysFile example) {
return smartSysFileMapper.selectByExample(example); return smartSysFileMapper.selectByExample(example);
} }
...@@ -63,12 +62,12 @@ public class SmartSysFileServiceImpl implements SmartSysFileService { ...@@ -63,12 +62,12 @@ public class SmartSysFileServiceImpl implements SmartSysFileService {
} }
@Override @Override
public int updateByExampleSelective(SmartSysFile record, SmartSysFileExample example) { public int updateByExampleSelective(SmartSysFile record, SmartSysFile example) {
return smartSysFileMapper.updateByExampleSelective(record, example); return smartSysFileMapper.updateByExampleSelective(record, example);
} }
@Override @Override
public int updateByExample(SmartSysFile record, SmartSysFileExample example) { public int updateByExample(SmartSysFile record, SmartSysFile example) {
return smartSysFileMapper.updateByExample(record, example); return smartSysFileMapper.updateByExample(record, example);
} }
......
...@@ -3,7 +3,6 @@ package com.glsx.smart.service.impl; ...@@ -3,7 +3,6 @@ package com.glsx.smart.service.impl;
import javax.annotation.Resource; import javax.annotation.Resource;
import java.util.List; import java.util.List;
import com.glsx.smart.entity.SmartTemplateParam; import com.glsx.smart.entity.SmartTemplateParam;
import com.glsx.smart.entity.SmartTemplateParamExample;
import com.glsx.smart.mapper.SmartTemplateParamMapper; import com.glsx.smart.mapper.SmartTemplateParamMapper;
import com.glsx.smart.service.SmartTemplateParamService; import com.glsx.smart.service.SmartTemplateParamService;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
...@@ -23,7 +22,7 @@ public class SmartTemplateParamServiceImpl implements SmartTemplateParamService ...@@ -23,7 +22,7 @@ public class SmartTemplateParamServiceImpl implements SmartTemplateParamService
private SmartTemplateParamMapper smartTemplateParamMapper; private SmartTemplateParamMapper smartTemplateParamMapper;
@Override @Override
public int deleteByExample(SmartTemplateParamExample example) { public int deleteByExample(SmartTemplateParam example) {
return smartTemplateParamMapper.deleteByExample(example); return smartTemplateParamMapper.deleteByExample(example);
} }
...@@ -53,7 +52,7 @@ public class SmartTemplateParamServiceImpl implements SmartTemplateParamService ...@@ -53,7 +52,7 @@ public class SmartTemplateParamServiceImpl implements SmartTemplateParamService
} }
@Override @Override
public List<SmartTemplateParam> selectByExample(SmartTemplateParamExample example) { public List<SmartTemplateParam> selectByExample(SmartTemplateParam example) {
return smartTemplateParamMapper.selectByExample(example); return smartTemplateParamMapper.selectByExample(example);
} }
...@@ -64,12 +63,12 @@ public class SmartTemplateParamServiceImpl implements SmartTemplateParamService ...@@ -64,12 +63,12 @@ public class SmartTemplateParamServiceImpl implements SmartTemplateParamService
@Override @Override
public int updateByExampleSelective(SmartTemplateParam record, public int updateByExampleSelective(SmartTemplateParam record,
SmartTemplateParamExample example) { SmartTemplateParam example) {
return smartTemplateParamMapper.updateByExampleSelective(record, example); return smartTemplateParamMapper.updateByExampleSelective(record, example);
} }
@Override @Override
public int updateByExample(SmartTemplateParam record, SmartTemplateParamExample example) { public int updateByExample(SmartTemplateParam record, SmartTemplateParam example) {
return smartTemplateParamMapper.updateByExample(record, example); return smartTemplateParamMapper.updateByExample(record, example);
} }
......
...@@ -3,7 +3,6 @@ package com.glsx.smart.service.impl; ...@@ -3,7 +3,6 @@ package com.glsx.smart.service.impl;
import javax.annotation.Resource; import javax.annotation.Resource;
import java.util.List; import java.util.List;
import com.glsx.smart.entity.SmartUserRelation; import com.glsx.smart.entity.SmartUserRelation;
import com.glsx.smart.entity.SmartUserRelationExample;
import com.glsx.smart.mapper.SmartUserRelationMapper; import com.glsx.smart.mapper.SmartUserRelationMapper;
import com.glsx.smart.service.SmartUserRelationService; import com.glsx.smart.service.SmartUserRelationService;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
...@@ -23,7 +22,7 @@ public class SmartUserRelationServiceImpl implements SmartUserRelationService { ...@@ -23,7 +22,7 @@ public class SmartUserRelationServiceImpl implements SmartUserRelationService {
private SmartUserRelationMapper smartUserRelationMapper; private SmartUserRelationMapper smartUserRelationMapper;
@Override @Override
public int deleteByExample(SmartUserRelationExample example) { public int deleteByExample(SmartUserRelation example) {
return smartUserRelationMapper.deleteByExample(example); return smartUserRelationMapper.deleteByExample(example);
} }
...@@ -53,7 +52,7 @@ public class SmartUserRelationServiceImpl implements SmartUserRelationService { ...@@ -53,7 +52,7 @@ public class SmartUserRelationServiceImpl implements SmartUserRelationService {
} }
@Override @Override
public List<SmartUserRelation> selectByExample(SmartUserRelationExample example) { public List<SmartUserRelation> selectByExample(SmartUserRelation example) {
return smartUserRelationMapper.selectByExample(example); return smartUserRelationMapper.selectByExample(example);
} }
...@@ -64,12 +63,12 @@ public class SmartUserRelationServiceImpl implements SmartUserRelationService { ...@@ -64,12 +63,12 @@ public class SmartUserRelationServiceImpl implements SmartUserRelationService {
@Override @Override
public int updateByExampleSelective(SmartUserRelation record, public int updateByExampleSelective(SmartUserRelation record,
SmartUserRelationExample example) { SmartUserRelation example) {
return smartUserRelationMapper.updateByExampleSelective(record, example); return smartUserRelationMapper.updateByExampleSelective(record, example);
} }
@Override @Override
public int updateByExample(SmartUserRelation record, SmartUserRelationExample example) { public int updateByExample(SmartUserRelation record, SmartUserRelation example) {
return smartUserRelationMapper.updateByExample(record, example); return smartUserRelationMapper.updateByExample(record, example);
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!