| | |
| | | package com.gkhy.exam.admin.controller.web; |
| | | |
| | | import com.gkhy.exam.common.annotation.RepeatSubmit; |
| | | import com.gkhy.exam.common.api.CommonResult; |
| | | import com.gkhy.exam.system.domain.*; |
| | | import com.gkhy.exam.system.service.QualitySystemPlanService; |
| | |
| | | * @param qualitySystemPlan |
| | | * @return |
| | | */ |
| | | @RepeatSubmit |
| | | @ApiOperation(value = "质量体系策划新增") |
| | | @PostMapping("/insert") |
| | | public CommonResult insertQualitySystemPlan(@RequestBody QualitySystemPlan qualitySystemPlan){ |
| | |
| | | * @param qualitySystemPlan |
| | | * @return |
| | | */ |
| | | @RepeatSubmit |
| | | @ApiOperation(value = "质量体系策划修改") |
| | | @PostMapping("/update") |
| | | public CommonResult updateQualitySystemPlan(@RequestBody QualitySystemPlan qualitySystemPlan){ |
| | |
| | | import lombok.Getter; |
| | | import lombok.Setter; |
| | | |
| | | import javax.validation.constraints.NotNull; |
| | | import java.io.Serializable; |
| | | import java.math.BigDecimal; |
| | | |
| | |
| | | @TableId(value = "id", type = IdType.AUTO) |
| | | private Integer id; |
| | | |
| | | @ApiModelProperty(value = "申请id") |
| | | @NotNull(message = "申请主键不可为空") |
| | | @ApiModelProperty(value = "申请id",required = true) |
| | | @TableField("apply_id") |
| | | private Integer applyId; |
| | | |
| | |
| | | import lombok.Getter; |
| | | import lombok.Setter; |
| | | |
| | | import javax.validation.constraints.NotNull; |
| | | import java.io.Serializable; |
| | | import java.time.LocalDateTime; |
| | | import java.util.List; |
| | |
| | | @TableId(value = "id", type = IdType.AUTO) |
| | | private Integer id; |
| | | |
| | | @ApiModelProperty(value = "企业ID") |
| | | @NotNull(message = "企业id不可为空") |
| | | @ApiModelProperty(value = "企业ID",required = true) |
| | | @TableField("company_id") |
| | | private Integer companyId; |
| | | |
| | |
| | | @TableField(exist = false) |
| | | private String companyName; |
| | | |
| | | @ApiModelProperty(value = "年份") |
| | | @NotNull(message = "年份不可为空") |
| | | @ApiModelProperty(value = "年份",required = true) |
| | | @TableField("year") |
| | | private String year; |
| | | |
| | |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Getter; |
| | | import lombok.Setter; |
| | | import org.checkerframework.checker.units.qual.N; |
| | | |
| | | import javax.validation.constraints.NotNull; |
| | | import java.io.Serializable; |
| | | import java.time.LocalDateTime; |
| | | |
| | |
| | | @TableId(value = "id", type = IdType.AUTO) |
| | | private Integer id; |
| | | |
| | | @ApiModelProperty(value = "策划id") |
| | | @NotNull(message = "策划主键不可为空") |
| | | @ApiModelProperty(value = "策划id",required = true) |
| | | @TableField("plan_id") |
| | | private Integer planId; |
| | | |
| | |
| | | LEFT JOIN sys_company sc ON iss.company_id = sc.id |
| | | WHERE |
| | | iss.del_flag = 1 |
| | | AND iss.company_id = 24 |
| | | <if test="companyId!=null"> |
| | | AND iss.company_id = #{companyId} |
| | | </if> |
| | | ORDER BY |
| | | iss.create_time DESC |
| | | </select> |
| | |
| | | LEFT JOIN sys_company sc ON pr.company_id = sc.id |
| | | WHERE |
| | | pr.del_flag = 1 |
| | | AND pr.company_id = 24 |
| | | <if test="companyId!=null"> |
| | | and pr.company_id = #{companyId} |
| | | </if> |
| | | ORDER BY |
| | | pr.create_time DESC |
| | | </select> |
| | |
| | | qsp.`check_id`, |
| | | su2.`name` as check_name, |
| | | qsp.`ratify_id`, |
| | | su2.`name` as ratify_name, |
| | | su3.`name` as ratify_name, |
| | | qsp.`del_flag`, |
| | | qsp.`create_by`, |
| | | qsp.`create_time`, |