|
|
@@ -143,11 +143,12 @@ public class SpApplicationServiceImpl implements SpApplicationService {
|
|
|
if (Objects.isNull(res)) {
|
|
|
return ResponseModel.errorMsg(RepCodeEnum.APP_NOT_EXIST);
|
|
|
}
|
|
|
- res.setEnableFlag(UserStatus.DISABLE.getIntegerCode());
|
|
|
- res.setDeleteFlag(IsDeleteEnum.DELETE.getIntegerCode());
|
|
|
- res.setUpdateBy(SecurityUtils.getUserId());
|
|
|
- res.setUpdateDate(new Date());
|
|
|
- int update = spApplicationMapper.update(res, objectQueryWrapper);
|
|
|
+// res.setAppId(reqData.getAppId());
|
|
|
+// res.setEnableFlag(UserStatus.DISABLE.getIntegerCode());
|
|
|
+// res.setDeleteFlag(IsDeleteEnum.DELETE.getIntegerCode());
|
|
|
+// res.setUpdateBy(SecurityUtils.getUserId());
|
|
|
+// res.setUpdateDate(new Date());
|
|
|
+ int update = spApplicationMapper.deleteById(reqData.getAppId());
|
|
|
if (update > 0) {
|
|
|
return ResponseModel.success();
|
|
|
}
|