Browse Source

fix integer equals replace ==

tags/B.1.0.1.0_20230721_base^2
yk 2 years ago
parent
commit
134b8ee0c6
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      xueyi-modules/xueyi-system/src/main/java/com/xueyi/system/pass/controller/api/DmRecognizedRecordsInnerApiController.java

+ 1
- 1
xueyi-modules/xueyi-system/src/main/java/com/xueyi/system/pass/controller/api/DmRecognizedRecordsInnerApiController.java View File

@@ -87,7 +87,7 @@ public class DmRecognizedRecordsInnerApiController extends BaseApiController {
e.printStackTrace();
return output(ResponseCode.ILLEGAL_PARAMETER, "timestamp").toJSON();
}
if (type != DmRecognizedRecordsDto.TYPE_STRANGER) {
if (type.equals(DmRecognizedRecordsDto.TYPE_STRANGER)) {
DmStaffPo emp = dmStaffMapper.selectById(userId);
if (ObjectUtils.anyNotNull(emp)) {
cr.setUserName(emp.getUserName());


Loading…
Cancel
Save