<%_ if (position === 'import') { _%>
import com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper;
import <%= packageName %>.job.service.dto.XxlJobLogReportDTO;
<%_ } _%>
<%_ if (position === 'methodInterface') { _%>
<%_ } _%>
<%_ if (position === 'method') { _%>

    public boolean update(XxlJobLogReportDTO xxlJobLogReport) {
        LambdaUpdateWrapper<XxlJobLogReport> updateWrapper = new LambdaUpdateWrapper<>();
        updateWrapper.eq(XxlJobLogReport::getTriggerDay, xxlJobLogReport.getTriggerDay());
        updateWrapper.set(XxlJobLogReport::getRunningCount, xxlJobLogReport.getRunningCount());
        updateWrapper.set(XxlJobLogReport::getSucCount, xxlJobLogReport.getSucCount());
        updateWrapper.set(XxlJobLogReport::getFailCount, xxlJobLogReport.getFailCount());
        return this.update(updateWrapper);
    }
<%_ } _%>
