<delete id="deleteByStcds" parameterType="java.lang.String">
delete from table
where idIN
<foreach collection="array" item="id" open="(" separator="," close=")">
'${id}'
</foreach>
</delete>
@PostMapping("delete")
@ApiOperation("删除")
public Result delete(@RequestBody String[] ids){
service.delete(ids);
return new Result();
}