记得上下班打卡 | git大法好,push需谨慎

Commit d8bcb1dc authored by 胡佳晨's avatar 胡佳晨

sweet

parent 131d4d5e
......@@ -62,10 +62,10 @@ public class SweetManualNotifyController {
@GetMapping("detail")
@ApiOperation("通知详情")
@ApiImplicitParams({
@ApiImplicitParam(type = "query", dataType = "String", name = "manualId", value = "手册id", required = true),
@ApiImplicitParam(type = "query", dataType = "String", name = "manualNotifyId", value = "通知id", required = true),
})
public ResponseDto<SweetManualNotify> detail(@RequestParam() String manualId) {
return sweetManualNotifyService.details(manualId);
public ResponseDto<SweetManualNotify> detail(@RequestParam() String manualNotifyId) {
return sweetManualNotifyService.details(manualNotifyId);
}
@PostMapping("change")
......
......@@ -73,9 +73,9 @@ public class SweetManualNotifyServiceImpl extends ServiceImpl<SweetManualNotifyM
}
@Override
public ResponseDto<SweetManualNotify> details(String manualId) {
public ResponseDto<SweetManualNotify> details(String manualNotifyId) {
try {
return ResponseDto.success(sweetManualNotifyMapper.selectOne(Wrappers.lambdaQuery(SweetManualNotify.class).eq(SweetManualNotify::getManualId, manualId).eq(SweetManualNotify::getStatus, 1)));
return ResponseDto.success(sweetManualNotifyMapper.selectOne(Wrappers.lambdaQuery(SweetManualNotify.class).eq(SweetManualNotify::getManualNotifyId, manualNotifyId).eq(SweetManualNotify::getStatus, 1)));
} catch (Exception e) {
return ResponseDto.failure();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment