Parcourir la source

Update CesRoomLayout.java

shenzhongzheng il y a 2 ans
Parent
commit
53fcea941d

+ 6 - 6
jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/rooms/entity/CesRoomLayout.java

@@ -132,11 +132,11 @@ public class CesRoomLayout extends Model<CesRoomLayout> {
     private Integer cancelDayNum;
 
     /**
-     * 1 入住当天 
-2 入住前 天数 可以取消 
-3 入住前 多少天 可以取消 要收取罚金 
-4不可以取消 
-5 可取消 
+     * 1 入住当天
+2 入住前 天数 可以取消
+3 入住前 多少天 可以取消 要收取罚金
+4不可以取消
+5 可取消
      */
     private Integer cancelRule;
 
@@ -223,7 +223,7 @@ public class CesRoomLayout extends Model<CesRoomLayout> {
     public static final String CANCEL_BEFORE_TIME = "cancel_before_time";
 
     @Override
-    protected Serializable pkVal() {
+    public Serializable pkVal() {
         return this.id;
     }