微调
This commit is contained in:
@@ -60,7 +60,6 @@ public class UserLogController extends BaseController {
|
||||
@OperateInfo(info = LogEnum.SYSTEM_COMMON, operateType = OperateType.QUERY)
|
||||
@PostMapping("/query")
|
||||
@ApiOperation("查询审计日志")
|
||||
@ApiImplicitParam(name = "logInfoDTO", value = "插入日志参数", required = true)
|
||||
public HttpResult<List<UserLog>> addUserLog() {
|
||||
String methodDescribe = getMethodDescribe("addUserLog");
|
||||
List<UserLog> list = userLogService.lambdaQuery().eq(UserLog::getUserName, RequestUtil.getUsername()).list();
|
||||
|
||||
@@ -22,6 +22,7 @@ import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.njcn.web.factory.PageFactory;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
@@ -135,6 +136,8 @@ public class DictTypeServiceImpl extends ServiceImpl<DictTypeMapper, DictType> i
|
||||
return dictType;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 校验参数,检查是否存在相同名称的字典类型
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user