| @@ -19,11 +19,12 @@ | |||||
| <result column="sendstatus" jdbcType="INTEGER" property="sendstatus" /> | <result column="sendstatus" jdbcType="INTEGER" property="sendstatus" /> | ||||
| <result column="excelpath" jdbcType="VARCHAR" property="excelpath" /> | <result column="excelpath" jdbcType="VARCHAR" property="excelpath" /> | ||||
| <result column="label" jdbcType="VARCHAR" property="label" /> | <result column="label" jdbcType="VARCHAR" property="label" /> | ||||
| <result column="status" jdbcType="INTEGER" property="status" /> | |||||
| </resultMap> | </resultMap> | ||||
| <sql id="allColumns"> | <sql id="allColumns"> | ||||
| `id`,`tenant_id`,`model_id`,`msg`,`sendtime`,`createtime`,`expect_send_number`,`success_number`,`error_number`,`return_result`,`phones`,`signature`,`isright`,`name`,`sendstatus`,`excelpath`,`label` | |||||
| `id`,`tenant_id`,`model_id`,`msg`,`sendtime`,`createtime`,`expect_send_number`,`success_number`,`error_number`,`return_result`,`phones`,`signature`,`isright`,`name`,`sendstatus`,`excelpath`,`label`,`status` | |||||
| </sql> | </sql> | ||||
| <sql id="dynamicWhereConditions"> | <sql id="dynamicWhereConditions"> | ||||
| @@ -102,7 +103,11 @@ | |||||
| <if test=" null != sendstatus "> | <if test=" null != sendstatus "> | ||||
| and `sendstatus` = #{sendstatus} | and `sendstatus` = #{sendstatus} | ||||
| </if> | |||||
| </if> | |||||
| <if test=" null != status "> | |||||
| and `status` = #{status} | |||||
| </if> | |||||
| <if test=" null != ids "> | <if test=" null != ids "> | ||||
| and id in | and id in | ||||
| <foreach collection="ids" index="index" item="idItem" open="(" separator="," close=")"> | <foreach collection="ids" index="index" item="idItem" open="(" separator="," close=")"> | ||||