51 changed files with 4146 additions and 2746 deletions
@ -1,25 +1,25 @@ |
|||
package com.ccsens.common; |
|||
|
|||
import org.mybatis.spring.annotation.MapperScan; |
|||
import org.springframework.boot.SpringApplication; |
|||
import org.springframework.boot.autoconfigure.SpringBootApplication; |
|||
import org.springframework.boot.web.servlet.ServletComponentScan; |
|||
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker; |
|||
import org.springframework.cloud.openfeign.EnableFeignClients; |
|||
import org.springframework.scheduling.annotation.EnableAsync; |
|||
|
|||
/** |
|||
* @author ma |
|||
*/ |
|||
@MapperScan(basePackages = {"com.ccsens.common.persist.*"}) |
|||
@ServletComponentScan |
|||
@EnableAsync |
|||
//开启断路器功能
|
|||
@EnableCircuitBreaker |
|||
@EnableFeignClients(basePackages = "com.ccsens.cloudutil.feign") |
|||
@SpringBootApplication(scanBasePackages = "com.ccsens") |
|||
public class CommonApplication { |
|||
public static void main(String[] args) { |
|||
SpringApplication.run(CommonApplication.class,args); |
|||
} |
|||
} |
|||
//package com.ccsens.common;
|
|||
//
|
|||
//import org.mybatis.spring.annotation.MapperScan;
|
|||
//import org.springframework.boot.SpringApplication;
|
|||
//import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|||
//import org.springframework.boot.web.servlet.ServletComponentScan;
|
|||
//import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
|
|||
//import org.springframework.cloud.openfeign.EnableFeignClients;
|
|||
//import org.springframework.scheduling.annotation.EnableAsync;
|
|||
//
|
|||
///**
|
|||
// * @author ma
|
|||
// */
|
|||
////@MapperScan(basePackages = {"com.ccsens.common.persist.*"})
|
|||
////@ServletComponentScan
|
|||
////@EnableAsync
|
|||
//////开启断路器功能
|
|||
////@EnableCircuitBreaker
|
|||
////@EnableFeignClients(basePackages = "com.ccsens.cloudutil.feign")
|
|||
////@SpringBootApplication(scanBasePackages = "com.ccsens")
|
|||
//public class CommonApplication {
|
|||
// public static void main(String[] args) {
|
|||
// SpringApplication.run(CommonApplication.class,args);
|
|||
// }
|
|||
//}
|
|||
|
@ -1,29 +1,29 @@ |
|||
package com.ccsens.common.api; |
|||
|
|||
import com.ccsens.util.JsonResponse; |
|||
import io.swagger.annotations.Api; |
|||
import io.swagger.annotations.ApiImplicitParams; |
|||
import io.swagger.annotations.ApiOperation; |
|||
import lombok.extern.slf4j.Slf4j; |
|||
import org.springframework.web.bind.annotation.RequestMapping; |
|||
import org.springframework.web.bind.annotation.RequestMethod; |
|||
import org.springframework.web.bind.annotation.RestController; |
|||
|
|||
import javax.servlet.http.HttpServletRequest; |
|||
|
|||
@Api(tags = "DEBUG" , description = "DebugController | ") |
|||
@RestController |
|||
@RequestMapping("/debug") |
|||
@Slf4j |
|||
public class DebugController { |
|||
|
|||
@ApiOperation(value = "/测试",notes = "") |
|||
@ApiImplicitParams({ |
|||
}) |
|||
@RequestMapping(value="",method = RequestMethod.GET,produces = {"application/json;charset=UTF-8"}) |
|||
public JsonResponse debug(HttpServletRequest request) throws Exception { |
|||
|
|||
return JsonResponse.newInstance().ok("测试"); |
|||
} |
|||
|
|||
} |
|||
//package com.ccsens.common.api;
|
|||
//
|
|||
//import com.ccsens.util.JsonResponse;
|
|||
//import io.swagger.annotations.Api;
|
|||
//import io.swagger.annotations.ApiImplicitParams;
|
|||
//import io.swagger.annotations.ApiOperation;
|
|||
//import lombok.extern.slf4j.Slf4j;
|
|||
//import org.springframework.web.bind.annotation.RequestMapping;
|
|||
//import org.springframework.web.bind.annotation.RequestMethod;
|
|||
//import org.springframework.web.bind.annotation.RestController;
|
|||
//
|
|||
//import javax.servlet.http.HttpServletRequest;
|
|||
//
|
|||
//@Api(tags = "DEBUG" , description = "DebugController | ")
|
|||
//@RestController
|
|||
//@RequestMapping("/debug")
|
|||
//@Slf4j
|
|||
//public class DebugController {
|
|||
//
|
|||
// @ApiOperation(value = "/测试",notes = "")
|
|||
// @ApiImplicitParams({
|
|||
// })
|
|||
// @RequestMapping(value="",method = RequestMethod.GET,produces = {"application/json;charset=UTF-8"})
|
|||
// public JsonResponse debug(HttpServletRequest request) throws Exception {
|
|||
//
|
|||
// return JsonResponse.newInstance().ok("测试");
|
|||
// }
|
|||
//
|
|||
//}
|
|||
|
@ -1,41 +1,41 @@ |
|||
package com.ccsens.common.api; |
|||
|
|||
import com.ccsens.common.bean.dto.ProjectDto; |
|||
import com.ccsens.common.bean.vo.ProjectVo; |
|||
import com.ccsens.common.service.IProjectService; |
|||
import com.ccsens.util.JsonResponse; |
|||
import com.ccsens.util.bean.dto.QueryDto; |
|||
import io.swagger.annotations.Api; |
|||
import io.swagger.annotations.ApiOperation; |
|||
import io.swagger.annotations.ApiParam; |
|||
import lombok.extern.slf4j.Slf4j; |
|||
import org.springframework.validation.annotation.Validated; |
|||
import org.springframework.web.bind.annotation.RequestBody; |
|||
import org.springframework.web.bind.annotation.RequestMapping; |
|||
import org.springframework.web.bind.annotation.RequestMethod; |
|||
import org.springframework.web.bind.annotation.RestController; |
|||
|
|||
import javax.annotation.Resource; |
|||
|
|||
/** |
|||
* @author ma |
|||
*/ |
|||
@Api(tags = "项目相关接口", description = "ProjectController | 项目相关接口") |
|||
@RestController |
|||
@Slf4j |
|||
@RequestMapping("/project") |
|||
public class ProjectController { |
|||
|
|||
@Resource |
|||
private IProjectService projectService; |
|||
|
|||
@ApiOperation(value = "根据id查询项目信息", notes = "根据id查询项目信息") |
|||
@RequestMapping(value = "/findProjectById", method = RequestMethod.POST, produces = {"application/json;charset=UTF-8"}) |
|||
public JsonResponse<ProjectVo.ProjectInfo> findProjectById(@ApiParam @Validated @RequestBody QueryDto<ProjectDto.ProjectById> params) throws Exception{ |
|||
log.info("根据id查询项目信息:{}",params); |
|||
ProjectVo.ProjectInfo projectInfo = projectService.findProjectById(params.getParam(),params.getUserId()); |
|||
log.info("根据id查询项目信息"); |
|||
return JsonResponse.newInstance().ok(projectInfo); |
|||
} |
|||
|
|||
} |
|||
//package com.ccsens.common.api;
|
|||
//
|
|||
//import com.ccsens.common.bean.dto.ProjectDto;
|
|||
//import com.ccsens.common.bean.vo.ProjectVo;
|
|||
//import com.ccsens.common.service.IProjectService;
|
|||
//import com.ccsens.util.JsonResponse;
|
|||
//import com.ccsens.util.bean.dto.QueryDto;
|
|||
//import io.swagger.annotations.Api;
|
|||
//import io.swagger.annotations.ApiOperation;
|
|||
//import io.swagger.annotations.ApiParam;
|
|||
//import lombok.extern.slf4j.Slf4j;
|
|||
//import org.springframework.validation.annotation.Validated;
|
|||
//import org.springframework.web.bind.annotation.RequestBody;
|
|||
//import org.springframework.web.bind.annotation.RequestMapping;
|
|||
//import org.springframework.web.bind.annotation.RequestMethod;
|
|||
//import org.springframework.web.bind.annotation.RestController;
|
|||
//
|
|||
//import javax.annotation.Resource;
|
|||
//
|
|||
///**
|
|||
// * @author ma
|
|||
// */
|
|||
//@Api(tags = "项目相关接口", description = "ProjectController | 项目相关接口")
|
|||
//@RestController
|
|||
//@Slf4j
|
|||
//@RequestMapping("/project")
|
|||
//public class ProjectController {
|
|||
//
|
|||
// @Resource
|
|||
// private IProjectService projectService;
|
|||
//
|
|||
// @ApiOperation(value = "根据id查询项目信息", notes = "根据id查询项目信息")
|
|||
// @RequestMapping(value = "/findProjectById", method = RequestMethod.POST, produces = {"application/json;charset=UTF-8"})
|
|||
// public JsonResponse<ProjectVo.ProjectInfo> findProjectById(@ApiParam @Validated @RequestBody QueryDto<ProjectDto.ProjectById> params) throws Exception{
|
|||
// log.info("根据id查询项目信息:{}",params);
|
|||
// ProjectVo.ProjectInfo projectInfo = projectService.findProjectById(params.getParam(),params.getUserId());
|
|||
// log.info("根据id查询项目信息");
|
|||
// return JsonResponse.newInstance().ok(projectInfo);
|
|||
// }
|
|||
//
|
|||
//}
|
|||
|
@ -1,61 +1,126 @@ |
|||
package com.ccsens.common.api; |
|||
|
|||
import com.ccsens.cloudutil.annotation.MustLogin; |
|||
import com.ccsens.common.bean.dto.RoleDto; |
|||
import com.ccsens.common.bean.vo.RoleVo; |
|||
import com.ccsens.common.service.IProRoleService; |
|||
import com.ccsens.util.JsonResponse; |
|||
import com.ccsens.util.WebConstant; |
|||
import com.ccsens.util.bean.dto.QueryDto; |
|||
import io.jsonwebtoken.Claims; |
|||
import io.swagger.annotations.Api; |
|||
import io.swagger.annotations.ApiImplicitParams; |
|||
import io.swagger.annotations.ApiOperation; |
|||
import io.swagger.annotations.ApiParam; |
|||
import lombok.extern.slf4j.Slf4j; |
|||
import org.springframework.validation.annotation.Validated; |
|||
import org.springframework.web.bind.annotation.RequestBody; |
|||
import org.springframework.web.bind.annotation.RequestMapping; |
|||
import org.springframework.web.bind.annotation.RequestMethod; |
|||
import org.springframework.web.bind.annotation.RestController; |
|||
|
|||
import javax.annotation.Resource; |
|||
import javax.servlet.http.HttpServletRequest; |
|||
import java.util.List; |
|||
|
|||
@Api(tags = "角色操作相关api" ) |
|||
@RestController |
|||
@RequestMapping("/roles") |
|||
@Slf4j |
|||
public class RoleController { |
|||
|
|||
@Resource |
|||
private IProRoleService proRoleService; |
|||
|
|||
@MustLogin |
|||
@ApiOperation(value = "查询角色栏展示的角色",notes = "") |
|||
@ApiImplicitParams({ |
|||
}) |
|||
@RequestMapping(value = "/QueryRoleShow", method = RequestMethod.POST, produces = {"application/json;charset=UTF-8"}) |
|||
public JsonResponse<RoleVo.QueryRole> queryByProjectVirtualRole( |
|||
@ApiParam @Validated @RequestBody QueryDto<RoleDto.QueryRole> params) throws Exception { |
|||
log.info("查询角色栏展示的角色:{}",params); |
|||
RoleVo.QueryRole list = proRoleService.QueryShowRole(params.getParam(),params.getUserId()); |
|||
log.info("查询角色栏展示的角色成功"); |
|||
return JsonResponse.newInstance().ok(list); |
|||
} |
|||
|
|||
|
|||
@MustLogin |
|||
@ApiOperation(value = "配置角色栏展示的角色",notes = "") |
|||
@ApiImplicitParams({ |
|||
}) |
|||
@RequestMapping(value = "/UpdateRoleShow", method = RequestMethod.POST, produces = {"application/json;charset=UTF-8"}) |
|||
public JsonResponse updateShowRole( |
|||
@ApiParam @Validated @RequestBody QueryDto<RoleDto.UpdateRoleShow> params) throws Exception { |
|||
log.info("配置角色栏展示的角色:{}",params); |
|||
proRoleService.updateShowRole(params.getParam(),params.getUserId()); |
|||
log.info("配置角色栏展示的角色成功"); |
|||
return JsonResponse.newInstance().ok(); |
|||
} |
|||
} |
|||
//<<<<<<< HEAD
|
|||
//package com.ccsens.common.api;
|
|||
//
|
|||
//import com.ccsens.cloudutil.annotation.MustLogin;
|
|||
//import com.ccsens.common.bean.dto.RoleDto;
|
|||
//import com.ccsens.common.bean.vo.RoleVo;
|
|||
//import com.ccsens.common.service.IProRoleService;
|
|||
//import com.ccsens.util.JsonResponse;
|
|||
//import com.ccsens.util.WebConstant;
|
|||
//import com.ccsens.util.bean.dto.QueryDto;
|
|||
//import io.jsonwebtoken.Claims;
|
|||
//import io.swagger.annotations.Api;
|
|||
//import io.swagger.annotations.ApiImplicitParams;
|
|||
//import io.swagger.annotations.ApiOperation;
|
|||
//import io.swagger.annotations.ApiParam;
|
|||
//import lombok.extern.slf4j.Slf4j;
|
|||
//import org.springframework.validation.annotation.Validated;
|
|||
//import org.springframework.web.bind.annotation.RequestBody;
|
|||
//import org.springframework.web.bind.annotation.RequestMapping;
|
|||
//import org.springframework.web.bind.annotation.RequestMethod;
|
|||
//import org.springframework.web.bind.annotation.RestController;
|
|||
//
|
|||
//import javax.annotation.Resource;
|
|||
//import javax.servlet.http.HttpServletRequest;
|
|||
//import java.util.List;
|
|||
//
|
|||
//@Api(tags = "角色操作相关api" )
|
|||
//@RestController
|
|||
//@RequestMapping("/roles")
|
|||
//@Slf4j
|
|||
//public class RoleController {
|
|||
//
|
|||
// @Resource
|
|||
// private IProRoleService proRoleService;
|
|||
//
|
|||
// @MustLogin
|
|||
// @ApiOperation(value = "查询角色栏展示的角色",notes = "")
|
|||
// @ApiImplicitParams({
|
|||
// })
|
|||
// @RequestMapping(value = "/QueryRoleShow", method = RequestMethod.POST, produces = {"application/json;charset=UTF-8"})
|
|||
// public JsonResponse<RoleVo.QueryRole> queryByProjectVirtualRole(
|
|||
// @ApiParam @Validated @RequestBody QueryDto<RoleDto.QueryRole> params) throws Exception {
|
|||
// log.info("查询角色栏展示的角色:{}",params);
|
|||
// RoleVo.QueryRole list = proRoleService.QueryShowRole(params.getParam(),params.getUserId());
|
|||
// log.info("查询角色栏展示的角色成功");
|
|||
// return JsonResponse.newInstance().ok(list);
|
|||
// }
|
|||
//
|
|||
//
|
|||
// @MustLogin
|
|||
// @ApiOperation(value = "配置角色栏展示的角色",notes = "")
|
|||
// @ApiImplicitParams({
|
|||
// })
|
|||
// @RequestMapping(value = "/UpdateRoleShow", method = RequestMethod.POST, produces = {"application/json;charset=UTF-8"})
|
|||
// public JsonResponse updateShowRole(
|
|||
// @ApiParam @Validated @RequestBody QueryDto<RoleDto.UpdateRoleShow> params) throws Exception {
|
|||
// log.info("配置角色栏展示的角色:{}",params);
|
|||
// proRoleService.updateShowRole(params.getParam(),params.getUserId());
|
|||
// log.info("配置角色栏展示的角色成功");
|
|||
// return JsonResponse.newInstance().ok();
|
|||
// }
|
|||
//}
|
|||
//=======
|
|||
////package com.ccsens.common.api;
|
|||
////
|
|||
////import com.ccsens.cloudutil.annotation.MustLogin;
|
|||
////import com.ccsens.common.bean.dto.RoleDto;
|
|||
////import com.ccsens.common.bean.vo.RoleVo;
|
|||
////import com.ccsens.common.service.IProRoleService;
|
|||
////import com.ccsens.util.JsonResponse;
|
|||
////import com.ccsens.util.WebConstant;
|
|||
////import com.ccsens.util.bean.dto.QueryDto;
|
|||
////import io.jsonwebtoken.Claims;
|
|||
////import io.swagger.annotations.Api;
|
|||
////import io.swagger.annotations.ApiImplicitParams;
|
|||
////import io.swagger.annotations.ApiOperation;
|
|||
////import io.swagger.annotations.ApiParam;
|
|||
////import lombok.extern.slf4j.Slf4j;
|
|||
////import org.springframework.validation.annotation.Validated;
|
|||
////import org.springframework.web.bind.annotation.RequestBody;
|
|||
////import org.springframework.web.bind.annotation.RequestMapping;
|
|||
////import org.springframework.web.bind.annotation.RequestMethod;
|
|||
////import org.springframework.web.bind.annotation.RestController;
|
|||
////
|
|||
////import javax.annotation.Resource;
|
|||
////import javax.servlet.http.HttpServletRequest;
|
|||
////import java.util.List;
|
|||
////
|
|||
////@Api(tags = "角色操作相关api" )
|
|||
////@RestController
|
|||
////@RequestMapping("/roles")
|
|||
////@Slf4j
|
|||
////public class RoleController {
|
|||
////
|
|||
//// @Resource
|
|||
//// private IProRoleService proRoleService;
|
|||
////
|
|||
//// @MustLogin
|
|||
//// @ApiOperation(value = "查询角色栏展示的角色",notes = "")
|
|||
//// @ApiImplicitParams({
|
|||
//// })
|
|||
//// @RequestMapping(value = "/QueryRoleShow", method = RequestMethod.POST, produces = {"application/json;charset=UTF-8"})
|
|||
//// public JsonResponse<RoleVo.QueryRole> queryByProjectVirtualRole(
|
|||
//// @ApiParam @Validated @RequestBody QueryDto<RoleDto.QueryRoleById> params) throws Exception {
|
|||
//// log.info("查询角色栏展示的角色:{}",params);
|
|||
////// params.setUserId(1373938255183089664L);
|
|||
//// RoleVo.QueryRole list = proRoleService.QueryShowRole(params.getParam(),params.getUserId());
|
|||
//// log.info("查询角色栏展示的角色成功");
|
|||
//// return JsonResponse.newInstance().ok(list);
|
|||
//// }
|
|||
////
|
|||
////
|
|||
//// @MustLogin
|
|||
//// @ApiOperation(value = "配置角色栏展示的角色",notes = "")
|
|||
//// @ApiImplicitParams({
|
|||
//// })
|
|||
//// @RequestMapping(value = "/UpdateRoleShow", method = RequestMethod.POST, produces = {"application/json;charset=UTF-8"})
|
|||
//// public JsonResponse updateShowRole(
|
|||
//// @ApiParam @Validated @RequestBody QueryDto<RoleDto.UpdateRoleShow> params) throws Exception {
|
|||
//// log.info("配置角色栏展示的角色:{}",params);
|
|||
//// proRoleService.updateShowRole(params.getParam(),params.getUserId());
|
|||
//// log.info("配置角色栏展示的角色成功");
|
|||
//// return JsonResponse.newInstance().ok();
|
|||
//// }
|
|||
////}
|
|||
//>>>>>>> 782d677105fbb5620d4a3fe4e812ddb7f5a63897
|
|||
|
@ -1,64 +1,64 @@ |
|||
package com.ccsens.common.api; |
|||
|
|||
import com.ccsens.cloudutil.annotation.MustLogin; |
|||
import com.ccsens.common.bean.dto.TaskDto; |
|||
import com.ccsens.common.bean.vo.TaskVo; |
|||
import com.ccsens.common.service.ITaskService; |
|||
import com.ccsens.util.JsonResponse; |
|||
import com.ccsens.util.bean.dto.QueryDto; |
|||
import io.swagger.annotations.Api; |
|||
import io.swagger.annotations.ApiOperation; |
|||
import io.swagger.annotations.ApiParam; |
|||
import lombok.extern.slf4j.Slf4j; |
|||
import org.springframework.validation.annotation.Validated; |
|||
import org.springframework.web.bind.annotation.RequestBody; |
|||
import org.springframework.web.bind.annotation.RequestMapping; |
|||
import org.springframework.web.bind.annotation.RequestMethod; |
|||
import org.springframework.web.bind.annotation.RestController; |
|||
|
|||
import javax.annotation.Resource; |
|||
import java.util.List; |
|||
|
|||
/** |
|||
* @author 逗 |
|||
*/ |
|||
@Api(tags = "DEBUG" , description = "DebugController | ") |
|||
@RestController |
|||
@RequestMapping("/task") |
|||
@Slf4j |
|||
public class TaskController { |
|||
|
|||
@Resource |
|||
private ITaskService taskService; |
|||
|
|||
@MustLogin |
|||
@ApiOperation(value = "查找永久日常任务", notes = "") |
|||
@RequestMapping(value = "/permanent", method = RequestMethod.POST, produces = {"application/json;charset=UTF-8"}) |
|||
public JsonResponse<List<TaskVo.QueryTask>> queryPermanentGlobalTask(@ApiParam @Validated @RequestBody QueryDto<TaskDto.QueryPermanentGlobalTask> params) { |
|||
log.info("查找永久日常任务开始{}",params); |
|||
List<TaskVo.QueryTask> permanentGlobalTaskList = taskService.queryPermanentGlobalTask(params.getParam(),params.getUserId()); |
|||
log.info("查找永久日常任务结束{}",permanentGlobalTaskList); |
|||
return JsonResponse.newInstance().ok(permanentGlobalTaskList); |
|||
} |
|||
|
|||
@MustLogin |
|||
@ApiOperation(value = "查找带时间的日常任务", notes = "") |
|||
@RequestMapping(value = "/global", method = RequestMethod.POST, produces = {"application/json;charset=UTF-8"}) |
|||
public JsonResponse<List<TaskVo.QueryTask>> queryGlobalTask(@ApiParam @Validated @RequestBody QueryDto<TaskDto.QueryGlobalTask> params) { |
|||
log.info("查找带时间的日常任务开始{}",params); |
|||
List<TaskVo.QueryTask> globalTask = taskService.queryGlobalTask(params.getParam(),params.getUserId()); |
|||
log.info("查找带时间的日常任务结束{}",globalTask); |
|||
return JsonResponse.newInstance().ok(globalTask); |
|||
} |
|||
|
|||
@MustLogin |
|||
@ApiOperation(value = "查找带时间的定期任务", notes = "") |
|||
@RequestMapping(value = "/regular", method = RequestMethod.POST, produces = {"application/json;charset=UTF-8"}) |
|||
public JsonResponse<List<TaskVo.QueryTask>> queryRegularTask(@ApiParam @Validated @RequestBody QueryDto<TaskDto.QueryRegularTask> params) { |
|||
log.info("查找带时间的定期任务开始{}",params); |
|||
|
|||
log.info("查找带时间的定期任务结束{}"); |
|||
return JsonResponse.newInstance().ok(); |
|||
} |
|||
|
|||
} |
|||
//package com.ccsens.common.api;
|
|||
//
|
|||
//import com.ccsens.cloudutil.annotation.MustLogin;
|
|||
//import com.ccsens.common.bean.dto.TaskDto;
|
|||
//import com.ccsens.common.bean.vo.TaskVo;
|
|||
//import com.ccsens.common.service.ITaskService;
|
|||
//import com.ccsens.util.JsonResponse;
|
|||
//import com.ccsens.util.bean.dto.QueryDto;
|
|||
//import io.swagger.annotations.Api;
|
|||
//import io.swagger.annotations.ApiOperation;
|
|||
//import io.swagger.annotations.ApiParam;
|
|||
//import lombok.extern.slf4j.Slf4j;
|
|||
//import org.springframework.validation.annotation.Validated;
|
|||
//import org.springframework.web.bind.annotation.RequestBody;
|
|||
//import org.springframework.web.bind.annotation.RequestMapping;
|
|||
//import org.springframework.web.bind.annotation.RequestMethod;
|
|||
//import org.springframework.web.bind.annotation.RestController;
|
|||
//
|
|||
//import javax.annotation.Resource;
|
|||
//import java.util.List;
|
|||
//
|
|||
///**
|
|||
// * @author 逗
|
|||
// */
|
|||
//@Api(tags = "DEBUG" , description = "DebugController | ")
|
|||
//@RestController
|
|||
//@RequestMapping("/task")
|
|||
//@Slf4j
|
|||
//public class TaskController {
|
|||
//
|
|||
// @Resource
|
|||
// private ITaskService taskService;
|
|||
//
|
|||
// @MustLogin
|
|||
// @ApiOperation(value = "查找永久日常任务", notes = "")
|
|||
// @RequestMapping(value = "/permanent", method = RequestMethod.POST, produces = {"application/json;charset=UTF-8"})
|
|||
// public JsonResponse<List<TaskVo.QueryTask>> queryPermanentGlobalTask(@ApiParam @Validated @RequestBody QueryDto<TaskDto.QueryPermanentGlobalTask> params) {
|
|||
// log.info("查找永久日常任务开始{}",params);
|
|||
// List<TaskVo.QueryTask> permanentGlobalTaskList = taskService.queryPermanentGlobalTask(params.getParam(),params.getUserId());
|
|||
// log.info("查找永久日常任务结束{}",permanentGlobalTaskList);
|
|||
// return JsonResponse.newInstance().ok(permanentGlobalTaskList);
|
|||
// }
|
|||
//
|
|||
// @MustLogin
|
|||
// @ApiOperation(value = "查找带时间的日常任务", notes = "")
|
|||
// @RequestMapping(value = "/global", method = RequestMethod.POST, produces = {"application/json;charset=UTF-8"})
|
|||
// public JsonResponse<List<TaskVo.QueryTask>> queryGlobalTask(@ApiParam @Validated @RequestBody QueryDto<TaskDto.QueryGlobalTask> params) {
|
|||
// log.info("查找带时间的日常任务开始{}",params);
|
|||
// List<TaskVo.QueryTask> globalTask = taskService.queryGlobalTask(params.getParam(),params.getUserId());
|
|||
// log.info("查找带时间的日常任务结束{}",globalTask);
|
|||
// return JsonResponse.newInstance().ok(globalTask);
|
|||
// }
|
|||
//
|
|||
// @MustLogin
|
|||
// @ApiOperation(value = "查找带时间的定期任务", notes = "")
|
|||
// @RequestMapping(value = "/regular", method = RequestMethod.POST, produces = {"application/json;charset=UTF-8"})
|
|||
// public JsonResponse<List<TaskVo.QueryTask>> queryRegularTask(@ApiParam @Validated @RequestBody QueryDto<TaskDto.QueryRegularTask> params) {
|
|||
// log.info("查找带时间的定期任务开始{}",params);
|
|||
//
|
|||
// log.info("查找带时间的定期任务结束{}");
|
|||
// return JsonResponse.newInstance().ok();
|
|||
// }
|
|||
//
|
|||
//}
|
|||
|
@ -1,22 +1,24 @@ |
|||
package com.ccsens.common.bean.dto; |
|||
|
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.NotNull; |
|||
|
|||
@Data |
|||
public class PluginDto { |
|||
|
|||
|
|||
@Data |
|||
@ApiModel("根据插件id查询插件信息入参") |
|||
public static class QueryPlugins{ |
|||
@NotNull(message = "项目id不能为空") |
|||
@ApiModelProperty("插件id") |
|||
private Long pluginId; |
|||
@ApiModelProperty("插件样式(样式类型 (1一行 2两行 3半屏))") |
|||
private byte styleType; |
|||
} |
|||
} |
|||
package com.ccsens.common.bean.dto; |
|||
|
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.NotNull; |
|||
|
|||
/** |
|||
* @author 逗 |
|||
*/ |
|||
@Data |
|||
public class PluginDto { |
|||
|
|||
@Data |
|||
@ApiModel("根据id查看插件") |
|||
public static class GetPlugin{ |
|||
@NotNull(message = "插件id不能为空") |
|||
@ApiModelProperty("插件id") |
|||
private Long pluginId; |
|||
@ApiModelProperty("样式类型 (1一行 2两行 3半屏)") |
|||
private int styleType; |
|||
} |
|||
} |
|||
|
@ -1,19 +1,19 @@ |
|||
package com.ccsens.common.bean.dto; |
|||
|
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.NotNull; |
|||
|
|||
@Data |
|||
public class ProjectDto { |
|||
|
|||
@Data |
|||
@ApiModel("根据id查找项目信息") |
|||
public static class ProjectById { |
|||
@NotNull(message = "请选择项目") |
|||
@ApiModelProperty("项目id") |
|||
private Long projectId; |
|||
} |
|||
} |
|||
package com.ccsens.common.bean.dto; |
|||
|
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.NotNull; |
|||
|
|||
@Data |
|||
public class ProjectDto { |
|||
|
|||
@Data |
|||
@ApiModel("根据id查找项目信息") |
|||
public static class ProjectById { |
|||
@NotNull(message = "请选择项目") |
|||
@ApiModelProperty("项目id") |
|||
private Long projectId; |
|||
} |
|||
} |
|||
|
@ -1,29 +1,29 @@ |
|||
package com.ccsens.common.bean.dto; |
|||
|
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.NotNull; |
|||
import java.util.List; |
|||
|
|||
@Data |
|||
public class RoleDto { |
|||
@Data |
|||
@ApiModel("查看角色栏展示") |
|||
public static class QueryRole{ |
|||
@NotNull(message = "项目id不能为空") |
|||
@ApiModelProperty("项目id") |
|||
private Long projectId; |
|||
} |
|||
|
|||
@Data |
|||
@ApiModel("查看永久日常任务") |
|||
public static class UpdateRoleShow{ |
|||
@NotNull(message = "项目id不能为空") |
|||
@ApiModelProperty("项目id") |
|||
private Long projectId; |
|||
@ApiModelProperty("角色id") |
|||
private List<Long> roleIds; |
|||
} |
|||
} |
|||
package com.ccsens.common.bean.dto; |
|||
|
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.NotNull; |
|||
import java.util.List; |
|||
|
|||
@Data |
|||
public class RoleDto { |
|||
@Data |
|||
@ApiModel("查看角色栏展示") |
|||
public static class QueryRoleById{ |
|||
@NotNull(message = "项目id不能为空") |
|||
@ApiModelProperty("项目id") |
|||
private Long projectId; |
|||
} |
|||
|
|||
@Data |
|||
@ApiModel("修改角色栏展示") |
|||
public static class UpdateRoleShow{ |
|||
@NotNull(message = "项目id不能为空") |
|||
@ApiModelProperty("项目id") |
|||
private Long projectId; |
|||
@ApiModelProperty("角色id") |
|||
private List<Long> roleIds; |
|||
} |
|||
} |
|||
|
@ -1,106 +1,106 @@ |
|||
package com.ccsens.common.bean.po; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.Date; |
|||
|
|||
public class Label_Business implements Serializable { |
|||
private Long id; |
|||
|
|||
private Long labelId; |
|||
|
|||
private Long userId; |
|||
|
|||
private Byte businessType; |
|||
|
|||
private Long businessId; |
|||
|
|||
private Date createdAt; |
|||
|
|||
private Date updatedAt; |
|||
|
|||
private Byte recStatus; |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
public Long getId() { |
|||
return id; |
|||
} |
|||
|
|||
public void setId(Long id) { |
|||
this.id = id; |
|||
} |
|||
|
|||
public Long getLabelId() { |
|||
return labelId; |
|||
} |
|||
|
|||
public void setLabelId(Long labelId) { |
|||
this.labelId = labelId; |
|||
} |
|||
|
|||
public Long getUserId() { |
|||
return userId; |
|||
} |
|||
|
|||
public void setUserId(Long userId) { |
|||
this.userId = userId; |
|||
} |
|||
|
|||
public Byte getBusinessType() { |
|||
return businessType; |
|||
} |
|||
|
|||
public void setBusinessType(Byte businessType) { |
|||
this.businessType = businessType; |
|||
} |
|||
|
|||
public Long getBusinessId() { |
|||
return businessId; |
|||
} |
|||
|
|||
public void setBusinessId(Long businessId) { |
|||
this.businessId = businessId; |
|||
} |
|||
|
|||
public Date getCreatedAt() { |
|||
return createdAt; |
|||
} |
|||
|
|||
public void setCreatedAt(Date createdAt) { |
|||
this.createdAt = createdAt; |
|||
} |
|||
|
|||
public Date getUpdatedAt() { |
|||
return updatedAt; |
|||
} |
|||
|
|||
public void setUpdatedAt(Date updatedAt) { |
|||
this.updatedAt = updatedAt; |
|||
} |
|||
|
|||
public Byte getRecStatus() { |
|||
return recStatus; |
|||
} |
|||
|
|||
public void setRecStatus(Byte recStatus) { |
|||
this.recStatus = recStatus; |
|||
} |
|||
|
|||
@Override |
|||
public String toString() { |
|||
StringBuilder sb = new StringBuilder(); |
|||
sb.append(getClass().getSimpleName()); |
|||
sb.append(" ["); |
|||
sb.append("Hash = ").append(hashCode()); |
|||
sb.append(", id=").append(id); |
|||
sb.append(", labelId=").append(labelId); |
|||
sb.append(", userId=").append(userId); |
|||
sb.append(", businessType=").append(businessType); |
|||
sb.append(", businessId=").append(businessId); |
|||
sb.append(", createdAt=").append(createdAt); |
|||
sb.append(", updatedAt=").append(updatedAt); |
|||
sb.append(", recStatus=").append(recStatus); |
|||
sb.append("]"); |
|||
return sb.toString(); |
|||
} |
|||
package com.ccsens.common.bean.po; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.Date; |
|||
|
|||
public class LabelBusiness implements Serializable { |
|||
private Long id; |
|||
|
|||
private Long labelId; |
|||
|
|||
private Long userId; |
|||
|
|||
private Byte businessType; |
|||
|
|||
private Long businessId; |
|||
|
|||
private Date createdAt; |
|||
|
|||
private Date updatedAt; |
|||
|
|||
private Byte recStatus; |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
public Long getId() { |
|||
return id; |
|||
} |
|||
|
|||
public void setId(Long id) { |
|||
this.id = id; |
|||
} |
|||
|
|||
public Long getLabelId() { |
|||
return labelId; |
|||
} |
|||
|
|||
public void setLabelId(Long labelId) { |
|||
this.labelId = labelId; |
|||
} |
|||
|
|||
public Long getUserId() { |
|||
return userId; |
|||
} |
|||
|
|||
public void setUserId(Long userId) { |
|||
this.userId = userId; |
|||
} |
|||
|
|||
public Byte getBusinessType() { |
|||
return businessType; |
|||
} |
|||
|
|||
public void setBusinessType(Byte businessType) { |
|||
this.businessType = businessType; |
|||
} |
|||
|
|||
public Long getBusinessId() { |
|||
return businessId; |
|||
} |
|||
|
|||
public void setBusinessId(Long businessId) { |
|||
this.businessId = businessId; |
|||
} |
|||
|
|||
public Date getCreatedAt() { |
|||
return createdAt; |
|||
} |
|||
|
|||
public void setCreatedAt(Date createdAt) { |
|||
this.createdAt = createdAt; |
|||
} |
|||
|
|||
public Date getUpdatedAt() { |
|||
return updatedAt; |
|||
} |
|||
|
|||
public void setUpdatedAt(Date updatedAt) { |
|||
this.updatedAt = updatedAt; |
|||
} |
|||
|
|||
public Byte getRecStatus() { |
|||
return recStatus; |
|||
} |
|||
|
|||
public void setRecStatus(Byte recStatus) { |
|||
this.recStatus = recStatus; |
|||
} |
|||
|
|||
@Override |
|||
public String toString() { |
|||
StringBuilder sb = new StringBuilder(); |
|||
sb.append(getClass().getSimpleName()); |
|||
sb.append(" ["); |
|||
sb.append("Hash = ").append(hashCode()); |
|||
sb.append(", id=").append(id); |
|||
sb.append(", labelId=").append(labelId); |
|||
sb.append(", userId=").append(userId); |
|||
sb.append(", businessType=").append(businessType); |
|||
sb.append(", businessId=").append(businessId); |
|||
sb.append(", createdAt=").append(createdAt); |
|||
sb.append(", updatedAt=").append(updatedAt); |
|||
sb.append(", recStatus=").append(recStatus); |
|||
sb.append("]"); |
|||
return sb.toString(); |
|||
} |
|||
} |
File diff suppressed because it is too large
@ -0,0 +1,117 @@ |
|||
package com.ccsens.common.bean.po; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.Date; |
|||
|
|||
public class ProMemberStakeholder implements Serializable { |
|||
private Long id; |
|||
|
|||
private Long memeberId; |
|||
|
|||
private String stakeholderName; |
|||
|
|||
private String stakeholderPhone; |
|||
|
|||
private Long userId; |
|||
|
|||
private Long operator; |
|||
|
|||
private Date createdAt; |
|||
|
|||
private Date updatedAt; |
|||
|
|||
private Byte recStatus; |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
public Long getId() { |
|||
return id; |
|||
} |
|||
|
|||
public void setId(Long id) { |
|||
this.id = id; |
|||
} |
|||
|
|||
public Long getMemeberId() { |
|||
return memeberId; |
|||
} |
|||
|
|||
public void setMemeberId(Long memeberId) { |
|||
this.memeberId = memeberId; |
|||
} |
|||
|
|||
public String getStakeholderName() { |
|||
return stakeholderName; |
|||
} |
|||
|
|||
public void setStakeholderName(String stakeholderName) { |
|||
this.stakeholderName = stakeholderName == null ? null : stakeholderName.trim(); |
|||
} |
|||
|
|||
public String getStakeholderPhone() { |
|||
return stakeholderPhone; |
|||
} |
|||
|
|||
public void setStakeholderPhone(String stakeholderPhone) { |
|||
this.stakeholderPhone = stakeholderPhone == null ? null : stakeholderPhone.trim(); |
|||
} |
|||
|
|||
public Long getUserId() { |
|||
return userId; |
|||
} |
|||
|
|||
public void setUserId(Long userId) { |
|||
this.userId = userId; |
|||
} |
|||
|
|||
public Long getOperator() { |
|||
return operator; |
|||
} |
|||
|
|||
public void setOperator(Long operator) { |
|||
this.operator = operator; |
|||
} |
|||
|
|||
public Date getCreatedAt() { |
|||
return createdAt; |
|||
} |
|||
|
|||
public void setCreatedAt(Date createdAt) { |
|||
this.createdAt = createdAt; |
|||
} |
|||
|
|||
public Date getUpdatedAt() { |
|||
return updatedAt; |
|||
} |
|||
|
|||
public void setUpdatedAt(Date updatedAt) { |
|||
this.updatedAt = updatedAt; |
|||
} |
|||
|
|||
public Byte getRecStatus() { |
|||
return recStatus; |
|||
} |
|||
|
|||
public void setRecStatus(Byte recStatus) { |
|||
this.recStatus = recStatus; |
|||
} |
|||
|
|||
@Override |
|||
public String toString() { |
|||
StringBuilder sb = new StringBuilder(); |
|||
sb.append(getClass().getSimpleName()); |
|||
sb.append(" ["); |
|||
sb.append("Hash = ").append(hashCode()); |
|||
sb.append(", id=").append(id); |
|||
sb.append(", memeberId=").append(memeberId); |
|||
sb.append(", stakeholderName=").append(stakeholderName); |
|||
sb.append(", stakeholderPhone=").append(stakeholderPhone); |
|||
sb.append(", userId=").append(userId); |
|||
sb.append(", operator=").append(operator); |
|||
sb.append(", createdAt=").append(createdAt); |
|||
sb.append(", updatedAt=").append(updatedAt); |
|||
sb.append(", recStatus=").append(recStatus); |
|||
sb.append("]"); |
|||
return sb.toString(); |
|||
} |
|||
} |
@ -0,0 +1,761 @@ |
|||
package com.ccsens.common.bean.po; |
|||
|
|||
import java.util.ArrayList; |
|||
import java.util.Date; |
|||
import java.util.List; |
|||
|
|||
public class ProMemberStakeholderExample { |
|||
protected String orderByClause; |
|||
|
|||
protected boolean distinct; |
|||
|
|||
protected List<Criteria> oredCriteria; |
|||
|
|||
public ProMemberStakeholderExample() { |
|||
oredCriteria = new ArrayList<Criteria>(); |
|||
} |
|||
|
|||
public void setOrderByClause(String orderByClause) { |
|||
this.orderByClause = orderByClause; |
|||
} |
|||
|
|||
public String getOrderByClause() { |
|||
return orderByClause; |
|||
} |
|||
|
|||
public void setDistinct(boolean distinct) { |
|||
this.distinct = distinct; |
|||
} |
|||
|
|||
public boolean isDistinct() { |
|||
return distinct; |
|||
} |
|||
|
|||
public List<Criteria> getOredCriteria() { |
|||
return oredCriteria; |
|||
} |
|||
|
|||
public void or(Criteria criteria) { |
|||
oredCriteria.add(criteria); |
|||
} |
|||
|
|||
public Criteria or() { |
|||
Criteria criteria = createCriteriaInternal(); |
|||
oredCriteria.add(criteria); |
|||
return criteria; |
|||
} |
|||
|
|||
public Criteria createCriteria() { |
|||
Criteria criteria = createCriteriaInternal(); |
|||
if (oredCriteria.size() == 0) { |
|||
oredCriteria.add(criteria); |
|||
} |
|||
return criteria; |
|||
} |
|||
|
|||
protected Criteria createCriteriaInternal() { |
|||
Criteria criteria = new Criteria(); |
|||
return criteria; |
|||
} |
|||
|
|||
public void clear() { |
|||
oredCriteria.clear(); |
|||
orderByClause = null; |
|||
distinct = false; |
|||
} |
|||
|
|||
protected abstract static class GeneratedCriteria { |
|||
protected List<Criterion> criteria; |
|||
|
|||
protected GeneratedCriteria() { |
|||
super(); |
|||
criteria = new ArrayList<Criterion>(); |
|||
} |
|||
|
|||
public boolean isValid() { |
|||
return criteria.size() > 0; |
|||
} |
|||
|
|||
public List<Criterion> getAllCriteria() { |
|||
return criteria; |
|||
} |
|||
|
|||
public List<Criterion> getCriteria() { |
|||
return criteria; |
|||
} |
|||
|
|||
protected void addCriterion(String condition) { |
|||
if (condition == null) { |
|||
throw new RuntimeException("Value for condition cannot be null"); |
|||
} |
|||
criteria.add(new Criterion(condition)); |
|||
} |
|||
|
|||
protected void addCriterion(String condition, Object value, String property) { |
|||
if (value == null) { |
|||
throw new RuntimeException("Value for " + property + " cannot be null"); |
|||
} |
|||
criteria.add(new Criterion(condition, value)); |
|||
} |
|||
|
|||
protected void addCriterion(String condition, Object value1, Object value2, String property) { |
|||
if (value1 == null || value2 == null) { |
|||
throw new RuntimeException("Between values for " + property + " cannot be null"); |
|||
} |
|||
criteria.add(new Criterion(condition, value1, value2)); |
|||
} |
|||
|
|||
public Criteria andIdIsNull() { |
|||
addCriterion("id is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdIsNotNull() { |
|||
addCriterion("id is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdEqualTo(Long value) { |
|||
addCriterion("id =", value, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdNotEqualTo(Long value) { |
|||
addCriterion("id <>", value, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdGreaterThan(Long value) { |
|||
addCriterion("id >", value, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdGreaterThanOrEqualTo(Long value) { |
|||
addCriterion("id >=", value, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdLessThan(Long value) { |
|||
addCriterion("id <", value, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdLessThanOrEqualTo(Long value) { |
|||
addCriterion("id <=", value, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdIn(List<Long> values) { |
|||
addCriterion("id in", values, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdNotIn(List<Long> values) { |
|||
addCriterion("id not in", values, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdBetween(Long value1, Long value2) { |
|||
addCriterion("id between", value1, value2, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andIdNotBetween(Long value1, Long value2) { |
|||
addCriterion("id not between", value1, value2, "id"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andMemeberIdIsNull() { |
|||
addCriterion("memeber_id is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andMemeberIdIsNotNull() { |
|||
addCriterion("memeber_id is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andMemeberIdEqualTo(Long value) { |
|||
addCriterion("memeber_id =", value, "memeberId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andMemeberIdNotEqualTo(Long value) { |
|||
addCriterion("memeber_id <>", value, "memeberId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andMemeberIdGreaterThan(Long value) { |
|||
addCriterion("memeber_id >", value, "memeberId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andMemeberIdGreaterThanOrEqualTo(Long value) { |
|||
addCriterion("memeber_id >=", value, "memeberId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andMemeberIdLessThan(Long value) { |
|||
addCriterion("memeber_id <", value, "memeberId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andMemeberIdLessThanOrEqualTo(Long value) { |
|||
addCriterion("memeber_id <=", value, "memeberId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andMemeberIdIn(List<Long> values) { |
|||
addCriterion("memeber_id in", values, "memeberId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andMemeberIdNotIn(List<Long> values) { |
|||
addCriterion("memeber_id not in", values, "memeberId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andMemeberIdBetween(Long value1, Long value2) { |
|||
addCriterion("memeber_id between", value1, value2, "memeberId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andMemeberIdNotBetween(Long value1, Long value2) { |
|||
addCriterion("memeber_id not between", value1, value2, "memeberId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andStakeholderNameIsNull() { |
|||
addCriterion("stakeholder_name is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andStakeholderNameIsNotNull() { |
|||
addCriterion("stakeholder_name is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andStakeholderNameEqualTo(String value) { |
|||
addCriterion("stakeholder_name =", value, "stakeholderName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andStakeholderNameNotEqualTo(String value) { |
|||
addCriterion("stakeholder_name <>", value, "stakeholderName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andStakeholderNameGreaterThan(String value) { |
|||
addCriterion("stakeholder_name >", value, "stakeholderName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andStakeholderNameGreaterThanOrEqualTo(String value) { |
|||
addCriterion("stakeholder_name >=", value, "stakeholderName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andStakeholderNameLessThan(String value) { |
|||
addCriterion("stakeholder_name <", value, "stakeholderName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andStakeholderNameLessThanOrEqualTo(String value) { |
|||
addCriterion("stakeholder_name <=", value, "stakeholderName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andStakeholderNameLike(String value) { |
|||
addCriterion("stakeholder_name like", value, "stakeholderName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andStakeholderNameNotLike(String value) { |
|||
addCriterion("stakeholder_name not like", value, "stakeholderName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andStakeholderNameIn(List<String> values) { |
|||
addCriterion("stakeholder_name in", values, "stakeholderName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andStakeholderNameNotIn(List<String> values) { |
|||
addCriterion("stakeholder_name not in", values, "stakeholderName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andStakeholderNameBetween(String value1, String value2) { |
|||
addCriterion("stakeholder_name between", value1, value2, "stakeholderName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andStakeholderNameNotBetween(String value1, String value2) { |
|||
addCriterion("stakeholder_name not between", value1, value2, "stakeholderName"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andStakeholderPhoneIsNull() { |
|||
addCriterion("stakeholder_phone is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andStakeholderPhoneIsNotNull() { |
|||
addCriterion("stakeholder_phone is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andStakeholderPhoneEqualTo(String value) { |
|||
addCriterion("stakeholder_phone =", value, "stakeholderPhone"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andStakeholderPhoneNotEqualTo(String value) { |
|||
addCriterion("stakeholder_phone <>", value, "stakeholderPhone"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andStakeholderPhoneGreaterThan(String value) { |
|||
addCriterion("stakeholder_phone >", value, "stakeholderPhone"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andStakeholderPhoneGreaterThanOrEqualTo(String value) { |
|||
addCriterion("stakeholder_phone >=", value, "stakeholderPhone"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andStakeholderPhoneLessThan(String value) { |
|||
addCriterion("stakeholder_phone <", value, "stakeholderPhone"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andStakeholderPhoneLessThanOrEqualTo(String value) { |
|||
addCriterion("stakeholder_phone <=", value, "stakeholderPhone"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andStakeholderPhoneLike(String value) { |
|||
addCriterion("stakeholder_phone like", value, "stakeholderPhone"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andStakeholderPhoneNotLike(String value) { |
|||
addCriterion("stakeholder_phone not like", value, "stakeholderPhone"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andStakeholderPhoneIn(List<String> values) { |
|||
addCriterion("stakeholder_phone in", values, "stakeholderPhone"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andStakeholderPhoneNotIn(List<String> values) { |
|||
addCriterion("stakeholder_phone not in", values, "stakeholderPhone"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andStakeholderPhoneBetween(String value1, String value2) { |
|||
addCriterion("stakeholder_phone between", value1, value2, "stakeholderPhone"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andStakeholderPhoneNotBetween(String value1, String value2) { |
|||
addCriterion("stakeholder_phone not between", value1, value2, "stakeholderPhone"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUserIdIsNull() { |
|||
addCriterion("user_id is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUserIdIsNotNull() { |
|||
addCriterion("user_id is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUserIdEqualTo(Long value) { |
|||
addCriterion("user_id =", value, "userId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUserIdNotEqualTo(Long value) { |
|||
addCriterion("user_id <>", value, "userId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUserIdGreaterThan(Long value) { |
|||
addCriterion("user_id >", value, "userId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUserIdGreaterThanOrEqualTo(Long value) { |
|||
addCriterion("user_id >=", value, "userId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUserIdLessThan(Long value) { |
|||
addCriterion("user_id <", value, "userId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUserIdLessThanOrEqualTo(Long value) { |
|||
addCriterion("user_id <=", value, "userId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUserIdIn(List<Long> values) { |
|||
addCriterion("user_id in", values, "userId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUserIdNotIn(List<Long> values) { |
|||
addCriterion("user_id not in", values, "userId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUserIdBetween(Long value1, Long value2) { |
|||
addCriterion("user_id between", value1, value2, "userId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUserIdNotBetween(Long value1, Long value2) { |
|||
addCriterion("user_id not between", value1, value2, "userId"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOperatorIsNull() { |
|||
addCriterion("operator is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOperatorIsNotNull() { |
|||
addCriterion("operator is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOperatorEqualTo(Long value) { |
|||
addCriterion("operator =", value, "operator"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOperatorNotEqualTo(Long value) { |
|||
addCriterion("operator <>", value, "operator"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOperatorGreaterThan(Long value) { |
|||
addCriterion("operator >", value, "operator"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOperatorGreaterThanOrEqualTo(Long value) { |
|||
addCriterion("operator >=", value, "operator"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOperatorLessThan(Long value) { |
|||
addCriterion("operator <", value, "operator"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOperatorLessThanOrEqualTo(Long value) { |
|||
addCriterion("operator <=", value, "operator"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOperatorIn(List<Long> values) { |
|||
addCriterion("operator in", values, "operator"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOperatorNotIn(List<Long> values) { |
|||
addCriterion("operator not in", values, "operator"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOperatorBetween(Long value1, Long value2) { |
|||
addCriterion("operator between", value1, value2, "operator"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andOperatorNotBetween(Long value1, Long value2) { |
|||
addCriterion("operator not between", value1, value2, "operator"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreatedAtIsNull() { |
|||
addCriterion("created_at is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreatedAtIsNotNull() { |
|||
addCriterion("created_at is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreatedAtEqualTo(Date value) { |
|||
addCriterion("created_at =", value, "createdAt"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreatedAtNotEqualTo(Date value) { |
|||
addCriterion("created_at <>", value, "createdAt"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreatedAtGreaterThan(Date value) { |
|||
addCriterion("created_at >", value, "createdAt"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreatedAtGreaterThanOrEqualTo(Date value) { |
|||
addCriterion("created_at >=", value, "createdAt"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreatedAtLessThan(Date value) { |
|||
addCriterion("created_at <", value, "createdAt"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreatedAtLessThanOrEqualTo(Date value) { |
|||
addCriterion("created_at <=", value, "createdAt"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreatedAtIn(List<Date> values) { |
|||
addCriterion("created_at in", values, "createdAt"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreatedAtNotIn(List<Date> values) { |
|||
addCriterion("created_at not in", values, "createdAt"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreatedAtBetween(Date value1, Date value2) { |
|||
addCriterion("created_at between", value1, value2, "createdAt"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andCreatedAtNotBetween(Date value1, Date value2) { |
|||
addCriterion("created_at not between", value1, value2, "createdAt"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdatedAtIsNull() { |
|||
addCriterion("updated_at is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdatedAtIsNotNull() { |
|||
addCriterion("updated_at is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdatedAtEqualTo(Date value) { |
|||
addCriterion("updated_at =", value, "updatedAt"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdatedAtNotEqualTo(Date value) { |
|||
addCriterion("updated_at <>", value, "updatedAt"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdatedAtGreaterThan(Date value) { |
|||
addCriterion("updated_at >", value, "updatedAt"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdatedAtGreaterThanOrEqualTo(Date value) { |
|||
addCriterion("updated_at >=", value, "updatedAt"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdatedAtLessThan(Date value) { |
|||
addCriterion("updated_at <", value, "updatedAt"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdatedAtLessThanOrEqualTo(Date value) { |
|||
addCriterion("updated_at <=", value, "updatedAt"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdatedAtIn(List<Date> values) { |
|||
addCriterion("updated_at in", values, "updatedAt"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdatedAtNotIn(List<Date> values) { |
|||
addCriterion("updated_at not in", values, "updatedAt"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdatedAtBetween(Date value1, Date value2) { |
|||
addCriterion("updated_at between", value1, value2, "updatedAt"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andUpdatedAtNotBetween(Date value1, Date value2) { |
|||
addCriterion("updated_at not between", value1, value2, "updatedAt"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andRecStatusIsNull() { |
|||
addCriterion("rec_status is null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andRecStatusIsNotNull() { |
|||
addCriterion("rec_status is not null"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andRecStatusEqualTo(Byte value) { |
|||
addCriterion("rec_status =", value, "recStatus"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andRecStatusNotEqualTo(Byte value) { |
|||
addCriterion("rec_status <>", value, "recStatus"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andRecStatusGreaterThan(Byte value) { |
|||
addCriterion("rec_status >", value, "recStatus"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andRecStatusGreaterThanOrEqualTo(Byte value) { |
|||
addCriterion("rec_status >=", value, "recStatus"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andRecStatusLessThan(Byte value) { |
|||
addCriterion("rec_status <", value, "recStatus"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andRecStatusLessThanOrEqualTo(Byte value) { |
|||
addCriterion("rec_status <=", value, "recStatus"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andRecStatusIn(List<Byte> values) { |
|||
addCriterion("rec_status in", values, "recStatus"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andRecStatusNotIn(List<Byte> values) { |
|||
addCriterion("rec_status not in", values, "recStatus"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andRecStatusBetween(Byte value1, Byte value2) { |
|||
addCriterion("rec_status between", value1, value2, "recStatus"); |
|||
return (Criteria) this; |
|||
} |
|||
|
|||
public Criteria andRecStatusNotBetween(Byte value1, Byte value2) { |
|||
addCriterion("rec_status not between", value1, value2, "recStatus"); |
|||
return (Criteria) this; |
|||
} |
|||
} |
|||
|
|||
public static class Criteria extends GeneratedCriteria { |
|||
|
|||
protected Criteria() { |
|||
super(); |
|||
} |
|||
} |
|||
|
|||
public static class Criterion { |
|||
private String condition; |
|||
|
|||
private Object value; |
|||
|
|||
private Object secondValue; |
|||
|
|||
private boolean noValue; |
|||
|
|||
private boolean singleValue; |
|||
|
|||
private boolean betweenValue; |
|||
|
|||
private boolean listValue; |
|||
|
|||
private String typeHandler; |
|||
|
|||
public String getCondition() { |
|||
return condition; |
|||
} |
|||
|
|||
public Object getValue() { |
|||
return value; |
|||
} |
|||
|
|||
public Object getSecondValue() { |
|||
return secondValue; |
|||
} |
|||
|
|||
public boolean isNoValue() { |
|||
return noValue; |
|||
} |
|||
|
|||
public boolean isSingleValue() { |
|||
return singleValue; |
|||
} |
|||
|
|||
public boolean isBetweenValue() { |
|||
return betweenValue; |
|||
} |
|||
|
|||
public boolean isListValue() { |
|||
return listValue; |
|||
} |
|||
|
|||
public String getTypeHandler() { |
|||
return typeHandler; |
|||
} |
|||
|
|||
protected Criterion(String condition) { |
|||
super(); |
|||
this.condition = condition; |
|||
this.typeHandler = null; |
|||
this.noValue = true; |
|||
} |
|||
|
|||
protected Criterion(String condition, Object value, String typeHandler) { |
|||
super(); |
|||
this.condition = condition; |
|||
this.value = value; |
|||
this.typeHandler = typeHandler; |
|||
if (value instanceof List<?>) { |
|||
this.listValue = true; |
|||
} else { |
|||
this.singleValue = true; |
|||
} |
|||
} |
|||
|
|||
protected Criterion(String condition, Object value) { |
|||
this(condition, value, null); |
|||
} |
|||
|
|||
protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { |
|||
super(); |
|||
this.condition = condition; |
|||
this.value = value; |
|||
this.secondValue = secondValue; |
|||
this.typeHandler = typeHandler; |
|||
this.betweenValue = true; |
|||
} |
|||
|
|||
protected Criterion(String condition, Object value, Object secondValue) { |
|||
this(condition, value, secondValue, null); |
|||
} |
|||
} |
|||
} |
@ -1,95 +1,106 @@ |
|||
package com.ccsens.common.bean.po; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.Date; |
|||
|
|||
public class ProTaskVersion implements Serializable { |
|||
private Long id; |
|||
|
|||
private Long taskDetailId; |
|||
|
|||
private String taskVersionInfo; |
|||
|
|||
private Byte projectType; |
|||
|
|||
private Date createdAt; |
|||
|
|||
private Date updatedAt; |
|||
|
|||
private Byte recStatus; |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
public Long getId() { |
|||
return id; |
|||
} |
|||
|
|||
public void setId(Long id) { |
|||
this.id = id; |
|||
} |
|||
|
|||
public Long getTaskDetailId() { |
|||
return taskDetailId; |
|||
} |
|||
|
|||
public void setTaskDetailId(Long taskDetailId) { |
|||
this.taskDetailId = taskDetailId; |
|||
} |
|||
|
|||
public String getTaskVersionInfo() { |
|||
return taskVersionInfo; |
|||
} |
|||
|
|||
public void setTaskVersionInfo(String taskVersionInfo) { |
|||
this.taskVersionInfo = taskVersionInfo == null ? null : taskVersionInfo.trim(); |
|||
} |
|||
|
|||
public Byte getProjectType() { |
|||
return projectType; |
|||
} |
|||
|
|||
public void setProjectType(Byte projectType) { |
|||
this.projectType = projectType; |
|||
} |
|||
|
|||
public Date getCreatedAt() { |
|||
return createdAt; |
|||
} |
|||
|
|||
public void setCreatedAt(Date createdAt) { |
|||
this.createdAt = createdAt; |
|||
} |
|||
|
|||
public Date getUpdatedAt() { |
|||
return updatedAt; |
|||
} |
|||
|
|||
public void setUpdatedAt(Date updatedAt) { |
|||
this.updatedAt = updatedAt; |
|||
} |
|||
|
|||
public Byte getRecStatus() { |
|||
return recStatus; |
|||
} |
|||
|
|||
public void setRecStatus(Byte recStatus) { |
|||
this.recStatus = recStatus; |
|||
} |
|||
|
|||
@Override |
|||
public String toString() { |
|||
StringBuilder sb = new StringBuilder(); |
|||
sb.append(getClass().getSimpleName()); |
|||
sb.append(" ["); |
|||
sb.append("Hash = ").append(hashCode()); |
|||
sb.append(", id=").append(id); |
|||
sb.append(", taskDetailId=").append(taskDetailId); |
|||
sb.append(", taskVersionInfo=").append(taskVersionInfo); |
|||
sb.append(", projectType=").append(projectType); |
|||
sb.append(", createdAt=").append(createdAt); |
|||
sb.append(", updatedAt=").append(updatedAt); |
|||
sb.append(", recStatus=").append(recStatus); |
|||
sb.append("]"); |
|||
return sb.toString(); |
|||
} |
|||
package com.ccsens.common.bean.po; |
|||
|
|||
import java.io.Serializable; |
|||
import java.util.Date; |
|||
|
|||
public class ProTaskVersion implements Serializable { |
|||
private Long id; |
|||
|
|||
private Long taskDetailId; |
|||
|
|||
private String taskVersionInfo; |
|||
|
|||
private Byte projectType; |
|||
|
|||
private Date createdAt; |
|||
|
|||
private Date updatedAt; |
|||
|
|||
private Byte recStatus; |
|||
|
|||
private String address; |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
public Long getId() { |
|||
return id; |
|||
} |
|||
|
|||
public void setId(Long id) { |
|||
this.id = id; |
|||
} |
|||
|
|||
public Long getTaskDetailId() { |
|||
return taskDetailId; |
|||
} |
|||
|
|||
public void setTaskDetailId(Long taskDetailId) { |
|||
this.taskDetailId = taskDetailId; |
|||
} |
|||
|
|||
public String getTaskVersionInfo() { |
|||
return taskVersionInfo; |
|||
} |
|||
|
|||
public void setTaskVersionInfo(String taskVersionInfo) { |
|||
this.taskVersionInfo = taskVersionInfo == null ? null : taskVersionInfo.trim(); |
|||
} |
|||
|
|||
public Byte getProjectType() { |
|||
return projectType; |
|||
} |
|||
|
|||
public void setProjectType(Byte projectType) { |
|||
this.projectType = projectType; |
|||
} |
|||
|
|||
public Date getCreatedAt() { |
|||
return createdAt; |
|||
} |
|||
|
|||
public void setCreatedAt(Date createdAt) { |
|||
this.createdAt = createdAt; |
|||
} |
|||
|
|||
public Date getUpdatedAt() { |
|||
return updatedAt; |
|||
} |
|||
|
|||
public void setUpdatedAt(Date updatedAt) { |
|||
this.updatedAt = updatedAt; |
|||
} |
|||
|
|||
public Byte getRecStatus() { |
|||
return recStatus; |
|||
} |
|||
|
|||
public void setRecStatus(Byte recStatus) { |
|||
this.recStatus = recStatus; |
|||
} |
|||
|
|||
public String getAddress() { |
|||
return address; |
|||
} |
|||
|
|||
public void setAddress(String address) { |
|||
this.address = address == null ? null : address.trim(); |
|||
} |
|||
|
|||
@Override |
|||
public String toString() { |
|||
StringBuilder sb = new StringBuilder(); |
|||
sb.append(getClass().getSimpleName()); |
|||
sb.append(" ["); |
|||
sb.append("Hash = ").append(hashCode()); |
|||
sb.append(", id=").append(id); |
|||
sb.append(", taskDetailId=").append(taskDetailId); |
|||
sb.append(", taskVersionInfo=").append(taskVersionInfo); |
|||
sb.append(", projectType=").append(projectType); |
|||
sb.append(", createdAt=").append(createdAt); |
|||
sb.append(", updatedAt=").append(updatedAt); |
|||
sb.append(", recStatus=").append(recStatus); |
|||
sb.append(", address=").append(address); |
|||
sb.append("]"); |
|||
return sb.toString(); |
|||
} |
|||
} |
File diff suppressed because it is too large
@ -1,31 +1,33 @@ |
|||
package com.ccsens.common.bean.vo; |
|||
|
|||
import com.fasterxml.jackson.annotation.JsonIgnore; |
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
import java.util.List; |
|||
|
|||
@Data |
|||
public class PluginVo { |
|||
|
|||
@Data |
|||
@ApiModel("根据插件id查询插件信息结果") |
|||
public static class QueryPlugins { |
|||
@ApiModelProperty("插件id") |
|||
private Long id; |
|||
@ApiModelProperty("插件名称") |
|||
private String name; |
|||
@ApiModelProperty("插件简介") |
|||
private String intro; |
|||
@ApiModelProperty(" 插件版本") |
|||
private String version; |
|||
@ApiModelProperty("样式类型 (1一行 2两行 3半屏)") |
|||
private byte styleType; |
|||
@ApiModelProperty("插件样式内容") |
|||
private String html; |
|||
@ApiModelProperty(" 插件的js功能") |
|||
private String js; |
|||
} |
|||
} |
|||
package com.ccsens.common.bean.vo; |
|||
|
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
|
|||
/** |
|||
* @author 逗 |
|||
*/ |
|||
@Data |
|||
public class PluginVo { |
|||
@Data |
|||
@ApiModel("插件详情") |
|||
public static class PluginInfo{ |
|||
@ApiModelProperty("插件id") |
|||
private Long id; |
|||
@ApiModelProperty("插件名称") |
|||
private String name; |
|||
@ApiModelProperty("插件简介") |
|||
private String intro; |
|||
@ApiModelProperty("插件版本") |
|||
private String version; |
|||
@ApiModelProperty("插件样式类型 1一行 2两行 3半屏") |
|||
private int styleType; |
|||
@ApiModelProperty("插件样式内容") |
|||
private String html; |
|||
@ApiModelProperty("插件的js功能") |
|||
private String js; |
|||
} |
|||
|
|||
|
|||
} |
|||
|
@ -1,40 +1,50 @@ |
|||
package com.ccsens.common.bean.vo; |
|||
|
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
import javax.validation.constraints.NotNull; |
|||
|
|||
/** |
|||
* @author AUSU |
|||
*/ |
|||
@Data |
|||
public class ProjectVo { |
|||
@Data |
|||
@ApiModel("项目信息") |
|||
public static class ProjectInfo{ |
|||
@ApiModelProperty("项目id(任务详情id)") |
|||
private Long id; |
|||
@ApiModelProperty("项目名称") |
|||
private String name; |
|||
@ApiModelProperty("项目描述") |
|||
private String description; |
|||
@ApiModelProperty("重复频率") |
|||
private String cycle; |
|||
@ApiModelProperty("重复频率") |
|||
private String planStartTime; |
|||
@ApiModelProperty("重复频率") |
|||
private String planDuration; |
|||
@ApiModelProperty("重复频率") |
|||
private String planEndTime; |
|||
@ApiModelProperty("重复频率") |
|||
private String realStartTime; |
|||
@ApiModelProperty("重复频率") |
|||
private String realDuration; |
|||
@ApiModelProperty("重复频率") |
|||
private String realEndTime; |
|||
|
|||
|
|||
} |
|||
} |
|||
package com.ccsens.common.bean.vo; |
|||
|
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
/** |
|||
* @author AUSU |
|||
*/ |
|||
@Data |
|||
public class ProjectVo { |
|||
|
|||
@Data |
|||
@ApiModel("项目信息") |
|||
public static class ProjectInfo{ |
|||
@ApiModelProperty("项目id(任务详情id)") |
|||
private Long id; |
|||
@ApiModelProperty("项目名称") |
|||
private String name; |
|||
@ApiModelProperty("项目描述") |
|||
private String description; |
|||
@ApiModelProperty("重复频率") |
|||
private String cycle; |
|||
@ApiModelProperty("计划开始时间") |
|||
private String planStartTime; |
|||
@ApiModelProperty("计划时长") |
|||
private String planDuration; |
|||
@ApiModelProperty("计划结束时间") |
|||
private String planEndTime; |
|||
@ApiModelProperty("真实开始时间") |
|||
private String realStartTime; |
|||
@ApiModelProperty("真实时长") |
|||
private String realDuration; |
|||
@ApiModelProperty("真实结束时间") |
|||
private String realEndTime; |
|||
|
|||
} |
|||
|
|||
@Data |
|||
public static class SysProject{ |
|||
@ApiModelProperty("项目id") |
|||
private Long id; |
|||
@ApiModelProperty("项目名称") |
|||
private String name; |
|||
@ApiModelProperty("开始时间") |
|||
private Long beginTime; |
|||
@ApiModelProperty("结束时间") |
|||
private Long endTime; |
|||
} |
|||
} |
|||
|
@ -1,37 +1,37 @@ |
|||
package com.ccsens.common.bean.vo; |
|||
|
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
import java.util.List; |
|||
|
|||
/** |
|||
* @author 逗 |
|||
*/ |
|||
@Data |
|||
public class RoleVo { |
|||
@Data |
|||
@ApiModel("查看定期任务返回值") |
|||
public static class QueryRole { |
|||
@ApiModelProperty("展示的角色信息") |
|||
private List<RoleInfo> visibleList; |
|||
@ApiModelProperty("不展示的角色信息") |
|||
private List<RoleInfo> invisibleList; |
|||
} |
|||
|
|||
@Data |
|||
@ApiModel("查看定期任务返回值") |
|||
public static class RoleInfo { |
|||
@ApiModelProperty("角色id") |
|||
private Long id; |
|||
@ApiModelProperty("是否是项目经理 0否 1是") |
|||
private Long pm; |
|||
@ApiModelProperty("是否是自己所属的角色 0否 1是") |
|||
private Long mine; |
|||
@ApiModelProperty("角色名") |
|||
private String name; |
|||
@ApiModelProperty("排序") |
|||
private Long sequence; |
|||
} |
|||
} |
|||
package com.ccsens.common.bean.vo; |
|||
|
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
import java.util.List; |
|||
|
|||
/** |
|||
* @author 逗 |
|||
*/ |
|||
@Data |
|||
public class RoleVo { |
|||
@Data |
|||
@ApiModel("查看角色栏展示的角色信息") |
|||
public static class QueryRole { |
|||
@ApiModelProperty("展示的角色信息") |
|||
private List<RoleInfo> visibleList; |
|||
@ApiModelProperty("不展示的角色信息") |
|||
private List<RoleInfo> invisibleList; |
|||
} |
|||
|
|||
@Data |
|||
@ApiModel("角色信息") |
|||
public static class RoleInfo { |
|||
@ApiModelProperty("角色id") |
|||
private Long id; |
|||
@ApiModelProperty("是否是项目经理 0否 1是") |
|||
private Long pm; |
|||
@ApiModelProperty("是否是自己所属的角色 0否 1是") |
|||
private Long mine; |
|||
@ApiModelProperty("角色名") |
|||
private String name; |
|||
@ApiModelProperty("排序") |
|||
private Long sequence; |
|||
} |
|||
} |
|||
|
@ -1,80 +1,80 @@ |
|||
package com.ccsens.common.bean.vo; |
|||
|
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
import java.util.List; |
|||
|
|||
|
|||
@Data |
|||
public class TaskVo { |
|||
@Data |
|||
@ApiModel("查看定期任务返回值") |
|||
public static class QueryTask{ |
|||
@ApiModelProperty("任务id(任务分解id)") |
|||
private Long id; |
|||
@ApiModelProperty("详情id") |
|||
private Long detailId; |
|||
@ApiModelProperty("任务名") |
|||
private String name; |
|||
@ApiModelProperty("任务详情") |
|||
private String description; |
|||
@ApiModelProperty("计划开始时间") |
|||
private Long planStart; |
|||
@ApiModelProperty("计划时长") |
|||
private Long planDuration; |
|||
@ApiModelProperty("实际开始时间") |
|||
private Long realStart; |
|||
@ApiModelProperty("实际时长") |
|||
private Long realDuration; |
|||
@ApiModelProperty("任务状态 0未开始 1进行中 2暂停中 3已完成") |
|||
private int process; |
|||
@ApiModelProperty("任务流转策略 -1不跳转 0直接跳转 如果是其他正整数 就是多少毫秒后跳转 ") |
|||
private Long skip; |
|||
@ApiModelProperty("跳转的任务id") |
|||
private Long skipTaskId; |
|||
@ApiModelProperty("任务面板") |
|||
private PanelInfo panel; |
|||
@ApiModelProperty("插件") |
|||
private List<List<TaskPluginInfo>> plugins; |
|||
} |
|||
|
|||
@Data |
|||
@ApiModel("任务面板信息") |
|||
public static class PanelInfo{ |
|||
@ApiModelProperty("背景色") |
|||
private String backgroundColor; |
|||
@ApiModelProperty("圆角") |
|||
private String borderRadius; |
|||
@ApiModelProperty("边框") |
|||
private String border; |
|||
@ApiModelProperty("阴影") |
|||
private String shadow; |
|||
@ApiModelProperty("宽") |
|||
private String width; |
|||
@ApiModelProperty("高") |
|||
private String height; |
|||
@ApiModelProperty("行") |
|||
private int row; |
|||
@ApiModelProperty("列") |
|||
private int col; |
|||
} |
|||
|
|||
@Data |
|||
@ApiModel("任务下的插件信息") |
|||
public static class TaskPluginInfo{ |
|||
@ApiModelProperty("插件id") |
|||
private Long pluginId; |
|||
@ApiModelProperty("参数") |
|||
private String param; |
|||
@ApiModelProperty("行") |
|||
private int row; |
|||
@ApiModelProperty("列") |
|||
private int col; |
|||
@ApiModelProperty("跨行") |
|||
private int rowspan; |
|||
@ApiModelProperty("跨列") |
|||
private int colspan; |
|||
} |
|||
} |
|||
package com.ccsens.common.bean.vo; |
|||
|
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
|
|||
import java.util.List; |
|||
|
|||
|
|||
@Data |
|||
public class TaskVo { |
|||
@Data |
|||
@ApiModel("查看定期任务返回值") |
|||
public static class QueryTask{ |
|||
@ApiModelProperty("任务id(任务分解id)") |
|||
private Long id; |
|||
@ApiModelProperty("详情id") |
|||
private Long detailId; |
|||
@ApiModelProperty("任务名") |
|||
private String name; |
|||
@ApiModelProperty("任务详情") |
|||
private String description; |
|||
@ApiModelProperty("计划开始时间") |
|||
private Long planStart; |
|||
@ApiModelProperty("计划时长") |
|||
private Long planDuration; |
|||
@ApiModelProperty("实际开始时间") |
|||
private Long realStart; |
|||
@ApiModelProperty("实际时长") |
|||
private Long realDuration; |
|||
@ApiModelProperty("任务状态 0未开始 1进行中 2暂停中 3已完成") |
|||
private int process; |
|||
@ApiModelProperty("任务流转策略 -1不跳转 0直接跳转 如果是其他正整数 就是多少毫秒后跳转 ") |
|||
private Long skip; |
|||
@ApiModelProperty("跳转的任务id") |
|||
private Long skipTaskId; |
|||
@ApiModelProperty("任务面板") |
|||
private PanelInfo panel; |
|||
@ApiModelProperty("插件") |
|||
private List<List<TaskPluginInfo>> plugins; |
|||
} |
|||
|
|||
@Data |
|||
@ApiModel("任务面板信息") |
|||
public static class PanelInfo{ |
|||
@ApiModelProperty("背景色") |
|||
private String backgroundColor; |
|||
@ApiModelProperty("圆角") |
|||
private String borderRadius; |
|||
@ApiModelProperty("边框") |
|||
private String border; |
|||
@ApiModelProperty("阴影") |
|||
private String shadow; |
|||
@ApiModelProperty("宽") |
|||
private String width; |
|||
@ApiModelProperty("高") |
|||
private String height; |
|||
@ApiModelProperty("行") |
|||
private int row; |
|||
@ApiModelProperty("列") |
|||
private int col; |
|||
} |
|||
|
|||
@Data |
|||
@ApiModel("任务下的插件信息") |
|||
public static class TaskPluginInfo{ |
|||
@ApiModelProperty("插件id") |
|||
private int pluginId; |
|||
@ApiModelProperty("参数") |
|||
private int param; |
|||
@ApiModelProperty("行") |
|||
private int row; |
|||
@ApiModelProperty("列") |
|||
private int col; |
|||
@ApiModelProperty("跨行") |
|||
private int rowspan; |
|||
@ApiModelProperty("跨列") |
|||
private int colspan; |
|||
} |
|||
} |
|||
|
@ -1,22 +1,22 @@ |
|||
package com.ccsens.common.config; |
|||
|
|||
import com.ccsens.common.intercept.MybatisInterceptor; |
|||
import org.springframework.context.annotation.Bean; |
|||
import org.springframework.context.annotation.Configuration; |
|||
|
|||
/** |
|||
* @description: |
|||
* @author: wuHuiJuan |
|||
* @create: 2019/12/11 10:59 |
|||
*/ |
|||
@Configuration |
|||
public class BeanConfig { |
|||
/** |
|||
* 注册拦截器 |
|||
*/ |
|||
@Bean |
|||
public MybatisInterceptor mybatisInterceptor() { |
|||
MybatisInterceptor interceptor = new MybatisInterceptor(); |
|||
return interceptor; |
|||
} |
|||
} |
|||
//package com.ccsens.common.config;
|
|||
//
|
|||
//import com.ccsens.common.intercept.MybatisInterceptor;
|
|||
//import org.springframework.context.annotation.Bean;
|
|||
//import org.springframework.context.annotation.Configuration;
|
|||
//
|
|||
///**
|
|||
// * @description:
|
|||
// * @author: wuHuiJuan
|
|||
// * @create: 2019/12/11 10:59
|
|||
// */
|
|||
//@Configuration
|
|||
//public class BeanConfig {
|
|||
// /**
|
|||
// * 注册拦截器
|
|||
// */
|
|||
// @Bean
|
|||
// public MybatisInterceptor mybatisInterceptor() {
|
|||
// MybatisInterceptor interceptor = new MybatisInterceptor();
|
|||
// return interceptor;
|
|||
// }
|
|||
//}
|
|||
|
@ -1,98 +1,98 @@ |
|||
package com.ccsens.common.config; |
|||
|
|||
|
|||
import cn.hutool.core.lang.Snowflake; |
|||
import cn.hutool.core.util.IdUtil; |
|||
import com.ccsens.util.config.DruidProps; |
|||
import com.fasterxml.jackson.databind.DeserializationFeature; |
|||
import com.fasterxml.jackson.databind.ObjectMapper; |
|||
import com.fasterxml.jackson.databind.module.SimpleModule; |
|||
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer; |
|||
import org.springframework.beans.factory.annotation.Autowired; |
|||
import org.springframework.beans.factory.annotation.Value; |
|||
import org.springframework.context.annotation.Bean; |
|||
import org.springframework.context.annotation.Configuration; |
|||
import org.springframework.http.MediaType; |
|||
import org.springframework.http.converter.HttpMessageConverter; |
|||
import org.springframework.http.converter.StringHttpMessageConverter; |
|||
import org.springframework.http.converter.json.MappingJackson2HttpMessageConverter; |
|||
import org.springframework.web.servlet.config.annotation.ContentNegotiationConfigurer; |
|||
import org.springframework.web.servlet.config.annotation.InterceptorRegistry; |
|||
import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry; |
|||
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; |
|||
|
|||
import javax.sql.DataSource; |
|||
import java.nio.charset.Charset; |
|||
import java.util.ArrayList; |
|||
import java.util.List; |
|||
|
|||
@Configuration |
|||
//public class SpringConfig extends WebMvcConfigurationSupport {
|
|||
public class SpringConfig implements WebMvcConfigurer { |
|||
@Autowired |
|||
private DruidProps druidPropsUtil; |
|||
@Value("${spring.snowflake.workerId}") |
|||
private String workerId; |
|||
@Value("${spring.snowflake.datacenterId}") |
|||
private String datacenterId; |
|||
|
|||
/** |
|||
* 配置Converter |
|||
* @return |
|||
*/ |
|||
@Bean |
|||
public HttpMessageConverter<String> responseStringConverter() { |
|||
StringHttpMessageConverter converter = new StringHttpMessageConverter( |
|||
Charset.forName("UTF-8")); |
|||
return converter; |
|||
} |
|||
|
|||
@Bean |
|||
public HttpMessageConverter<Object> responseJsonConverter(){ |
|||
MappingJackson2HttpMessageConverter converter = new MappingJackson2HttpMessageConverter(); |
|||
List<MediaType> mediaTypeList = new ArrayList<>(); |
|||
mediaTypeList.add(MediaType.TEXT_HTML); |
|||
mediaTypeList.add(MediaType.APPLICATION_JSON_UTF8); |
|||
converter.setSupportedMediaTypes(mediaTypeList); |
|||
|
|||
ObjectMapper objectMapper = new ObjectMapper(); |
|||
SimpleModule simpleModule = new SimpleModule(); |
|||
simpleModule.addSerializer(Long.class, ToStringSerializer.instance); |
|||
simpleModule.addSerializer(Long.TYPE, ToStringSerializer.instance); |
|||
objectMapper.registerModule(simpleModule); |
|||
objectMapper.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false); |
|||
converter.setObjectMapper(objectMapper); |
|||
|
|||
return converter; |
|||
} |
|||
|
|||
@Override |
|||
public void configureMessageConverters(List<HttpMessageConverter<?>> converters) { |
|||
converters.add(responseStringConverter()); |
|||
converters.add(responseJsonConverter()); |
|||
} |
|||
|
|||
@Override |
|||
public void configureContentNegotiation(ContentNegotiationConfigurer configurer) { |
|||
configurer.favorPathExtension(false); |
|||
} |
|||
|
|||
/** |
|||
* 配置数据源(单数据源) |
|||
*/ |
|||
@Bean |
|||
public DataSource dataSource(){ |
|||
return druidPropsUtil.createDruidDataSource(); |
|||
} |
|||
|
|||
@Bean |
|||
public Snowflake snowflake(){ |
|||
return IdUtil.createSnowflake(Long.valueOf(workerId),Long.valueOf(datacenterId)); |
|||
} |
|||
|
|||
@Override |
|||
public void addResourceHandlers(ResourceHandlerRegistry registry) { |
|||
registry.addResourceHandler("/uploads/**") |
|||
.addResourceLocations("file:///home/cloud/ht/uploads/"); |
|||
} |
|||
} |
|||
//package com.ccsens.common.config;
|
|||
//
|
|||
//
|
|||
//import cn.hutool.core.lang.Snowflake;
|
|||
//import cn.hutool.core.util.IdUtil;
|
|||
//import com.ccsens.util.config.DruidProps;
|
|||
//import com.fasterxml.jackson.databind.DeserializationFeature;
|
|||
//import com.fasterxml.jackson.databind.ObjectMapper;
|
|||
//import com.fasterxml.jackson.databind.module.SimpleModule;
|
|||
//import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
|||
//import org.springframework.beans.factory.annotation.Autowired;
|
|||
//import org.springframework.beans.factory.annotation.Value;
|
|||
//import org.springframework.context.annotation.Bean;
|
|||
//import org.springframework.context.annotation.Configuration;
|
|||
//import org.springframework.http.MediaType;
|
|||
//import org.springframework.http.converter.HttpMessageConverter;
|
|||
//import org.springframework.http.converter.StringHttpMessageConverter;
|
|||
//import org.springframework.http.converter.json.MappingJackson2HttpMessageConverter;
|
|||
//import org.springframework.web.servlet.config.annotation.ContentNegotiationConfigurer;
|
|||
//import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
|
|||
//import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry;
|
|||
//import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
|
|||
//
|
|||
//import javax.sql.DataSource;
|
|||
//import java.nio.charset.Charset;
|
|||
//import java.util.ArrayList;
|
|||
//import java.util.List;
|
|||
//
|
|||
//@Configuration
|
|||
////public class SpringConfig extends WebMvcConfigurationSupport {
|
|||
//public class SpringConfig implements WebMvcConfigurer {
|
|||
// @Autowired
|
|||
// private DruidProps druidPropsUtil;
|
|||
// @Value("${spring.snowflake.workerId}")
|
|||
// private String workerId;
|
|||
// @Value("${spring.snowflake.datacenterId}")
|
|||
// private String datacenterId;
|
|||
//
|
|||
// /**
|
|||
// * 配置Converter
|
|||
// * @return
|
|||
// */
|
|||
// @Bean
|
|||
// public HttpMessageConverter<String> responseStringConverter() {
|
|||
// StringHttpMessageConverter converter = new StringHttpMessageConverter(
|
|||
// Charset.forName("UTF-8"));
|
|||
// return converter;
|
|||
// }
|
|||
//
|
|||
// @Bean
|
|||
// public HttpMessageConverter<Object> responseJsonConverter(){
|
|||
// MappingJackson2HttpMessageConverter converter = new MappingJackson2HttpMessageConverter();
|
|||
// List<MediaType> mediaTypeList = new ArrayList<>();
|
|||
// mediaTypeList.add(MediaType.TEXT_HTML);
|
|||
// mediaTypeList.add(MediaType.APPLICATION_JSON_UTF8);
|
|||
// converter.setSupportedMediaTypes(mediaTypeList);
|
|||
//
|
|||
// ObjectMapper objectMapper = new ObjectMapper();
|
|||
// SimpleModule simpleModule = new SimpleModule();
|
|||
// simpleModule.addSerializer(Long.class, ToStringSerializer.instance);
|
|||
// simpleModule.addSerializer(Long.TYPE, ToStringSerializer.instance);
|
|||
// objectMapper.registerModule(simpleModule);
|
|||
// objectMapper.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false);
|
|||
// converter.setObjectMapper(objectMapper);
|
|||
//
|
|||
// return converter;
|
|||
// }
|
|||
//
|
|||
// @Override
|
|||
// public void configureMessageConverters(List<HttpMessageConverter<?>> converters) {
|
|||
// converters.add(responseStringConverter());
|
|||
// converters.add(responseJsonConverter());
|
|||
// }
|
|||
//
|
|||
// @Override
|
|||
// public void configureContentNegotiation(ContentNegotiationConfigurer configurer) {
|
|||
// configurer.favorPathExtension(false);
|
|||
// }
|
|||
//
|
|||
// /**
|
|||
// * 配置数据源(单数据源)
|
|||
// */
|
|||
// @Bean
|
|||
// public DataSource dataSource(){
|
|||
// return druidPropsUtil.createDruidDataSource();
|
|||
// }
|
|||
//
|
|||
// @Bean
|
|||
// public Snowflake snowflake(){
|
|||
// return IdUtil.createSnowflake(Long.valueOf(workerId),Long.valueOf(datacenterId));
|
|||
// }
|
|||
//
|
|||
// @Override
|
|||
// public void addResourceHandlers(ResourceHandlerRegistry registry) {
|
|||
// registry.addResourceHandler("/uploads/**")
|
|||
// .addResourceLocations("file:///home/cloud/ht/uploads/");
|
|||
// }
|
|||
//}
|
@ -1,56 +1,56 @@ |
|||
package com.ccsens.common.config; |
|||
|
|||
import com.ccsens.util.WebConstant; |
|||
import org.springframework.boot.autoconfigure.condition.ConditionalOnExpression; |
|||
import org.springframework.context.annotation.Bean; |
|||
import org.springframework.context.annotation.Configuration; |
|||
import springfox.documentation.builders.ParameterBuilder; |
|||
import springfox.documentation.builders.RequestHandlerSelectors; |
|||
import springfox.documentation.schema.ModelRef; |
|||
import springfox.documentation.service.ApiInfo; |
|||
import springfox.documentation.service.Parameter; |
|||
import springfox.documentation.spi.DocumentationType; |
|||
import springfox.documentation.spring.web.plugins.Docket; |
|||
import springfox.documentation.swagger2.annotations.EnableSwagger2; |
|||
|
|||
import java.util.ArrayList; |
|||
import java.util.List; |
|||
|
|||
@Configuration |
|||
@EnableSwagger2 |
|||
@ConditionalOnExpression("${swagger.enable}") |
|||
//public class SwaggerConfigure extends WebMvcConfigurationSupport {
|
|||
public class SwaggerConfigure /*implements WebMvcConfigurer*/ { |
|||
@Bean |
|||
public Docket customDocket() { |
|||
//
|
|||
return new Docket(DocumentationType.SWAGGER_2) |
|||
.apiInfo(apiInfo()) |
|||
.select() |
|||
.apis(RequestHandlerSelectors |
|||
.basePackage("com.ccsens.common.api")) |
|||
.build() |
|||
.globalOperationParameters(setHeaderToken()); |
|||
} |
|||
|
|||
private ApiInfo apiInfo() { |
|||
return new ApiInfo("Swagger Tall-ptpro",//大标题 title
|
|||
"This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/). For this sample, you can use the api key `special-key` to test the authorization filters.",//小标题
|
|||
"1.0.0",//版本
|
|||
"http://swagger.io/terms/",//termsOfServiceUrl
|
|||
"zhangsan",//作者
|
|||
"Apache 2.0",//链接显示文字
|
|||
"http://www.apache.org/licenses/LICENSE-2.0.html"//网站链接
|
|||
); |
|||
} |
|||
|
|||
private List<Parameter> setHeaderToken() { |
|||
ParameterBuilder tokenPar = new ParameterBuilder(); |
|||
List<Parameter> pars = new ArrayList<>(); |
|||
tokenPar.name(WebConstant.HEADER_KEY_TOKEN).description("token") |
|||
.defaultValue(WebConstant.HEADER_KEY_TOKEN_PREFIX) |
|||
.modelRef(new ModelRef("string")).parameterType("header").required(false).build(); |
|||
pars.add(tokenPar.build()); |
|||
return pars; |
|||
} |
|||
} |
|||
//package com.ccsens.common.config;
|
|||
//
|
|||
//import com.ccsens.util.WebConstant;
|
|||
//import org.springframework.boot.autoconfigure.condition.ConditionalOnExpression;
|
|||
//import org.springframework.context.annotation.Bean;
|
|||
//import org.springframework.context.annotation.Configuration;
|
|||
//import springfox.documentation.builders.ParameterBuilder;
|
|||
//import springfox.documentation.builders.RequestHandlerSelectors;
|
|||
//import springfox.documentation.schema.ModelRef;
|
|||
//import springfox.documentation.service.ApiInfo;
|
|||
//import springfox.documentation.service.Parameter;
|
|||
//import springfox.documentation.spi.DocumentationType;
|
|||
//import springfox.documentation.spring.web.plugins.Docket;
|
|||
//import springfox.documentation.swagger2.annotations.EnableSwagger2;
|
|||
//
|
|||
//import java.util.ArrayList;
|
|||
//import java.util.List;
|
|||
//
|
|||
//@Configuration
|
|||
//@EnableSwagger2
|
|||
//@ConditionalOnExpression("${swagger.enable}")
|
|||
////public class SwaggerConfigure extends WebMvcConfigurationSupport {
|
|||
//public class SwaggerConfigure /*implements WebMvcConfigurer*/ {
|
|||
// @Bean
|
|||
// public Docket customDocket() {
|
|||
// //
|
|||
// return new Docket(DocumentationType.SWAGGER_2)
|
|||
// .apiInfo(apiInfo())
|
|||
// .select()
|
|||
// .apis(RequestHandlerSelectors
|
|||
// .basePackage("com.ccsens.common.api"))
|
|||
// .build()
|
|||
// .globalOperationParameters(setHeaderToken());
|
|||
// }
|
|||
//
|
|||
// private ApiInfo apiInfo() {
|
|||
// return new ApiInfo("Swagger Tall-ptpro",//大标题 title
|
|||
// "This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/). For this sample, you can use the api key `special-key` to test the authorization filters.",//小标题
|
|||
// "1.0.0",//版本
|
|||
// "http://swagger.io/terms/",//termsOfServiceUrl
|
|||
// "zhangsan",//作者
|
|||
// "Apache 2.0",//链接显示文字
|
|||
// "http://www.apache.org/licenses/LICENSE-2.0.html"//网站链接
|
|||
// );
|
|||
// }
|
|||
//
|
|||
// private List<Parameter> setHeaderToken() {
|
|||
// ParameterBuilder tokenPar = new ParameterBuilder();
|
|||
// List<Parameter> pars = new ArrayList<>();
|
|||
// tokenPar.name(WebConstant.HEADER_KEY_TOKEN).description("token")
|
|||
// .defaultValue(WebConstant.HEADER_KEY_TOKEN_PREFIX)
|
|||
// .modelRef(new ModelRef("string")).parameterType("header").required(false).build();
|
|||
// pars.add(tokenPar.build());
|
|||
// return pars;
|
|||
// }
|
|||
//}
|
|||
|
@ -0,0 +1,30 @@ |
|||
package com.ccsens.common.persist.mapper; |
|||
|
|||
import com.ccsens.common.bean.po.LabelBusiness; |
|||
import com.ccsens.common.bean.po.LabelBusinessExample; |
|||
import java.util.List; |
|||
import org.apache.ibatis.annotations.Param; |
|||
|
|||
public interface LabelBusinessMapper { |
|||
long countByExample(LabelBusinessExample example); |
|||
|
|||
int deleteByExample(LabelBusinessExample example); |
|||
|
|||
int deleteByPrimaryKey(Long id); |
|||
|
|||
int insert(LabelBusiness record); |
|||
|
|||
int insertSelective(LabelBusiness record); |
|||
|
|||
List<LabelBusiness> selectByExample(LabelBusinessExample example); |
|||
|
|||
LabelBusiness selectByPrimaryKey(Long id); |
|||
|
|||
int updateByExampleSelective(@Param("record") LabelBusiness record, @Param("example") LabelBusinessExample example); |
|||
|
|||
int updateByExample(@Param("record") LabelBusiness record, @Param("example") LabelBusinessExample example); |
|||
|
|||
int updateByPrimaryKeySelective(LabelBusiness record); |
|||
|
|||
int updateByPrimaryKey(LabelBusiness record); |
|||
} |
@ -1,30 +0,0 @@ |
|||
package com.ccsens.common.persist.mapper; |
|||
|
|||
import com.ccsens.common.bean.po.Label_Business; |
|||
import com.ccsens.common.bean.po.Label_BusinessExample; |
|||
import java.util.List; |
|||
import org.apache.ibatis.annotations.Param; |
|||
|
|||
public interface Label_BusinessMapper { |
|||
long countByExample(Label_BusinessExample example); |
|||
|
|||
int deleteByExample(Label_BusinessExample example); |
|||
|
|||
int deleteByPrimaryKey(Long id); |
|||
|
|||
int insert(Label_Business record); |
|||
|
|||
int insertSelective(Label_Business record); |
|||
|
|||
List<Label_Business> selectByExample(Label_BusinessExample example); |
|||
|
|||
Label_Business selectByPrimaryKey(Long id); |
|||
|
|||
int updateByExampleSelective(@Param("record") Label_Business record, @Param("example") Label_BusinessExample example); |
|||
|
|||
int updateByExample(@Param("record") Label_Business record, @Param("example") Label_BusinessExample example); |
|||
|
|||
int updateByPrimaryKeySelective(Label_Business record); |
|||
|
|||
int updateByPrimaryKey(Label_Business record); |
|||
} |
@ -0,0 +1,30 @@ |
|||
package com.ccsens.common.persist.mapper; |
|||
|
|||
import com.ccsens.common.bean.po.ProMemberStakeholder; |
|||
import com.ccsens.common.bean.po.ProMemberStakeholderExample; |
|||
import java.util.List; |
|||
import org.apache.ibatis.annotations.Param; |
|||
|
|||
public interface ProMemberStakeholderMapper { |
|||
long countByExample(ProMemberStakeholderExample example); |
|||
|
|||
int deleteByExample(ProMemberStakeholderExample example); |
|||
|
|||
int deleteByPrimaryKey(Long id); |
|||
|
|||
int insert(ProMemberStakeholder record); |
|||
|
|||
int insertSelective(ProMemberStakeholder record); |
|||
|
|||
List<ProMemberStakeholder> selectByExample(ProMemberStakeholderExample example); |
|||
|
|||
ProMemberStakeholder selectByPrimaryKey(Long id); |
|||
|
|||
int updateByExampleSelective(@Param("record") ProMemberStakeholder record, @Param("example") ProMemberStakeholderExample example); |
|||
|
|||
int updateByExample(@Param("record") ProMemberStakeholder record, @Param("example") ProMemberStakeholderExample example); |
|||
|
|||
int updateByPrimaryKeySelective(ProMemberStakeholder record); |
|||
|
|||
int updateByPrimaryKey(ProMemberStakeholder record); |
|||
} |
@ -1,30 +1,30 @@ |
|||
package com.ccsens.common.persist.mapper; |
|||
|
|||
import com.ccsens.common.bean.po.ProTaskVersion; |
|||
import com.ccsens.common.bean.po.ProTaskVersionExample; |
|||
import java.util.List; |
|||
import org.apache.ibatis.annotations.Param; |
|||
|
|||
public interface ProTaskVersionMapper { |
|||
long countByExample(ProTaskVersionExample example); |
|||
|
|||
int deleteByExample(ProTaskVersionExample example); |
|||
|
|||
int deleteByPrimaryKey(Long id); |
|||
|
|||
int insert(ProTaskVersion record); |
|||
|
|||
int insertSelective(ProTaskVersion record); |
|||
|
|||
List<ProTaskVersion> selectByExample(ProTaskVersionExample example); |
|||
|
|||
ProTaskVersion selectByPrimaryKey(Long id); |
|||
|
|||
int updateByExampleSelective(@Param("record") ProTaskVersion record, @Param("example") ProTaskVersionExample example); |
|||
|
|||
int updateByExample(@Param("record") ProTaskVersion record, @Param("example") ProTaskVersionExample example); |
|||
|
|||
int updateByPrimaryKeySelective(ProTaskVersion record); |
|||
|
|||
int updateByPrimaryKey(ProTaskVersion record); |
|||
package com.ccsens.common.persist.mapper; |
|||
|
|||
import com.ccsens.common.bean.po.ProTaskVersion; |
|||
import com.ccsens.common.bean.po.ProTaskVersionExample; |
|||
import java.util.List; |
|||
import org.apache.ibatis.annotations.Param; |
|||
|
|||
public interface ProTaskVersionMapper { |
|||
long countByExample(ProTaskVersionExample example); |
|||
|
|||
int deleteByExample(ProTaskVersionExample example); |
|||
|
|||
int deleteByPrimaryKey(Long id); |
|||
|
|||
int insert(ProTaskVersion record); |
|||
|
|||
int insertSelective(ProTaskVersion record); |
|||
|
|||
List<ProTaskVersion> selectByExample(ProTaskVersionExample example); |
|||
|
|||
ProTaskVersion selectByPrimaryKey(Long id); |
|||
|
|||
int updateByExampleSelective(@Param("record") ProTaskVersion record, @Param("example") ProTaskVersionExample example); |
|||
|
|||
int updateByExample(@Param("record") ProTaskVersion record, @Param("example") ProTaskVersionExample example); |
|||
|
|||
int updateByPrimaryKeySelective(ProTaskVersion record); |
|||
|
|||
int updateByPrimaryKey(ProTaskVersion record); |
|||
} |
@ -1,258 +1,258 @@ |
|||
<?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.ccsens.common.persist.mapper.Label_BusinessMapper"> |
|||
<resultMap id="BaseResultMap" type="com.ccsens.common.bean.po.Label_Business"> |
|||
<id column="id" jdbcType="BIGINT" property="id" /> |
|||
<result column="label_id" jdbcType="BIGINT" property="labelId" /> |
|||
<result column="user_id" jdbcType="BIGINT" property="userId" /> |
|||
<result column="business_type" jdbcType="TINYINT" property="businessType" /> |
|||
<result column="business_id" jdbcType="BIGINT" property="businessId" /> |
|||
<result column="created_at" jdbcType="TIMESTAMP" property="createdAt" /> |
|||
<result column="updated_at" jdbcType="TIMESTAMP" property="updatedAt" /> |
|||
<result column="rec_status" jdbcType="TINYINT" property="recStatus" /> |
|||
</resultMap> |
|||
<sql id="Example_Where_Clause"> |
|||
<where> |
|||
<foreach collection="oredCriteria" item="criteria" separator="or"> |
|||
<if test="criteria.valid"> |
|||
<trim prefix="(" prefixOverrides="and" suffix=")"> |
|||
<foreach collection="criteria.criteria" item="criterion"> |
|||
<choose> |
|||
<when test="criterion.noValue"> |
|||
and ${criterion.condition} |
|||
</when> |
|||
<when test="criterion.singleValue"> |
|||
and ${criterion.condition} #{criterion.value} |
|||
</when> |
|||
<when test="criterion.betweenValue"> |
|||
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
|||
</when> |
|||
<when test="criterion.listValue"> |
|||
and ${criterion.condition} |
|||
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=","> |
|||
#{listItem} |
|||
</foreach> |
|||
</when> |
|||
</choose> |
|||
</foreach> |
|||
</trim> |
|||
</if> |
|||
</foreach> |
|||
</where> |
|||
</sql> |
|||
<sql id="Update_By_Example_Where_Clause"> |
|||
<where> |
|||
<foreach collection="example.oredCriteria" item="criteria" separator="or"> |
|||
<if test="criteria.valid"> |
|||
<trim prefix="(" prefixOverrides="and" suffix=")"> |
|||
<foreach collection="criteria.criteria" item="criterion"> |
|||
<choose> |
|||
<when test="criterion.noValue"> |
|||
and ${criterion.condition} |
|||
</when> |
|||
<when test="criterion.singleValue"> |
|||
and ${criterion.condition} #{criterion.value} |
|||
</when> |
|||
<when test="criterion.betweenValue"> |
|||
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
|||
</when> |
|||
<when test="criterion.listValue"> |
|||
and ${criterion.condition} |
|||
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=","> |
|||
#{listItem} |
|||
</foreach> |
|||
</when> |
|||
</choose> |
|||
</foreach> |
|||
</trim> |
|||
</if> |
|||
</foreach> |
|||
</where> |
|||
</sql> |
|||
<sql id="Base_Column_List"> |
|||
id, label_id, user_id, business_type, business_id, created_at, updated_at, rec_status |
|||
</sql> |
|||
<select id="selectByExample" parameterType="com.ccsens.common.bean.po.Label_BusinessExample" resultMap="BaseResultMap"> |
|||
select |
|||
<if test="distinct"> |
|||
distinct |
|||
</if> |
|||
<include refid="Base_Column_List" /> |
|||
from t_label_business |
|||
<if test="_parameter != null"> |
|||
<include refid="Example_Where_Clause" /> |
|||
</if> |
|||
<if test="orderByClause != null"> |
|||
order by ${orderByClause} |
|||
</if> |
|||
</select> |
|||
<select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap"> |
|||
select |
|||
<include refid="Base_Column_List" /> |
|||
from t_label_business |
|||
where id = #{id,jdbcType=BIGINT} |
|||
</select> |
|||
<delete id="deleteByPrimaryKey" parameterType="java.lang.Long"> |
|||
delete from t_label_business |
|||
where id = #{id,jdbcType=BIGINT} |
|||
</delete> |
|||
<delete id="deleteByExample" parameterType="com.ccsens.common.bean.po.Label_BusinessExample"> |
|||
delete from t_label_business |
|||
<if test="_parameter != null"> |
|||
<include refid="Example_Where_Clause" /> |
|||
</if> |
|||
</delete> |
|||
<insert id="insert" parameterType="com.ccsens.common.bean.po.Label_Business"> |
|||
insert into t_label_business (id, label_id, user_id, |
|||
business_type, business_id, created_at, |
|||
updated_at, rec_status) |
|||
values (#{id,jdbcType=BIGINT}, #{labelId,jdbcType=BIGINT}, #{userId,jdbcType=BIGINT}, |
|||
#{businessType,jdbcType=TINYINT}, #{businessId,jdbcType=BIGINT}, #{createdAt,jdbcType=TIMESTAMP}, |
|||
#{updatedAt,jdbcType=TIMESTAMP}, #{recStatus,jdbcType=TINYINT}) |
|||
</insert> |
|||
<insert id="insertSelective" parameterType="com.ccsens.common.bean.po.Label_Business"> |
|||
insert into t_label_business |
|||
<trim prefix="(" suffix=")" suffixOverrides=","> |
|||
<if test="id != null"> |
|||
id, |
|||
</if> |
|||
<if test="labelId != null"> |
|||
label_id, |
|||
</if> |
|||
<if test="userId != null"> |
|||
user_id, |
|||
</if> |
|||
<if test="businessType != null"> |
|||
business_type, |
|||
</if> |
|||
<if test="businessId != null"> |
|||
business_id, |
|||
</if> |
|||
<if test="createdAt != null"> |
|||
created_at, |
|||
</if> |
|||
<if test="updatedAt != null"> |
|||
updated_at, |
|||
</if> |
|||
<if test="recStatus != null"> |
|||
rec_status, |
|||
</if> |
|||
</trim> |
|||
<trim prefix="values (" suffix=")" suffixOverrides=","> |
|||
<if test="id != null"> |
|||
#{id,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="labelId != null"> |
|||
#{labelId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="userId != null"> |
|||
#{userId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="businessType != null"> |
|||
#{businessType,jdbcType=TINYINT}, |
|||
</if> |
|||
<if test="businessId != null"> |
|||
#{businessId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="createdAt != null"> |
|||
#{createdAt,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="updatedAt != null"> |
|||
#{updatedAt,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="recStatus != null"> |
|||
#{recStatus,jdbcType=TINYINT}, |
|||
</if> |
|||
</trim> |
|||
</insert> |
|||
<select id="countByExample" parameterType="com.ccsens.common.bean.po.Label_BusinessExample" resultType="java.lang.Long"> |
|||
select count(*) from t_label_business |
|||
<if test="_parameter != null"> |
|||
<include refid="Example_Where_Clause" /> |
|||
</if> |
|||
</select> |
|||
<update id="updateByExampleSelective" parameterType="map"> |
|||
update t_label_business |
|||
<set> |
|||
<if test="record.id != null"> |
|||
id = #{record.id,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="record.labelId != null"> |
|||
label_id = #{record.labelId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="record.userId != null"> |
|||
user_id = #{record.userId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="record.businessType != null"> |
|||
business_type = #{record.businessType,jdbcType=TINYINT}, |
|||
</if> |
|||
<if test="record.businessId != null"> |
|||
business_id = #{record.businessId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="record.createdAt != null"> |
|||
created_at = #{record.createdAt,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="record.updatedAt != null"> |
|||
updated_at = #{record.updatedAt,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="record.recStatus != null"> |
|||
rec_status = #{record.recStatus,jdbcType=TINYINT}, |
|||
</if> |
|||
</set> |
|||
<if test="_parameter != null"> |
|||
<include refid="Update_By_Example_Where_Clause" /> |
|||
</if> |
|||
</update> |
|||
<update id="updateByExample" parameterType="map"> |
|||
update t_label_business |
|||
set id = #{record.id,jdbcType=BIGINT}, |
|||
label_id = #{record.labelId,jdbcType=BIGINT}, |
|||
user_id = #{record.userId,jdbcType=BIGINT}, |
|||
business_type = #{record.businessType,jdbcType=TINYINT}, |
|||
business_id = #{record.businessId,jdbcType=BIGINT}, |
|||
created_at = #{record.createdAt,jdbcType=TIMESTAMP}, |
|||
updated_at = #{record.updatedAt,jdbcType=TIMESTAMP}, |
|||
rec_status = #{record.recStatus,jdbcType=TINYINT} |
|||
<if test="_parameter != null"> |
|||
<include refid="Update_By_Example_Where_Clause" /> |
|||
</if> |
|||
</update> |
|||
<update id="updateByPrimaryKeySelective" parameterType="com.ccsens.common.bean.po.Label_Business"> |
|||
update t_label_business |
|||
<set> |
|||
<if test="labelId != null"> |
|||
label_id = #{labelId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="userId != null"> |
|||
user_id = #{userId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="businessType != null"> |
|||
business_type = #{businessType,jdbcType=TINYINT}, |
|||
</if> |
|||
<if test="businessId != null"> |
|||
business_id = #{businessId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="createdAt != null"> |
|||
created_at = #{createdAt,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="updatedAt != null"> |
|||
updated_at = #{updatedAt,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="recStatus != null"> |
|||
rec_status = #{recStatus,jdbcType=TINYINT}, |
|||
</if> |
|||
</set> |
|||
where id = #{id,jdbcType=BIGINT} |
|||
</update> |
|||
<update id="updateByPrimaryKey" parameterType="com.ccsens.common.bean.po.Label_Business"> |
|||
update t_label_business |
|||
set label_id = #{labelId,jdbcType=BIGINT}, |
|||
user_id = #{userId,jdbcType=BIGINT}, |
|||
business_type = #{businessType,jdbcType=TINYINT}, |
|||
business_id = #{businessId,jdbcType=BIGINT}, |
|||
created_at = #{createdAt,jdbcType=TIMESTAMP}, |
|||
updated_at = #{updatedAt,jdbcType=TIMESTAMP}, |
|||
rec_status = #{recStatus,jdbcType=TINYINT} |
|||
where id = #{id,jdbcType=BIGINT} |
|||
</update> |
|||
<?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.ccsens.common.persist.mapper.LabelBusinessMapper"> |
|||
<resultMap id="BaseResultMap" type="com.ccsens.common.bean.po.LabelBusiness"> |
|||
<id column="id" jdbcType="BIGINT" property="id" /> |
|||
<result column="label_id" jdbcType="BIGINT" property="labelId" /> |
|||
<result column="user_id" jdbcType="BIGINT" property="userId" /> |
|||
<result column="business_type" jdbcType="TINYINT" property="businessType" /> |
|||
<result column="business_id" jdbcType="BIGINT" property="businessId" /> |
|||
<result column="created_at" jdbcType="TIMESTAMP" property="createdAt" /> |
|||
<result column="updated_at" jdbcType="TIMESTAMP" property="updatedAt" /> |
|||
<result column="rec_status" jdbcType="TINYINT" property="recStatus" /> |
|||
</resultMap> |
|||
<sql id="Example_Where_Clause"> |
|||
<where> |
|||
<foreach collection="oredCriteria" item="criteria" separator="or"> |
|||
<if test="criteria.valid"> |
|||
<trim prefix="(" prefixOverrides="and" suffix=")"> |
|||
<foreach collection="criteria.criteria" item="criterion"> |
|||
<choose> |
|||
<when test="criterion.noValue"> |
|||
and ${criterion.condition} |
|||
</when> |
|||
<when test="criterion.singleValue"> |
|||
and ${criterion.condition} #{criterion.value} |
|||
</when> |
|||
<when test="criterion.betweenValue"> |
|||
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
|||
</when> |
|||
<when test="criterion.listValue"> |
|||
and ${criterion.condition} |
|||
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=","> |
|||
#{listItem} |
|||
</foreach> |
|||
</when> |
|||
</choose> |
|||
</foreach> |
|||
</trim> |
|||
</if> |
|||
</foreach> |
|||
</where> |
|||
</sql> |
|||
<sql id="Update_By_Example_Where_Clause"> |
|||
<where> |
|||
<foreach collection="example.oredCriteria" item="criteria" separator="or"> |
|||
<if test="criteria.valid"> |
|||
<trim prefix="(" prefixOverrides="and" suffix=")"> |
|||
<foreach collection="criteria.criteria" item="criterion"> |
|||
<choose> |
|||
<when test="criterion.noValue"> |
|||
and ${criterion.condition} |
|||
</when> |
|||
<when test="criterion.singleValue"> |
|||
and ${criterion.condition} #{criterion.value} |
|||
</when> |
|||
<when test="criterion.betweenValue"> |
|||
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
|||
</when> |
|||
<when test="criterion.listValue"> |
|||
and ${criterion.condition} |
|||
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=","> |
|||
#{listItem} |
|||
</foreach> |
|||
</when> |
|||
</choose> |
|||
</foreach> |
|||
</trim> |
|||
</if> |
|||
</foreach> |
|||
</where> |
|||
</sql> |
|||
<sql id="Base_Column_List"> |
|||
id, label_id, user_id, business_type, business_id, created_at, updated_at, rec_status |
|||
</sql> |
|||
<select id="selectByExample" parameterType="com.ccsens.common.bean.po.LabelBusinessExample" resultMap="BaseResultMap"> |
|||
select |
|||
<if test="distinct"> |
|||
distinct |
|||
</if> |
|||
<include refid="Base_Column_List" /> |
|||
from t_label_business |
|||
<if test="_parameter != null"> |
|||
<include refid="Example_Where_Clause" /> |
|||
</if> |
|||
<if test="orderByClause != null"> |
|||
order by ${orderByClause} |
|||
</if> |
|||
</select> |
|||
<select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap"> |
|||
select |
|||
<include refid="Base_Column_List" /> |
|||
from t_label_business |
|||
where id = #{id,jdbcType=BIGINT} |
|||
</select> |
|||
<delete id="deleteByPrimaryKey" parameterType="java.lang.Long"> |
|||
delete from t_label_business |
|||
where id = #{id,jdbcType=BIGINT} |
|||
</delete> |
|||
<delete id="deleteByExample" parameterType="com.ccsens.common.bean.po.LabelBusinessExample"> |
|||
delete from t_label_business |
|||
<if test="_parameter != null"> |
|||
<include refid="Example_Where_Clause" /> |
|||
</if> |
|||
</delete> |
|||
<insert id="insert" parameterType="com.ccsens.common.bean.po.LabelBusiness"> |
|||
insert into t_label_business (id, label_id, user_id, |
|||
business_type, business_id, created_at, |
|||
updated_at, rec_status) |
|||
values (#{id,jdbcType=BIGINT}, #{labelId,jdbcType=BIGINT}, #{userId,jdbcType=BIGINT}, |
|||
#{businessType,jdbcType=TINYINT}, #{businessId,jdbcType=BIGINT}, #{createdAt,jdbcType=TIMESTAMP}, |
|||
#{updatedAt,jdbcType=TIMESTAMP}, #{recStatus,jdbcType=TINYINT}) |
|||
</insert> |
|||
<insert id="insertSelective" parameterType="com.ccsens.common.bean.po.LabelBusiness"> |
|||
insert into t_label_business |
|||
<trim prefix="(" suffix=")" suffixOverrides=","> |
|||
<if test="id != null"> |
|||
id, |
|||
</if> |
|||
<if test="labelId != null"> |
|||
label_id, |
|||
</if> |
|||
<if test="userId != null"> |
|||
user_id, |
|||
</if> |
|||
<if test="businessType != null"> |
|||
business_type, |
|||
</if> |
|||
<if test="businessId != null"> |
|||
business_id, |
|||
</if> |
|||
<if test="createdAt != null"> |
|||
created_at, |
|||
</if> |
|||
<if test="updatedAt != null"> |
|||
updated_at, |
|||
</if> |
|||
<if test="recStatus != null"> |
|||
rec_status, |
|||
</if> |
|||
</trim> |
|||
<trim prefix="values (" suffix=")" suffixOverrides=","> |
|||
<if test="id != null"> |
|||
#{id,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="labelId != null"> |
|||
#{labelId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="userId != null"> |
|||
#{userId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="businessType != null"> |
|||
#{businessType,jdbcType=TINYINT}, |
|||
</if> |
|||
<if test="businessId != null"> |
|||
#{businessId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="createdAt != null"> |
|||
#{createdAt,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="updatedAt != null"> |
|||
#{updatedAt,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="recStatus != null"> |
|||
#{recStatus,jdbcType=TINYINT}, |
|||
</if> |
|||
</trim> |
|||
</insert> |
|||
<select id="countByExample" parameterType="com.ccsens.common.bean.po.LabelBusinessExample" resultType="java.lang.Long"> |
|||
select count(*) from t_label_business |
|||
<if test="_parameter != null"> |
|||
<include refid="Example_Where_Clause" /> |
|||
</if> |
|||
</select> |
|||
<update id="updateByExampleSelective" parameterType="map"> |
|||
update t_label_business |
|||
<set> |
|||
<if test="record.id != null"> |
|||
id = #{record.id,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="record.labelId != null"> |
|||
label_id = #{record.labelId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="record.userId != null"> |
|||
user_id = #{record.userId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="record.businessType != null"> |
|||
business_type = #{record.businessType,jdbcType=TINYINT}, |
|||
</if> |
|||
<if test="record.businessId != null"> |
|||
business_id = #{record.businessId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="record.createdAt != null"> |
|||
created_at = #{record.createdAt,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="record.updatedAt != null"> |
|||
updated_at = #{record.updatedAt,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="record.recStatus != null"> |
|||
rec_status = #{record.recStatus,jdbcType=TINYINT}, |
|||
</if> |
|||
</set> |
|||
<if test="_parameter != null"> |
|||
<include refid="Update_By_Example_Where_Clause" /> |
|||
</if> |
|||
</update> |
|||
<update id="updateByExample" parameterType="map"> |
|||
update t_label_business |
|||
set id = #{record.id,jdbcType=BIGINT}, |
|||
label_id = #{record.labelId,jdbcType=BIGINT}, |
|||
user_id = #{record.userId,jdbcType=BIGINT}, |
|||
business_type = #{record.businessType,jdbcType=TINYINT}, |
|||
business_id = #{record.businessId,jdbcType=BIGINT}, |
|||
created_at = #{record.createdAt,jdbcType=TIMESTAMP}, |
|||
updated_at = #{record.updatedAt,jdbcType=TIMESTAMP}, |
|||
rec_status = #{record.recStatus,jdbcType=TINYINT} |
|||
<if test="_parameter != null"> |
|||
<include refid="Update_By_Example_Where_Clause" /> |
|||
</if> |
|||
</update> |
|||
<update id="updateByPrimaryKeySelective" parameterType="com.ccsens.common.bean.po.LabelBusiness"> |
|||
update t_label_business |
|||
<set> |
|||
<if test="labelId != null"> |
|||
label_id = #{labelId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="userId != null"> |
|||
user_id = #{userId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="businessType != null"> |
|||
business_type = #{businessType,jdbcType=TINYINT}, |
|||
</if> |
|||
<if test="businessId != null"> |
|||
business_id = #{businessId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="createdAt != null"> |
|||
created_at = #{createdAt,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="updatedAt != null"> |
|||
updated_at = #{updatedAt,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="recStatus != null"> |
|||
rec_status = #{recStatus,jdbcType=TINYINT}, |
|||
</if> |
|||
</set> |
|||
where id = #{id,jdbcType=BIGINT} |
|||
</update> |
|||
<update id="updateByPrimaryKey" parameterType="com.ccsens.common.bean.po.LabelBusiness"> |
|||
update t_label_business |
|||
set label_id = #{labelId,jdbcType=BIGINT}, |
|||
user_id = #{userId,jdbcType=BIGINT}, |
|||
business_type = #{businessType,jdbcType=TINYINT}, |
|||
business_id = #{businessId,jdbcType=BIGINT}, |
|||
created_at = #{createdAt,jdbcType=TIMESTAMP}, |
|||
updated_at = #{updatedAt,jdbcType=TIMESTAMP}, |
|||
rec_status = #{recStatus,jdbcType=TINYINT} |
|||
where id = #{id,jdbcType=BIGINT} |
|||
</update> |
|||
</mapper> |
@ -0,0 +1,276 @@ |
|||
<?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.ccsens.common.persist.mapper.ProMemberStakeholderMapper"> |
|||
<resultMap id="BaseResultMap" type="com.ccsens.common.bean.po.ProMemberStakeholder"> |
|||
<id column="id" jdbcType="BIGINT" property="id" /> |
|||
<result column="memeber_id" jdbcType="BIGINT" property="memeberId" /> |
|||
<result column="stakeholder_name" jdbcType="VARCHAR" property="stakeholderName" /> |
|||
<result column="stakeholder_phone" jdbcType="VARCHAR" property="stakeholderPhone" /> |
|||
<result column="user_id" jdbcType="BIGINT" property="userId" /> |
|||
<result column="operator" jdbcType="BIGINT" property="operator" /> |
|||
<result column="created_at" jdbcType="TIMESTAMP" property="createdAt" /> |
|||
<result column="updated_at" jdbcType="TIMESTAMP" property="updatedAt" /> |
|||
<result column="rec_status" jdbcType="TINYINT" property="recStatus" /> |
|||
</resultMap> |
|||
<sql id="Example_Where_Clause"> |
|||
<where> |
|||
<foreach collection="oredCriteria" item="criteria" separator="or"> |
|||
<if test="criteria.valid"> |
|||
<trim prefix="(" prefixOverrides="and" suffix=")"> |
|||
<foreach collection="criteria.criteria" item="criterion"> |
|||
<choose> |
|||
<when test="criterion.noValue"> |
|||
and ${criterion.condition} |
|||
</when> |
|||
<when test="criterion.singleValue"> |
|||
and ${criterion.condition} #{criterion.value} |
|||
</when> |
|||
<when test="criterion.betweenValue"> |
|||
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
|||
</when> |
|||
<when test="criterion.listValue"> |
|||
and ${criterion.condition} |
|||
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=","> |
|||
#{listItem} |
|||
</foreach> |
|||
</when> |
|||
</choose> |
|||
</foreach> |
|||
</trim> |
|||
</if> |
|||
</foreach> |
|||
</where> |
|||
</sql> |
|||
<sql id="Update_By_Example_Where_Clause"> |
|||
<where> |
|||
<foreach collection="example.oredCriteria" item="criteria" separator="or"> |
|||
<if test="criteria.valid"> |
|||
<trim prefix="(" prefixOverrides="and" suffix=")"> |
|||
<foreach collection="criteria.criteria" item="criterion"> |
|||
<choose> |
|||
<when test="criterion.noValue"> |
|||
and ${criterion.condition} |
|||
</when> |
|||
<when test="criterion.singleValue"> |
|||
and ${criterion.condition} #{criterion.value} |
|||
</when> |
|||
<when test="criterion.betweenValue"> |
|||
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
|||
</when> |
|||
<when test="criterion.listValue"> |
|||
and ${criterion.condition} |
|||
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=","> |
|||
#{listItem} |
|||
</foreach> |
|||
</when> |
|||
</choose> |
|||
</foreach> |
|||
</trim> |
|||
</if> |
|||
</foreach> |
|||
</where> |
|||
</sql> |
|||
<sql id="Base_Column_List"> |
|||
id, memeber_id, stakeholder_name, stakeholder_phone, user_id, operator, created_at, |
|||
updated_at, rec_status |
|||
</sql> |
|||
<select id="selectByExample" parameterType="com.ccsens.common.bean.po.ProMemberStakeholderExample" resultMap="BaseResultMap"> |
|||
select |
|||
<if test="distinct"> |
|||
distinct |
|||
</if> |
|||
<include refid="Base_Column_List" /> |
|||
from t_pro_member_stakeholder |
|||
<if test="_parameter != null"> |
|||
<include refid="Example_Where_Clause" /> |
|||
</if> |
|||
<if test="orderByClause != null"> |
|||
order by ${orderByClause} |
|||
</if> |
|||
</select> |
|||
<select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap"> |
|||
select |
|||
<include refid="Base_Column_List" /> |
|||
from t_pro_member_stakeholder |
|||
where id = #{id,jdbcType=BIGINT} |
|||
</select> |
|||
<delete id="deleteByPrimaryKey" parameterType="java.lang.Long"> |
|||
delete from t_pro_member_stakeholder |
|||
where id = #{id,jdbcType=BIGINT} |
|||
</delete> |
|||
<delete id="deleteByExample" parameterType="com.ccsens.common.bean.po.ProMemberStakeholderExample"> |
|||
delete from t_pro_member_stakeholder |
|||
<if test="_parameter != null"> |
|||
<include refid="Example_Where_Clause" /> |
|||
</if> |
|||
</delete> |
|||
<insert id="insert" parameterType="com.ccsens.common.bean.po.ProMemberStakeholder"> |
|||
insert into t_pro_member_stakeholder (id, memeber_id, stakeholder_name, |
|||
stakeholder_phone, user_id, operator, |
|||
created_at, updated_at, rec_status |
|||
) |
|||
values (#{id,jdbcType=BIGINT}, #{memeberId,jdbcType=BIGINT}, #{stakeholderName,jdbcType=VARCHAR}, |
|||
#{stakeholderPhone,jdbcType=VARCHAR}, #{userId,jdbcType=BIGINT}, #{operator,jdbcType=BIGINT}, |
|||
#{createdAt,jdbcType=TIMESTAMP}, #{updatedAt,jdbcType=TIMESTAMP}, #{recStatus,jdbcType=TINYINT} |
|||
) |
|||
</insert> |
|||
<insert id="insertSelective" parameterType="com.ccsens.common.bean.po.ProMemberStakeholder"> |
|||
insert into t_pro_member_stakeholder |
|||
<trim prefix="(" suffix=")" suffixOverrides=","> |
|||
<if test="id != null"> |
|||
id, |
|||
</if> |
|||
<if test="memeberId != null"> |
|||
memeber_id, |
|||
</if> |
|||
<if test="stakeholderName != null"> |
|||
stakeholder_name, |
|||
</if> |
|||
<if test="stakeholderPhone != null"> |
|||
stakeholder_phone, |
|||
</if> |
|||
<if test="userId != null"> |
|||
user_id, |
|||
</if> |
|||
<if test="operator != null"> |
|||
operator, |
|||
</if> |
|||
<if test="createdAt != null"> |
|||
created_at, |
|||
</if> |
|||
<if test="updatedAt != null"> |
|||
updated_at, |
|||
</if> |
|||
<if test="recStatus != null"> |
|||
rec_status, |
|||
</if> |
|||
</trim> |
|||
<trim prefix="values (" suffix=")" suffixOverrides=","> |
|||
<if test="id != null"> |
|||
#{id,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="memeberId != null"> |
|||
#{memeberId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="stakeholderName != null"> |
|||
#{stakeholderName,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="stakeholderPhone != null"> |
|||
#{stakeholderPhone,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="userId != null"> |
|||
#{userId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="operator != null"> |
|||
#{operator,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="createdAt != null"> |
|||
#{createdAt,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="updatedAt != null"> |
|||
#{updatedAt,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="recStatus != null"> |
|||
#{recStatus,jdbcType=TINYINT}, |
|||
</if> |
|||
</trim> |
|||
</insert> |
|||
<select id="countByExample" parameterType="com.ccsens.common.bean.po.ProMemberStakeholderExample" resultType="java.lang.Long"> |
|||
select count(*) from t_pro_member_stakeholder |
|||
<if test="_parameter != null"> |
|||
<include refid="Example_Where_Clause" /> |
|||
</if> |
|||
</select> |
|||
<update id="updateByExampleSelective" parameterType="map"> |
|||
update t_pro_member_stakeholder |
|||
<set> |
|||
<if test="record.id != null"> |
|||
id = #{record.id,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="record.memeberId != null"> |
|||
memeber_id = #{record.memeberId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="record.stakeholderName != null"> |
|||
stakeholder_name = #{record.stakeholderName,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.stakeholderPhone != null"> |
|||
stakeholder_phone = #{record.stakeholderPhone,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.userId != null"> |
|||
user_id = #{record.userId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="record.operator != null"> |
|||
operator = #{record.operator,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="record.createdAt != null"> |
|||
created_at = #{record.createdAt,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="record.updatedAt != null"> |
|||
updated_at = #{record.updatedAt,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="record.recStatus != null"> |
|||
rec_status = #{record.recStatus,jdbcType=TINYINT}, |
|||
</if> |
|||
</set> |
|||
<if test="_parameter != null"> |
|||
<include refid="Update_By_Example_Where_Clause" /> |
|||
</if> |
|||
</update> |
|||
<update id="updateByExample" parameterType="map"> |
|||
update t_pro_member_stakeholder |
|||
set id = #{record.id,jdbcType=BIGINT}, |
|||
memeber_id = #{record.memeberId,jdbcType=BIGINT}, |
|||
stakeholder_name = #{record.stakeholderName,jdbcType=VARCHAR}, |
|||
stakeholder_phone = #{record.stakeholderPhone,jdbcType=VARCHAR}, |
|||
user_id = #{record.userId,jdbcType=BIGINT}, |
|||
operator = #{record.operator,jdbcType=BIGINT}, |
|||
created_at = #{record.createdAt,jdbcType=TIMESTAMP}, |
|||
updated_at = #{record.updatedAt,jdbcType=TIMESTAMP}, |
|||
rec_status = #{record.recStatus,jdbcType=TINYINT} |
|||
<if test="_parameter != null"> |
|||
<include refid="Update_By_Example_Where_Clause" /> |
|||
</if> |
|||
</update> |
|||
<update id="updateByPrimaryKeySelective" parameterType="com.ccsens.common.bean.po.ProMemberStakeholder"> |
|||
update t_pro_member_stakeholder |
|||
<set> |
|||
<if test="memeberId != null"> |
|||
memeber_id = #{memeberId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="stakeholderName != null"> |
|||
stakeholder_name = #{stakeholderName,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="stakeholderPhone != null"> |
|||
stakeholder_phone = #{stakeholderPhone,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="userId != null"> |
|||
user_id = #{userId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="operator != null"> |
|||
operator = #{operator,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="createdAt != null"> |
|||
created_at = #{createdAt,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="updatedAt != null"> |
|||
updated_at = #{updatedAt,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="recStatus != null"> |
|||
rec_status = #{recStatus,jdbcType=TINYINT}, |
|||
</if> |
|||
</set> |
|||
where id = #{id,jdbcType=BIGINT} |
|||
</update> |
|||
<update id="updateByPrimaryKey" parameterType="com.ccsens.common.bean.po.ProMemberStakeholder"> |
|||
update t_pro_member_stakeholder |
|||
set memeber_id = #{memeberId,jdbcType=BIGINT}, |
|||
stakeholder_name = #{stakeholderName,jdbcType=VARCHAR}, |
|||
stakeholder_phone = #{stakeholderPhone,jdbcType=VARCHAR}, |
|||
user_id = #{userId,jdbcType=BIGINT}, |
|||
operator = #{operator,jdbcType=BIGINT}, |
|||
created_at = #{createdAt,jdbcType=TIMESTAMP}, |
|||
updated_at = #{updatedAt,jdbcType=TIMESTAMP}, |
|||
rec_status = #{recStatus,jdbcType=TINYINT} |
|||
where id = #{id,jdbcType=BIGINT} |
|||
</update> |
|||
</mapper> |
@ -1,243 +1,259 @@ |
|||
<?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.ccsens.common.persist.mapper.ProTaskVersionMapper"> |
|||
<resultMap id="BaseResultMap" type="com.ccsens.common.bean.po.ProTaskVersion"> |
|||
<id column="id" jdbcType="BIGINT" property="id" /> |
|||
<result column="task_detail_id" jdbcType="BIGINT" property="taskDetailId" /> |
|||
<result column="task_version_info" jdbcType="VARCHAR" property="taskVersionInfo" /> |
|||
<result column="project_type" jdbcType="TINYINT" property="projectType" /> |
|||
<result column="created_at" jdbcType="TIMESTAMP" property="createdAt" /> |
|||
<result column="updated_at" jdbcType="TIMESTAMP" property="updatedAt" /> |
|||
<result column="rec_status" jdbcType="TINYINT" property="recStatus" /> |
|||
</resultMap> |
|||
<sql id="Example_Where_Clause"> |
|||
<where> |
|||
<foreach collection="oredCriteria" item="criteria" separator="or"> |
|||
<if test="criteria.valid"> |
|||
<trim prefix="(" prefixOverrides="and" suffix=")"> |
|||
<foreach collection="criteria.criteria" item="criterion"> |
|||
<choose> |
|||
<when test="criterion.noValue"> |
|||
and ${criterion.condition} |
|||
</when> |
|||
<when test="criterion.singleValue"> |
|||
and ${criterion.condition} #{criterion.value} |
|||
</when> |
|||
<when test="criterion.betweenValue"> |
|||
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
|||
</when> |
|||
<when test="criterion.listValue"> |
|||
and ${criterion.condition} |
|||
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=","> |
|||
#{listItem} |
|||
</foreach> |
|||
</when> |
|||
</choose> |
|||
</foreach> |
|||
</trim> |
|||
</if> |
|||
</foreach> |
|||
</where> |
|||
</sql> |
|||
<sql id="Update_By_Example_Where_Clause"> |
|||
<where> |
|||
<foreach collection="example.oredCriteria" item="criteria" separator="or"> |
|||
<if test="criteria.valid"> |
|||
<trim prefix="(" prefixOverrides="and" suffix=")"> |
|||
<foreach collection="criteria.criteria" item="criterion"> |
|||
<choose> |
|||
<when test="criterion.noValue"> |
|||
and ${criterion.condition} |
|||
</when> |
|||
<when test="criterion.singleValue"> |
|||
and ${criterion.condition} #{criterion.value} |
|||
</when> |
|||
<when test="criterion.betweenValue"> |
|||
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
|||
</when> |
|||
<when test="criterion.listValue"> |
|||
and ${criterion.condition} |
|||
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=","> |
|||
#{listItem} |
|||
</foreach> |
|||
</when> |
|||
</choose> |
|||
</foreach> |
|||
</trim> |
|||
</if> |
|||
</foreach> |
|||
</where> |
|||
</sql> |
|||
<sql id="Base_Column_List"> |
|||
id, task_detail_id, task_version_info, project_type, created_at, updated_at, rec_status |
|||
</sql> |
|||
<select id="selectByExample" parameterType="com.ccsens.common.bean.po.ProTaskVersionExample" resultMap="BaseResultMap"> |
|||
select |
|||
<if test="distinct"> |
|||
distinct |
|||
</if> |
|||
<include refid="Base_Column_List" /> |
|||
from t_pro_task_version |
|||
<if test="_parameter != null"> |
|||
<include refid="Example_Where_Clause" /> |
|||
</if> |
|||
<if test="orderByClause != null"> |
|||
order by ${orderByClause} |
|||
</if> |
|||
</select> |
|||
<select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap"> |
|||
select |
|||
<include refid="Base_Column_List" /> |
|||
from t_pro_task_version |
|||
where id = #{id,jdbcType=BIGINT} |
|||
</select> |
|||
<delete id="deleteByPrimaryKey" parameterType="java.lang.Long"> |
|||
delete from t_pro_task_version |
|||
where id = #{id,jdbcType=BIGINT} |
|||
</delete> |
|||
<delete id="deleteByExample" parameterType="com.ccsens.common.bean.po.ProTaskVersionExample"> |
|||
delete from t_pro_task_version |
|||
<if test="_parameter != null"> |
|||
<include refid="Example_Where_Clause" /> |
|||
</if> |
|||
</delete> |
|||
<insert id="insert" parameterType="com.ccsens.common.bean.po.ProTaskVersion"> |
|||
insert into t_pro_task_version (id, task_detail_id, task_version_info, |
|||
project_type, created_at, updated_at, |
|||
rec_status) |
|||
values (#{id,jdbcType=BIGINT}, #{taskDetailId,jdbcType=BIGINT}, #{taskVersionInfo,jdbcType=VARCHAR}, |
|||
#{projectType,jdbcType=TINYINT}, #{createdAt,jdbcType=TIMESTAMP}, #{updatedAt,jdbcType=TIMESTAMP}, |
|||
#{recStatus,jdbcType=TINYINT}) |
|||
</insert> |
|||
<insert id="insertSelective" parameterType="com.ccsens.common.bean.po.ProTaskVersion"> |
|||
insert into t_pro_task_version |
|||
<trim prefix="(" suffix=")" suffixOverrides=","> |
|||
<if test="id != null"> |
|||
id, |
|||
</if> |
|||
<if test="taskDetailId != null"> |
|||
task_detail_id, |
|||
</if> |
|||
<if test="taskVersionInfo != null"> |
|||
task_version_info, |
|||
</if> |
|||
<if test="projectType != null"> |
|||
project_type, |
|||
</if> |
|||
<if test="createdAt != null"> |
|||
created_at, |
|||
</if> |
|||
<if test="updatedAt != null"> |
|||
updated_at, |
|||
</if> |
|||
<if test="recStatus != null"> |
|||
rec_status, |
|||
</if> |
|||
</trim> |
|||
<trim prefix="values (" suffix=")" suffixOverrides=","> |
|||
<if test="id != null"> |
|||
#{id,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="taskDetailId != null"> |
|||
#{taskDetailId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="taskVersionInfo != null"> |
|||
#{taskVersionInfo,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="projectType != null"> |
|||
#{projectType,jdbcType=TINYINT}, |
|||
</if> |
|||
<if test="createdAt != null"> |
|||
#{createdAt,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="updatedAt != null"> |
|||
#{updatedAt,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="recStatus != null"> |
|||
#{recStatus,jdbcType=TINYINT}, |
|||
</if> |
|||
</trim> |
|||
</insert> |
|||
<select id="countByExample" parameterType="com.ccsens.common.bean.po.ProTaskVersionExample" resultType="java.lang.Long"> |
|||
select count(*) from t_pro_task_version |
|||
<if test="_parameter != null"> |
|||
<include refid="Example_Where_Clause" /> |
|||
</if> |
|||
</select> |
|||
<update id="updateByExampleSelective" parameterType="map"> |
|||
update t_pro_task_version |
|||
<set> |
|||
<if test="record.id != null"> |
|||
id = #{record.id,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="record.taskDetailId != null"> |
|||
task_detail_id = #{record.taskDetailId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="record.taskVersionInfo != null"> |
|||
task_version_info = #{record.taskVersionInfo,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.projectType != null"> |
|||
project_type = #{record.projectType,jdbcType=TINYINT}, |
|||
</if> |
|||
<if test="record.createdAt != null"> |
|||
created_at = #{record.createdAt,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="record.updatedAt != null"> |
|||
updated_at = #{record.updatedAt,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="record.recStatus != null"> |
|||
rec_status = #{record.recStatus,jdbcType=TINYINT}, |
|||
</if> |
|||
</set> |
|||
<if test="_parameter != null"> |
|||
<include refid="Update_By_Example_Where_Clause" /> |
|||
</if> |
|||
</update> |
|||
<update id="updateByExample" parameterType="map"> |
|||
update t_pro_task_version |
|||
set id = #{record.id,jdbcType=BIGINT}, |
|||
task_detail_id = #{record.taskDetailId,jdbcType=BIGINT}, |
|||
task_version_info = #{record.taskVersionInfo,jdbcType=VARCHAR}, |
|||
project_type = #{record.projectType,jdbcType=TINYINT}, |
|||
created_at = #{record.createdAt,jdbcType=TIMESTAMP}, |
|||
updated_at = #{record.updatedAt,jdbcType=TIMESTAMP}, |
|||
rec_status = #{record.recStatus,jdbcType=TINYINT} |
|||
<if test="_parameter != null"> |
|||
<include refid="Update_By_Example_Where_Clause" /> |
|||
</if> |
|||
</update> |
|||
<update id="updateByPrimaryKeySelective" parameterType="com.ccsens.common.bean.po.ProTaskVersion"> |
|||
update t_pro_task_version |
|||
<set> |
|||
<if test="taskDetailId != null"> |
|||
task_detail_id = #{taskDetailId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="taskVersionInfo != null"> |
|||
task_version_info = #{taskVersionInfo,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="projectType != null"> |
|||
project_type = #{projectType,jdbcType=TINYINT}, |
|||
</if> |
|||
<if test="createdAt != null"> |
|||
created_at = #{createdAt,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="updatedAt != null"> |
|||
updated_at = #{updatedAt,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="recStatus != null"> |
|||
rec_status = #{recStatus,jdbcType=TINYINT}, |
|||
</if> |
|||
</set> |
|||
where id = #{id,jdbcType=BIGINT} |
|||
</update> |
|||
<update id="updateByPrimaryKey" parameterType="com.ccsens.common.bean.po.ProTaskVersion"> |
|||
update t_pro_task_version |
|||
set task_detail_id = #{taskDetailId,jdbcType=BIGINT}, |
|||
task_version_info = #{taskVersionInfo,jdbcType=VARCHAR}, |
|||
project_type = #{projectType,jdbcType=TINYINT}, |
|||
created_at = #{createdAt,jdbcType=TIMESTAMP}, |
|||
updated_at = #{updatedAt,jdbcType=TIMESTAMP}, |
|||
rec_status = #{recStatus,jdbcType=TINYINT} |
|||
where id = #{id,jdbcType=BIGINT} |
|||
</update> |
|||
<?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.ccsens.common.persist.mapper.ProTaskVersionMapper"> |
|||
<resultMap id="BaseResultMap" type="com.ccsens.common.bean.po.ProTaskVersion"> |
|||
<id column="id" jdbcType="BIGINT" property="id" /> |
|||
<result column="task_detail_id" jdbcType="BIGINT" property="taskDetailId" /> |
|||
<result column="task_version_info" jdbcType="VARCHAR" property="taskVersionInfo" /> |
|||
<result column="project_type" jdbcType="TINYINT" property="projectType" /> |
|||
<result column="created_at" jdbcType="TIMESTAMP" property="createdAt" /> |
|||
<result column="updated_at" jdbcType="TIMESTAMP" property="updatedAt" /> |
|||
<result column="rec_status" jdbcType="TINYINT" property="recStatus" /> |
|||
<result column="address" jdbcType="VARCHAR" property="address" /> |
|||
</resultMap> |
|||
<sql id="Example_Where_Clause"> |
|||
<where> |
|||
<foreach collection="oredCriteria" item="criteria" separator="or"> |
|||
<if test="criteria.valid"> |
|||
<trim prefix="(" prefixOverrides="and" suffix=")"> |
|||
<foreach collection="criteria.criteria" item="criterion"> |
|||
<choose> |
|||
<when test="criterion.noValue"> |
|||
and ${criterion.condition} |
|||
</when> |
|||
<when test="criterion.singleValue"> |
|||
and ${criterion.condition} #{criterion.value} |
|||
</when> |
|||
<when test="criterion.betweenValue"> |
|||
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
|||
</when> |
|||
<when test="criterion.listValue"> |
|||
and ${criterion.condition} |
|||
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=","> |
|||
#{listItem} |
|||
</foreach> |
|||
</when> |
|||
</choose> |
|||
</foreach> |
|||
</trim> |
|||
</if> |
|||
</foreach> |
|||
</where> |
|||
</sql> |
|||
<sql id="Update_By_Example_Where_Clause"> |
|||
<where> |
|||
<foreach collection="example.oredCriteria" item="criteria" separator="or"> |
|||
<if test="criteria.valid"> |
|||
<trim prefix="(" prefixOverrides="and" suffix=")"> |
|||
<foreach collection="criteria.criteria" item="criterion"> |
|||
<choose> |
|||
<when test="criterion.noValue"> |
|||
and ${criterion.condition} |
|||
</when> |
|||
<when test="criterion.singleValue"> |
|||
and ${criterion.condition} #{criterion.value} |
|||
</when> |
|||
<when test="criterion.betweenValue"> |
|||
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} |
|||
</when> |
|||
<when test="criterion.listValue"> |
|||
and ${criterion.condition} |
|||
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=","> |
|||
#{listItem} |
|||
</foreach> |
|||
</when> |
|||
</choose> |
|||
</foreach> |
|||
</trim> |
|||
</if> |
|||
</foreach> |
|||
</where> |
|||
</sql> |
|||
<sql id="Base_Column_List"> |
|||
id, task_detail_id, task_version_info, project_type, created_at, updated_at, rec_status, |
|||
address |
|||
</sql> |
|||
<select id="selectByExample" parameterType="com.ccsens.common.bean.po.ProTaskVersionExample" resultMap="BaseResultMap"> |
|||
select |
|||
<if test="distinct"> |
|||
distinct |
|||
</if> |
|||
<include refid="Base_Column_List" /> |
|||
from t_pro_task_version |
|||
<if test="_parameter != null"> |
|||
<include refid="Example_Where_Clause" /> |
|||
</if> |
|||
<if test="orderByClause != null"> |
|||
order by ${orderByClause} |
|||
</if> |
|||
</select> |
|||
<select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap"> |
|||
select |
|||
<include refid="Base_Column_List" /> |
|||
from t_pro_task_version |
|||
where id = #{id,jdbcType=BIGINT} |
|||
</select> |
|||
<delete id="deleteByPrimaryKey" parameterType="java.lang.Long"> |
|||
delete from t_pro_task_version |
|||
where id = #{id,jdbcType=BIGINT} |
|||
</delete> |
|||
<delete id="deleteByExample" parameterType="com.ccsens.common.bean.po.ProTaskVersionExample"> |
|||
delete from t_pro_task_version |
|||
<if test="_parameter != null"> |
|||
<include refid="Example_Where_Clause" /> |
|||
</if> |
|||
</delete> |
|||
<insert id="insert" parameterType="com.ccsens.common.bean.po.ProTaskVersion"> |
|||
insert into t_pro_task_version (id, task_detail_id, task_version_info, |
|||
project_type, created_at, updated_at, |
|||
rec_status, address) |
|||
values (#{id,jdbcType=BIGINT}, #{taskDetailId,jdbcType=BIGINT}, #{taskVersionInfo,jdbcType=VARCHAR}, |
|||
#{projectType,jdbcType=TINYINT}, #{createdAt,jdbcType=TIMESTAMP}, #{updatedAt,jdbcType=TIMESTAMP}, |
|||
#{recStatus,jdbcType=TINYINT}, #{address,jdbcType=VARCHAR}) |
|||
</insert> |
|||
<insert id="insertSelective" parameterType="com.ccsens.common.bean.po.ProTaskVersion"> |
|||
insert into t_pro_task_version |
|||
<trim prefix="(" suffix=")" suffixOverrides=","> |
|||
<if test="id != null"> |
|||
id, |
|||
</if> |
|||
<if test="taskDetailId != null"> |
|||
task_detail_id, |
|||
</if> |
|||
<if test="taskVersionInfo != null"> |
|||
task_version_info, |
|||
</if> |
|||
<if test="projectType != null"> |
|||
project_type, |
|||
</if> |
|||
<if test="createdAt != null"> |
|||
created_at, |
|||
</if> |
|||
<if test="updatedAt != null"> |
|||
updated_at, |
|||
</if> |
|||
<if test="recStatus != null"> |
|||
rec_status, |
|||
</if> |
|||
<if test="address != null"> |
|||
address, |
|||
</if> |
|||
</trim> |
|||
<trim prefix="values (" suffix=")" suffixOverrides=","> |
|||
<if test="id != null"> |
|||
#{id,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="taskDetailId != null"> |
|||
#{taskDetailId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="taskVersionInfo != null"> |
|||
#{taskVersionInfo,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="projectType != null"> |
|||
#{projectType,jdbcType=TINYINT}, |
|||
</if> |
|||
<if test="createdAt != null"> |
|||
#{createdAt,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="updatedAt != null"> |
|||
#{updatedAt,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="recStatus != null"> |
|||
#{recStatus,jdbcType=TINYINT}, |
|||
</if> |
|||
<if test="address != null"> |
|||
#{address,jdbcType=VARCHAR}, |
|||
</if> |
|||
</trim> |
|||
</insert> |
|||
<select id="countByExample" parameterType="com.ccsens.common.bean.po.ProTaskVersionExample" resultType="java.lang.Long"> |
|||
select count(*) from t_pro_task_version |
|||
<if test="_parameter != null"> |
|||
<include refid="Example_Where_Clause" /> |
|||
</if> |
|||
</select> |
|||
<update id="updateByExampleSelective" parameterType="map"> |
|||
update t_pro_task_version |
|||
<set> |
|||
<if test="record.id != null"> |
|||
id = #{record.id,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="record.taskDetailId != null"> |
|||
task_detail_id = #{record.taskDetailId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="record.taskVersionInfo != null"> |
|||
task_version_info = #{record.taskVersionInfo,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="record.projectType != null"> |
|||
project_type = #{record.projectType,jdbcType=TINYINT}, |
|||
</if> |
|||
<if test="record.createdAt != null"> |
|||
created_at = #{record.createdAt,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="record.updatedAt != null"> |
|||
updated_at = #{record.updatedAt,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="record.recStatus != null"> |
|||
rec_status = #{record.recStatus,jdbcType=TINYINT}, |
|||
</if> |
|||
<if test="record.address != null"> |
|||
address = #{record.address,jdbcType=VARCHAR}, |
|||
</if> |
|||
</set> |
|||
<if test="_parameter != null"> |
|||
<include refid="Update_By_Example_Where_Clause" /> |
|||
</if> |
|||
</update> |
|||
<update id="updateByExample" parameterType="map"> |
|||
update t_pro_task_version |
|||
set id = #{record.id,jdbcType=BIGINT}, |
|||
task_detail_id = #{record.taskDetailId,jdbcType=BIGINT}, |
|||
task_version_info = #{record.taskVersionInfo,jdbcType=VARCHAR}, |
|||
project_type = #{record.projectType,jdbcType=TINYINT}, |
|||
created_at = #{record.createdAt,jdbcType=TIMESTAMP}, |
|||
updated_at = #{record.updatedAt,jdbcType=TIMESTAMP}, |
|||
rec_status = #{record.recStatus,jdbcType=TINYINT}, |
|||
address = #{record.address,jdbcType=VARCHAR} |
|||
<if test="_parameter != null"> |
|||
<include refid="Update_By_Example_Where_Clause" /> |
|||
</if> |
|||
</update> |
|||
<update id="updateByPrimaryKeySelective" parameterType="com.ccsens.common.bean.po.ProTaskVersion"> |
|||
update t_pro_task_version |
|||
<set> |
|||
<if test="taskDetailId != null"> |
|||
task_detail_id = #{taskDetailId,jdbcType=BIGINT}, |
|||
</if> |
|||
<if test="taskVersionInfo != null"> |
|||
task_version_info = #{taskVersionInfo,jdbcType=VARCHAR}, |
|||
</if> |
|||
<if test="projectType != null"> |
|||
project_type = #{projectType,jdbcType=TINYINT}, |
|||
</if> |
|||
<if test="createdAt != null"> |
|||
created_at = #{createdAt,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="updatedAt != null"> |
|||
updated_at = #{updatedAt,jdbcType=TIMESTAMP}, |
|||
</if> |
|||
<if test="recStatus != null"> |
|||
rec_status = #{recStatus,jdbcType=TINYINT}, |
|||
</if> |
|||
<if test="address != null"> |
|||
address = #{address,jdbcType=VARCHAR}, |
|||
</if> |
|||
</set> |
|||
where id = #{id,jdbcType=BIGINT} |
|||
</update> |
|||
<update id="updateByPrimaryKey" parameterType="com.ccsens.common.bean.po.ProTaskVersion"> |
|||
update t_pro_task_version |
|||
set task_detail_id = #{taskDetailId,jdbcType=BIGINT}, |
|||
task_version_info = #{taskVersionInfo,jdbcType=VARCHAR}, |
|||
project_type = #{projectType,jdbcType=TINYINT}, |
|||
created_at = #{createdAt,jdbcType=TIMESTAMP}, |
|||
updated_at = #{updatedAt,jdbcType=TIMESTAMP}, |
|||
rec_status = #{recStatus,jdbcType=TINYINT}, |
|||
address = #{address,jdbcType=VARCHAR} |
|||
where id = #{id,jdbcType=BIGINT} |
|||
</update> |
|||
</mapper> |
Loading…
Reference in new issue