change 3 жил өмнө
parent
commit
591653a462

+ 2 - 0
zhongzheng-system/src/main/java/com/zhongzheng/modules/inform/bo/InformQueryBo.java

@@ -37,6 +37,8 @@ public class InformQueryBo extends BaseEntity {
 	private String isAsc;
 
 
+	/** $column.columnComment */
+	private Long informId;
 	/** 1 学员通知 */
 	@ApiModelProperty("1 学员通知")
 	private Integer informType;

+ 3 - 0
zhongzheng-system/src/main/resources/mapper/modules/inform/InformMapper.xml

@@ -97,6 +97,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <if test="classifyId != null and classifyId != ''">
             and i.classify_id = #{classifyId}
         </if>
+        <if test="informId != null and informId != ''">
+            and i.inform_id = #{informId}
+        </if>
         <if test="startTime != null and startTime != ''">
             and (SELECT iu.send_time FROM inform_user iu where i.inform_id=iu.inform_id ORDER BY iu.send_time ASC limit 1) BETWEEN #{startTime} and #{endTime}
         </if>