Changes
parent
9709819e33
commit
c6c5807250
|
@ -119,7 +119,7 @@ public class RuleEditionController {
|
|||
* @return
|
||||
*/
|
||||
@GetMapping("/findByEditionId/{id}")
|
||||
@Operation(summary = "规则详细", description = "规则详细")
|
||||
@Operation(summary = "规则版本详细", description = "规则详细")
|
||||
public Result findByEditionId(@PathVariable("id") Long id) {
|
||||
return Result.success(ruleEditionService.list(new LambdaQueryWrapper<>() {{
|
||||
eq(RuleEdition::getId, id);
|
||||
|
|
|
@ -57,6 +57,8 @@ public class RuleEditionServiceImpl extends ServiceImpl<RuleEditionMapper, RuleE
|
|||
throw new ServiceException("设置违法");
|
||||
// DesensitizedUtil.desensitized()
|
||||
}
|
||||
// hutool desensitization
|
||||
|
||||
LambdaUpdateWrapper<RuleEdition> updateWrapper = new LambdaUpdateWrapper<>();
|
||||
updateWrapper.eq(RuleEdition::getId, id);
|
||||
updateWrapper.set(RuleEdition::getRuleActivate, ruleActivate);
|
||||
|
|
Loading…
Reference in New Issue