Browse Source

refactor(national-motion-system):移除 AppSitePriceRules 中的 viewStatus 字段

- 从 AppSitePriceRules 类中删除 viewStatus 属性
- 从 AppSitePriceRulesMapper.xml 中移除与 viewStatus 相关的查询条件
SheepHy 1 day ago
parent
commit
ba9701165a

+ 0 - 4
national-motion-module-system/national-motion-system-biz/src/main/java/org/jeecg/modules/system/app/entity/AppSitePriceRules.java

@@ -82,10 +82,6 @@ public class AppSitePriceRules implements Serializable {
     @Excel(name = "是否教学日0是1不是", width = 15)
     @Schema(description = "是否教学日0是1不是")
     private Integer isTeaching;
-    /**展示状态(0正常,1已定,2过期)*/
-    @Excel(name = "展示状态(0正常,1已定,2过期)", width = 15)
-    @Schema(description = "展示状态(0正常,1已定,2过期)")
-    private Integer viewStatus;
     /**售价*/
     @Excel(name = "关联规则时间ID", width = 15)
     @Schema(description = "关联规则时间ID")

+ 1 - 2
national-motion-module-system/national-motion-system-biz/src/main/java/org/jeecg/modules/system/app/mapper/xml/AppSitePriceRulesMapper.xml

@@ -29,8 +29,7 @@
             ) AS rn
         FROM nm_site_price_rules r
             LEFT JOIN nm_site_place sp ON r.site_place_id = sp.id
-        WHERE r.view_status = 0
-          AND r.org_code = #{orgCode}
+        WHERE  r.org_code = #{orgCode}
           AND r.category_id = #{categoryId}
             )
         SELECT