| | |
| | | // "</foreach>", |
| | | // "</script>"}) |
| | | boolean updateHeBingXms(@Param("ids") List<String> ids); |
| | | |
| | | @Delete("DELETE FROM tj_sampling WHERE tj_num = #{tjNum} AND cus_id = #{userId}") |
| | | int deleteByTjNumAndCusId(@Param("tjNum") String tjNum,@Param("userId") Long userId); |
| | | |
| | | @Delete({ |
| | | "<script>", |
| | | "DELETE FROM tj_sampling WHERE tj_num = #{tjNum} AND cus_id = #{userId} and jxbz in ", |
| | | "<foreach collection='ids' item='id' open='(' separator=',' close=')'>", |
| | | "#{id}", |
| | | "</foreach>", |
| | | "</script>" |
| | | }) |
| | | int deleteByTjNumAndCusIdAndJxbz(@Param("tjNum") String tjNum,@Param("userId") Long userId,@Param("ids")List<String> ids); |
| | | } |