|  | @@ -8,6 +8,7 @@ import com.hcloud.microserver.commoncore.base.ResultVO;
 | 
	
		
			
				|  |  |  import com.hcloud.microserver.commoncore.enums.ResultEnum;
 | 
	
		
			
				|  |  |  import com.hcloud.microserver.facade.carbon.entity.CustomerCompanyType;
 | 
	
		
			
				|  |  |  import com.hcloud.microserver.facade.carbon.forms.CustomerCompanyTypeForm;
 | 
	
		
			
				|  |  | +import io.swagger.annotations.*;
 | 
	
		
			
				|  |  |  import org.springframework.beans.factory.annotation.Autowired;
 | 
	
		
			
				|  |  |  import org.springframework.web.bind.annotation.*;
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -16,11 +17,17 @@ import java.util.List;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  @RestController
 | 
	
		
			
				|  |  |  @RequestMapping("/customerCompanyType")
 | 
	
		
			
				|  |  | +@Api(description = "企业类型管理")
 | 
	
		
			
				|  |  |  public class CustomerCompanyTypeController extends BaseController {
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      @Autowired
 | 
	
		
			
				|  |  |      private CustomerCompanyTypeService customerCompanyTypeService;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +    @ApiOperation(value = "企业类型添加")
 | 
	
		
			
				|  |  | +    @ApiImplicitParams({
 | 
	
		
			
				|  |  | +            @ApiImplicitParam(name = "customerCompanyType",value = "企业类型信息",dataType = "CustomerCompanyType")
 | 
	
		
			
				|  |  | +    })
 | 
	
		
			
				|  |  | +    @ApiResponse(code = 0, message = "操作成功")
 | 
	
		
			
				|  |  |      @PostMapping("/save")
 | 
	
		
			
				|  |  |      public ResponseBase save(@RequestBody @Valid CustomerCompanyType customerCompanyType){
 | 
	
		
			
				|  |  |          int i = customerCompanyTypeService.saveSelective(customerCompanyType);
 | 
	
	
		
			
				|  | @@ -33,6 +40,11 @@ public class CustomerCompanyTypeController extends BaseController {
 | 
	
		
			
				|  |  |         return responseSuccess(resultVO);
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +    @ApiOperation(value = "企业类型修改")
 | 
	
		
			
				|  |  | +    @ApiImplicitParams({
 | 
	
		
			
				|  |  | +            @ApiImplicitParam(name = "customerCompanyType",value = "企业类型信息",dataType = "CustomerCompanyType")
 | 
	
		
			
				|  |  | +    })
 | 
	
		
			
				|  |  | +    @ApiResponse(code = 0, message = "操作成功")
 | 
	
		
			
				|  |  |      @PostMapping("/update")
 | 
	
		
			
				|  |  |      public ResponseBase update(@RequestBody @Valid CustomerCompanyType customerCompanyType){
 | 
	
		
			
				|  |  |          int i = customerCompanyTypeService.modifyByPrimaryKeySelective(customerCompanyType);
 | 
	
	
		
			
				|  | @@ -45,6 +57,11 @@ public class CustomerCompanyTypeController extends BaseController {
 | 
	
		
			
				|  |  |          return responseSuccess(resultVO);
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +    @ApiOperation(value = "企业类型详情")
 | 
	
		
			
				|  |  | +    @ApiImplicitParams({
 | 
	
		
			
				|  |  | +            @ApiImplicitParam(name = "guid",value = "主键",dataType = "String")
 | 
	
		
			
				|  |  | +    })
 | 
	
		
			
				|  |  | +    @ApiResponse(code = 0, message = "操作成功")
 | 
	
		
			
				|  |  |      @GetMapping("/findById")
 | 
	
		
			
				|  |  |      public ResponseBase findById(@RequestParam("guid") String guid){
 | 
	
		
			
				|  |  |          CustomerCompanyType customerCompanyType = customerCompanyTypeService.queryByPrimaryKey(guid);
 | 
	
	
		
			
				|  | @@ -53,6 +70,11 @@ public class CustomerCompanyTypeController extends BaseController {
 | 
	
		
			
				|  |  |          return responseSuccess(resultVO);
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +    @ApiOperation(value = "企业类型信息删除")
 | 
	
		
			
				|  |  | +    @ApiImplicitParams({
 | 
	
		
			
				|  |  | +            @ApiImplicitParam(name = "guid",value = "主键",dataType = "String")
 | 
	
		
			
				|  |  | +    })
 | 
	
		
			
				|  |  | +    @ApiResponse(code = 0, message = "操作成功")
 | 
	
		
			
				|  |  |      @GetMapping("/delete")
 | 
	
		
			
				|  |  |      public ResponseBase delete(@RequestParam("guid") String guid){
 | 
	
		
			
				|  |  |          int i = customerCompanyTypeService.delByPrimaryKey(guid);
 | 
	
	
		
			
				|  | @@ -65,6 +87,11 @@ public class CustomerCompanyTypeController extends BaseController {
 | 
	
		
			
				|  |  |          return responseSuccess(resultVO);
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +    @ApiOperation(value = "企业类型列表")
 | 
	
		
			
				|  |  | +    @ApiImplicitParams({
 | 
	
		
			
				|  |  | +            @ApiImplicitParam(name = "customerCompanyTypeForm",value = "企业类型信息",dataType = "CustomerCompanyTypeForm")
 | 
	
		
			
				|  |  | +    })
 | 
	
		
			
				|  |  | +    @ApiResponse(code = 0, message = "操作成功")
 | 
	
		
			
				|  |  |      @PostMapping("/list")
 | 
	
		
			
				|  |  |      public ResponseBase selectList(@RequestBody CustomerCompanyTypeForm customerCompanyTypeForm){
 | 
	
		
			
				|  |  |          PageInfo<List<CustomerCompanyType>> pageInfo = customerCompanyTypeService.selectList(customerCompanyTypeForm);
 |