lyhzzz пре 1 година
родитељ
комит
c864a6436f

+ 2 - 2
src/main/java/com/fdkankan/manage/entity/FeedbackOption.java

@@ -46,8 +46,8 @@ public class FeedbackOption implements Serializable {
     /**
      * 1系统预设,0自定义添加
      */
-    @TableField("system")
-    private Integer system;
+    @TableField("is_system")
+    private Integer isSystem;
 
     @TableField("rec_status")
     @TableLogic(value = "A",delval = "I")

+ 1 - 1
src/main/java/com/fdkankan/manage/service/impl/FeedbackOptionServiceImpl.java

@@ -70,7 +70,7 @@ public class FeedbackOptionServiceImpl extends ServiceImpl<IFeedbackOptionMapper
             throw new BusinessException(ResultCode.MISSING_REQUIRED_PARAMETERS);
         }
         FeedbackOption feedbackOption = this.getById(param.getId());
-        if(feedbackOption == null || feedbackOption.getSystem() == 1){
+        if(feedbackOption == null || feedbackOption.getIsSystem() == 1){
             throw new BusinessException(ResultCode.FEEDBACK_OPTION_DELETE_ERROR);
         }
         this.removeById(param.getId());