修改getLogger lombook无法覆盖get方法

main
youHong.ai 2023-03-18 04:19:51 +08:00
parent a62038fda8
commit d776524824
1 changed files with 29 additions and 31 deletions

View File

@ -1,17 +1,16 @@
package weaver.bokang.xiao.xhny_report.schedule;
import aiyh.utils.Util;
import aiyh.utils.action.CusBaseCronJob;
import aiyh.utils.annotation.ActionDesc;
import aiyh.utils.annotation.PrintParamMark;
import aiyh.utils.annotation.RequiredMark;
import lombok.Data;
import org.apache.log4j.Logger;
import weaver.bokang.xiao.xhny_report.entity.SourceTrackingData;
import weaver.bokang.xiao.xhny_report.entity.VendorMarkReport;
import weaver.bokang.xiao.xhny_report.service.ScoreChainPattern;
import weaver.bokang.xiao.xhny_report.service.chain.AbstractScoreChain;
import weaver.bokang.xiao.xhny_report.service.store.VendorStore;
import weaver.interfaces.schedule.BaseCronJob;
import java.util.ArrayList;
import java.util.List;
@ -24,16 +23,15 @@ import java.util.List;
**/
@Data
@ActionDesc(value = "生成报表信息", author = "bokang.xiao")
public class GenerateReportSchedule extends BaseCronJob {
public class GenerateReportSchedule extends CusBaseCronJob {
private final Logger log = Util.getLogger();
@RequiredMark("报表模块id")
@PrintParamMark
private String reportModelId;
@Override
public void execute() {
public void runCode() {
try {
// 必填参数校验
Util.verifyRequiredField(this);