切换mysql为达梦数据库-代码审查
1.userboot模块
This commit is contained in:
@@ -7,7 +7,7 @@ import com.njcn.common.pojo.response.HttpResult;
|
|||||||
import com.njcn.common.utils.HttpResultUtil;
|
import com.njcn.common.utils.HttpResultUtil;
|
||||||
import com.njcn.user.pojo.param.PassWordRuleParam;
|
import com.njcn.user.pojo.param.PassWordRuleParam;
|
||||||
import com.njcn.user.pojo.po.UserStrategy;
|
import com.njcn.user.pojo.po.UserStrategy;
|
||||||
import com.njcn.user.service.PassWordRuleService;
|
import com.njcn.user.service.IPassWordRuleService;
|
||||||
import com.njcn.web.controller.BaseController;
|
import com.njcn.web.controller.BaseController;
|
||||||
import io.swagger.annotations.Api;
|
import io.swagger.annotations.Api;
|
||||||
import io.swagger.annotations.ApiOperation;
|
import io.swagger.annotations.ApiOperation;
|
||||||
@@ -33,7 +33,7 @@ import org.springframework.web.bind.annotation.RestController;
|
|||||||
@RequestMapping("/password")
|
@RequestMapping("/password")
|
||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
public class PassWordRuleController extends BaseController {
|
public class PassWordRuleController extends BaseController {
|
||||||
private final PassWordRuleService passWordRuleService;
|
private final IPassWordRuleService passWordRuleService;
|
||||||
@OperateInfo(info = LogEnum.SYSTEM_COMMON)
|
@OperateInfo(info = LogEnum.SYSTEM_COMMON)
|
||||||
@ApiOperation("密码规则修改")
|
@ApiOperation("密码规则修改")
|
||||||
@RequestMapping(value = "/ruleUpdate", method = RequestMethod.POST)
|
@RequestMapping(value = "/ruleUpdate", method = RequestMethod.POST)
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ import com.njcn.user.pojo.po.UserStrategy;
|
|||||||
* @author clam
|
* @author clam
|
||||||
* @version V1.0.0
|
* @version V1.0.0
|
||||||
*/
|
*/
|
||||||
public interface PassWordRuleService {
|
public interface IPassWordRuleService {
|
||||||
Boolean ruleUpdate(PassWordRuleParam passWordRuleParam);
|
Boolean ruleUpdate(PassWordRuleParam passWordRuleParam);
|
||||||
|
|
||||||
PassWordRuleParam getRule();
|
PassWordRuleParam getRule();
|
||||||
@@ -8,7 +8,7 @@ import com.njcn.user.pojo.po.UserStrategy;
|
|||||||
import com.njcn.user.service.IAuthClientService;
|
import com.njcn.user.service.IAuthClientService;
|
||||||
import com.njcn.user.service.IUserService;
|
import com.njcn.user.service.IUserService;
|
||||||
import com.njcn.user.service.IUserStrategyService;
|
import com.njcn.user.service.IUserStrategyService;
|
||||||
import com.njcn.user.service.PassWordRuleService;
|
import com.njcn.user.service.IPassWordRuleService;
|
||||||
import lombok.RequiredArgsConstructor;
|
import lombok.RequiredArgsConstructor;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
import org.springframework.transaction.annotation.Transactional;
|
import org.springframework.transaction.annotation.Transactional;
|
||||||
@@ -22,7 +22,7 @@ import org.springframework.transaction.annotation.Transactional;
|
|||||||
*/
|
*/
|
||||||
@Service
|
@Service
|
||||||
@RequiredArgsConstructor
|
@RequiredArgsConstructor
|
||||||
public class PassWordRuleServiceImpl implements PassWordRuleService {
|
public class PassWordRuleServiceImpl implements IPassWordRuleService {
|
||||||
|
|
||||||
private final IUserStrategyService iUserStrategyService;
|
private final IUserStrategyService iUserStrategyService;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user