dzx 1 anno fa
parent
commit
50c5aef677

+ 1 - 1
src/main/java/com/xjrsoft/module/classtime/dto/ClassTimeDeletePageDto.java

@@ -23,6 +23,6 @@ public class ClassTimeDeletePageDto extends PageInput {
     private String type;
 
     @ApiModelProperty("状态(0:生效 1:锁定 2:作废)")
-    private Integer status;
+    private Integer enabledMark;
 
 }

+ 2 - 2
src/main/resources/mapper/classtime/ClassTimeDeleteMapper.xml

@@ -16,8 +16,8 @@
         <if test="dto.type != null and dto.type != ''">
             and t1.type = #{dto.type}
         </if>
-        <if test="dto.status != null">
-            and t1.status = #{dto.status}
+        <if test="dto.enabledMark != null">
+            and t1.status = #{dto.enabledMark}
         </if>
     </select>