Merge branch 'master' of https://gitea.chually.cn/chujinwang/chushangcloud
This commit is contained in:
commit
47b67d96df
|
|
@ -95,6 +95,10 @@ public class WrkProject extends BaseEntity {
|
||||||
@DictFormat(dictType = "project_effect")
|
@DictFormat(dictType = "project_effect")
|
||||||
@Condition(name = "project_effect", type = Condition.ConditionType.eq)
|
@Condition(name = "project_effect", type = Condition.ConditionType.eq)
|
||||||
private Integer projectEffect;
|
private Integer projectEffect;
|
||||||
|
@TableField(value = "project_effect")
|
||||||
|
@DictFormat(dictType = "project_effect")
|
||||||
|
@Condition(name = "project_effect", type = Condition.ConditionType.eq)
|
||||||
|
private Integer status;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 查询条件 所属部门id
|
* 查询条件 所属部门id
|
||||||
|
|
|
||||||
|
|
@ -43,7 +43,7 @@ public class WrkAuditRuleController {
|
||||||
* 新增和修改
|
* 新增和修改
|
||||||
*/
|
*/
|
||||||
@PostMapping ("/saveOrUpdate")
|
@PostMapping ("/saveOrUpdate")
|
||||||
@RequiresPermissions("wrk:aduit:su")
|
@RequiresPermissions("wrk:aduit:save")
|
||||||
@SysLog(value = "审核规则新增和修改", businessType = BusinessType.AUDIT)
|
@SysLog(value = "审核规则新增和修改", businessType = BusinessType.AUDIT)
|
||||||
public AjaxResult saveOrUpdate(@Validated @RequestBody WrkAuditRuleDTO dto) {
|
public AjaxResult saveOrUpdate(@Validated @RequestBody WrkAuditRuleDTO dto) {
|
||||||
return AjaxResult.success(wrkAuditRuleService.saveOrUpdate(dto));
|
return AjaxResult.success(wrkAuditRuleService.saveOrUpdate(dto));
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue