代码调整
This commit is contained in:
@@ -3,6 +3,7 @@ package com.lideeyunji.core.framework.config.job;
|
|||||||
import com.lideeyunji.core.framework.service.IGrBiFsBusinessRealService;
|
import com.lideeyunji.core.framework.service.IGrBiFsBusinessRealService;
|
||||||
import com.lideeyunji.tool.framework.common.constant.lideeYunJiBaseConstant;
|
import com.lideeyunji.tool.framework.common.constant.lideeYunJiBaseConstant;
|
||||||
import com.lideeyunji.tool.framework.quartz.core.handler.JobHandler;
|
import com.lideeyunji.tool.framework.quartz.core.handler.JobHandler;
|
||||||
|
import com.lideeyunji.tool.framework.tenant.core.aop.TenantIgnore;
|
||||||
import lombok.extern.slf4j.Slf4j;
|
import lombok.extern.slf4j.Slf4j;
|
||||||
import org.springframework.stereotype.Component;
|
import org.springframework.stereotype.Component;
|
||||||
|
|
||||||
@@ -20,6 +21,7 @@ public class GenerateBusinessRealJob implements JobHandler {
|
|||||||
private IGrBiFsBusinessRealService grBiFsBusinessRealService;
|
private IGrBiFsBusinessRealService grBiFsBusinessRealService;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@TenantIgnore
|
||||||
public String execute(String param) throws Exception {
|
public String execute(String param) throws Exception {
|
||||||
log.info("*********** 开始生成经营指标完成情况 ************");
|
log.info("*********** 开始生成经营指标完成情况 ************");
|
||||||
grBiFsBusinessRealService.generateBusinessReal(lideeYunJiBaseConstant.DS_ERP_BI_DATA);
|
grBiFsBusinessRealService.generateBusinessReal(lideeYunJiBaseConstant.DS_ERP_BI_DATA);
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ import com.lideeyunji.core.framework.service.IGrBiPubCustomService;
|
|||||||
import com.lideeyunji.core.framework.service.IGrBiStProductService;
|
import com.lideeyunji.core.framework.service.IGrBiStProductService;
|
||||||
import com.lideeyunji.tool.framework.common.constant.lideeYunJiBaseConstant;
|
import com.lideeyunji.tool.framework.common.constant.lideeYunJiBaseConstant;
|
||||||
import com.lideeyunji.tool.framework.quartz.core.handler.JobHandler;
|
import com.lideeyunji.tool.framework.quartz.core.handler.JobHandler;
|
||||||
|
import com.lideeyunji.tool.framework.tenant.core.aop.TenantIgnore;
|
||||||
import lombok.extern.slf4j.Slf4j;
|
import lombok.extern.slf4j.Slf4j;
|
||||||
import org.springframework.stereotype.Component;
|
import org.springframework.stereotype.Component;
|
||||||
|
|
||||||
@@ -21,6 +22,7 @@ public class GenerateCustomJob implements JobHandler {
|
|||||||
private IGrBiPubCustomService grBiPubCustomService;
|
private IGrBiPubCustomService grBiPubCustomService;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@TenantIgnore
|
||||||
public String execute(String param) throws Exception {
|
public String execute(String param) throws Exception {
|
||||||
log.info("*********** 开始生成客户对象 ************");
|
log.info("*********** 开始生成客户对象 ************");
|
||||||
grBiPubCustomService.generateCustom(lideeYunJiBaseConstant.DS_ERP_BI_DATA);
|
grBiPubCustomService.generateCustom(lideeYunJiBaseConstant.DS_ERP_BI_DATA);
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ import com.lideeyunji.core.framework.service.IGrBiPubDosageService;
|
|||||||
import com.lideeyunji.core.framework.service.IGrBiStProductService;
|
import com.lideeyunji.core.framework.service.IGrBiStProductService;
|
||||||
import com.lideeyunji.tool.framework.common.constant.lideeYunJiBaseConstant;
|
import com.lideeyunji.tool.framework.common.constant.lideeYunJiBaseConstant;
|
||||||
import com.lideeyunji.tool.framework.quartz.core.handler.JobHandler;
|
import com.lideeyunji.tool.framework.quartz.core.handler.JobHandler;
|
||||||
|
import com.lideeyunji.tool.framework.tenant.core.aop.TenantIgnore;
|
||||||
import lombok.extern.slf4j.Slf4j;
|
import lombok.extern.slf4j.Slf4j;
|
||||||
import org.springframework.stereotype.Component;
|
import org.springframework.stereotype.Component;
|
||||||
|
|
||||||
@@ -21,6 +22,7 @@ public class GenerateDosageJob implements JobHandler {
|
|||||||
private IGrBiPubDosageService grBiPubDosageService;
|
private IGrBiPubDosageService grBiPubDosageService;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@TenantIgnore
|
||||||
public String execute(String param) throws Exception {
|
public String execute(String param) throws Exception {
|
||||||
log.info("*********** 开始生成剂型对象 ************");
|
log.info("*********** 开始生成剂型对象 ************");
|
||||||
grBiPubDosageService.generateDosage(lideeYunJiBaseConstant.DS_ERP_BI_DATA);
|
grBiPubDosageService.generateDosage(lideeYunJiBaseConstant.DS_ERP_BI_DATA);
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ import com.lideeyunji.core.framework.service.IGrBiPubGoodsService;
|
|||||||
import com.lideeyunji.core.framework.service.IGrBiStProductService;
|
import com.lideeyunji.core.framework.service.IGrBiStProductService;
|
||||||
import com.lideeyunji.tool.framework.common.constant.lideeYunJiBaseConstant;
|
import com.lideeyunji.tool.framework.common.constant.lideeYunJiBaseConstant;
|
||||||
import com.lideeyunji.tool.framework.quartz.core.handler.JobHandler;
|
import com.lideeyunji.tool.framework.quartz.core.handler.JobHandler;
|
||||||
|
import com.lideeyunji.tool.framework.tenant.core.aop.TenantIgnore;
|
||||||
import lombok.extern.slf4j.Slf4j;
|
import lombok.extern.slf4j.Slf4j;
|
||||||
import org.springframework.stereotype.Component;
|
import org.springframework.stereotype.Component;
|
||||||
|
|
||||||
@@ -21,6 +22,7 @@ public class GenerateGoodsJob implements JobHandler {
|
|||||||
private IGrBiPubGoodsService grBiPubGoodsService;
|
private IGrBiPubGoodsService grBiPubGoodsService;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@TenantIgnore
|
||||||
public String execute(String param) throws Exception {
|
public String execute(String param) throws Exception {
|
||||||
log.info("*********** 开始生成货品对象 ************");
|
log.info("*********** 开始生成货品对象 ************");
|
||||||
grBiPubGoodsService.generateGoods(lideeYunJiBaseConstant.DS_ERP_BI_DATA);
|
grBiPubGoodsService.generateGoods(lideeYunJiBaseConstant.DS_ERP_BI_DATA);
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ import com.lideeyunji.core.framework.service.IGrBiPubProvinceService;
|
|||||||
import com.lideeyunji.core.framework.service.IGrBiStProductService;
|
import com.lideeyunji.core.framework.service.IGrBiStProductService;
|
||||||
import com.lideeyunji.tool.framework.common.constant.lideeYunJiBaseConstant;
|
import com.lideeyunji.tool.framework.common.constant.lideeYunJiBaseConstant;
|
||||||
import com.lideeyunji.tool.framework.quartz.core.handler.JobHandler;
|
import com.lideeyunji.tool.framework.quartz.core.handler.JobHandler;
|
||||||
|
import com.lideeyunji.tool.framework.tenant.core.aop.TenantIgnore;
|
||||||
import lombok.extern.slf4j.Slf4j;
|
import lombok.extern.slf4j.Slf4j;
|
||||||
import org.springframework.stereotype.Component;
|
import org.springframework.stereotype.Component;
|
||||||
|
|
||||||
@@ -21,6 +22,7 @@ public class GenerateProvinceJob implements JobHandler {
|
|||||||
private IGrBiPubProvinceService grBiPubProvinceService;
|
private IGrBiPubProvinceService grBiPubProvinceService;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@TenantIgnore
|
||||||
public String execute(String param) throws Exception {
|
public String execute(String param) throws Exception {
|
||||||
log.info("*********** 开始生成行政区域对象 ************");
|
log.info("*********** 开始生成行政区域对象 ************");
|
||||||
grBiPubProvinceService.generateProvince(lideeYunJiBaseConstant.DS_ERP_BI_DATA);
|
grBiPubProvinceService.generateProvince(lideeYunJiBaseConstant.DS_ERP_BI_DATA);
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ import com.lideeyunji.core.framework.service.IGrBiPubSalerService;
|
|||||||
import com.lideeyunji.core.framework.service.IGrBiStProductService;
|
import com.lideeyunji.core.framework.service.IGrBiStProductService;
|
||||||
import com.lideeyunji.tool.framework.common.constant.lideeYunJiBaseConstant;
|
import com.lideeyunji.tool.framework.common.constant.lideeYunJiBaseConstant;
|
||||||
import com.lideeyunji.tool.framework.quartz.core.handler.JobHandler;
|
import com.lideeyunji.tool.framework.quartz.core.handler.JobHandler;
|
||||||
|
import com.lideeyunji.tool.framework.tenant.core.aop.TenantIgnore;
|
||||||
import lombok.extern.slf4j.Slf4j;
|
import lombok.extern.slf4j.Slf4j;
|
||||||
import org.springframework.stereotype.Component;
|
import org.springframework.stereotype.Component;
|
||||||
|
|
||||||
@@ -21,6 +22,7 @@ public class GenerateSalerJob implements JobHandler {
|
|||||||
private IGrBiPubSalerService grBiPubSalerService;
|
private IGrBiPubSalerService grBiPubSalerService;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@TenantIgnore
|
||||||
public String execute(String param) throws Exception {
|
public String execute(String param) throws Exception {
|
||||||
log.info("*********** 开始生成业务员对象 ************");
|
log.info("*********** 开始生成业务员对象 ************");
|
||||||
grBiPubSalerService.generateSaler(lideeYunJiBaseConstant.DS_ERP_BI_DATA);
|
grBiPubSalerService.generateSaler(lideeYunJiBaseConstant.DS_ERP_BI_DATA);
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ package com.lideeyunji.core.framework.config.job;
|
|||||||
import com.lideeyunji.core.framework.service.INewGrBiSaAggService;
|
import com.lideeyunji.core.framework.service.INewGrBiSaAggService;
|
||||||
import com.lideeyunji.tool.framework.common.constant.lideeYunJiBaseConstant;
|
import com.lideeyunji.tool.framework.common.constant.lideeYunJiBaseConstant;
|
||||||
import com.lideeyunji.tool.framework.quartz.core.handler.JobHandler;
|
import com.lideeyunji.tool.framework.quartz.core.handler.JobHandler;
|
||||||
|
import com.lideeyunji.tool.framework.tenant.core.aop.TenantIgnore;
|
||||||
import lombok.extern.slf4j.Slf4j;
|
import lombok.extern.slf4j.Slf4j;
|
||||||
import org.springframework.stereotype.Component;
|
import org.springframework.stereotype.Component;
|
||||||
|
|
||||||
@@ -25,6 +26,9 @@ public class GenerateSalesReportJob implements JobHandler {
|
|||||||
|
|
||||||
@Resource
|
@Resource
|
||||||
private INewGrBiSaAggService newGrBiSaAggService;
|
private INewGrBiSaAggService newGrBiSaAggService;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
@TenantIgnore
|
||||||
public String execute(String param) {
|
public String execute(String param) {
|
||||||
log.info("*********** 开始生成销售报表 ************");
|
log.info("*********** 开始生成销售报表 ************");
|
||||||
newGrBiSaAggService.generateSalesReportJob(lideeYunJiBaseConstant.DS_ERP_BI_DATA);
|
newGrBiSaAggService.generateSalesReportJob(lideeYunJiBaseConstant.DS_ERP_BI_DATA);
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ import com.lideeyunji.core.framework.service.IGrBiPubSaletypeService;
|
|||||||
import com.lideeyunji.core.framework.service.IGrBiStProductService;
|
import com.lideeyunji.core.framework.service.IGrBiStProductService;
|
||||||
import com.lideeyunji.tool.framework.common.constant.lideeYunJiBaseConstant;
|
import com.lideeyunji.tool.framework.common.constant.lideeYunJiBaseConstant;
|
||||||
import com.lideeyunji.tool.framework.quartz.core.handler.JobHandler;
|
import com.lideeyunji.tool.framework.quartz.core.handler.JobHandler;
|
||||||
|
import com.lideeyunji.tool.framework.tenant.core.aop.TenantIgnore;
|
||||||
import lombok.extern.slf4j.Slf4j;
|
import lombok.extern.slf4j.Slf4j;
|
||||||
import org.springframework.stereotype.Component;
|
import org.springframework.stereotype.Component;
|
||||||
|
|
||||||
@@ -21,6 +22,7 @@ public class GenerateSaletypeJob implements JobHandler {
|
|||||||
private IGrBiPubSaletypeService grBiPubSaletypeService;
|
private IGrBiPubSaletypeService grBiPubSaletypeService;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@TenantIgnore
|
||||||
public String execute(String param) throws Exception {
|
public String execute(String param) throws Exception {
|
||||||
log.info("*********** 开始生成销售类型对象 ************");
|
log.info("*********** 开始生成销售类型对象 ************");
|
||||||
grBiPubSaletypeService.generateSaletype(lideeYunJiBaseConstant.DS_ERP_BI_DATA);
|
grBiPubSaletypeService.generateSaletype(lideeYunJiBaseConstant.DS_ERP_BI_DATA);
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ import com.lideeyunji.core.framework.service.IGrBiPubSalezoneService;
|
|||||||
import com.lideeyunji.core.framework.service.IGrBiStProductService;
|
import com.lideeyunji.core.framework.service.IGrBiStProductService;
|
||||||
import com.lideeyunji.tool.framework.common.constant.lideeYunJiBaseConstant;
|
import com.lideeyunji.tool.framework.common.constant.lideeYunJiBaseConstant;
|
||||||
import com.lideeyunji.tool.framework.quartz.core.handler.JobHandler;
|
import com.lideeyunji.tool.framework.quartz.core.handler.JobHandler;
|
||||||
|
import com.lideeyunji.tool.framework.tenant.core.aop.TenantIgnore;
|
||||||
import lombok.extern.slf4j.Slf4j;
|
import lombok.extern.slf4j.Slf4j;
|
||||||
import org.springframework.stereotype.Component;
|
import org.springframework.stereotype.Component;
|
||||||
|
|
||||||
@@ -21,6 +22,7 @@ public class GenerateSalezoneJob implements JobHandler {
|
|||||||
private IGrBiPubSalezoneService grBiPubSalezoneService;
|
private IGrBiPubSalezoneService grBiPubSalezoneService;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@TenantIgnore
|
||||||
public String execute(String param) throws Exception {
|
public String execute(String param) throws Exception {
|
||||||
log.info("*********** 开始生成业务区域对象 ************");
|
log.info("*********** 开始生成业务区域对象 ************");
|
||||||
grBiPubSalezoneService.generateSalezone(lideeYunJiBaseConstant.DS_ERP_BI_DATA);
|
grBiPubSalezoneService.generateSalezone(lideeYunJiBaseConstant.DS_ERP_BI_DATA);
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ package com.lideeyunji.core.framework.config.job;
|
|||||||
import com.lideeyunji.core.framework.service.IGrBiStLotService;
|
import com.lideeyunji.core.framework.service.IGrBiStLotService;
|
||||||
import com.lideeyunji.tool.framework.common.constant.lideeYunJiBaseConstant;
|
import com.lideeyunji.tool.framework.common.constant.lideeYunJiBaseConstant;
|
||||||
import com.lideeyunji.tool.framework.quartz.core.handler.JobHandler;
|
import com.lideeyunji.tool.framework.quartz.core.handler.JobHandler;
|
||||||
|
import com.lideeyunji.tool.framework.tenant.core.aop.TenantIgnore;
|
||||||
import lombok.extern.slf4j.Slf4j;
|
import lombok.extern.slf4j.Slf4j;
|
||||||
import org.springframework.stereotype.Component;
|
import org.springframework.stereotype.Component;
|
||||||
|
|
||||||
@@ -20,6 +21,7 @@ public class GenerateStLotJob implements JobHandler {
|
|||||||
private IGrBiStLotService grBiFsStLotService;
|
private IGrBiStLotService grBiFsStLotService;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@TenantIgnore
|
||||||
public String execute(String param) throws Exception {
|
public String execute(String param) throws Exception {
|
||||||
log.info("*********** 开始生成物料产品库存统计表 ************");
|
log.info("*********** 开始生成物料产品库存统计表 ************");
|
||||||
grBiFsStLotService.generateStLot(lideeYunJiBaseConstant.DS_ERP_BI_DATA);
|
grBiFsStLotService.generateStLot(lideeYunJiBaseConstant.DS_ERP_BI_DATA);
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ package com.lideeyunji.core.framework.config.job;
|
|||||||
import com.lideeyunji.core.framework.service.IGrBiStProductAvlService;
|
import com.lideeyunji.core.framework.service.IGrBiStProductAvlService;
|
||||||
import com.lideeyunji.tool.framework.common.constant.lideeYunJiBaseConstant;
|
import com.lideeyunji.tool.framework.common.constant.lideeYunJiBaseConstant;
|
||||||
import com.lideeyunji.tool.framework.quartz.core.handler.JobHandler;
|
import com.lideeyunji.tool.framework.quartz.core.handler.JobHandler;
|
||||||
|
import com.lideeyunji.tool.framework.tenant.core.aop.TenantIgnore;
|
||||||
import lombok.extern.slf4j.Slf4j;
|
import lombok.extern.slf4j.Slf4j;
|
||||||
import org.springframework.stereotype.Component;
|
import org.springframework.stereotype.Component;
|
||||||
|
|
||||||
@@ -20,6 +21,7 @@ public class GenerateStProductAvlJob implements JobHandler {
|
|||||||
private IGrBiStProductAvlService grBiFsStProductAvlService;
|
private IGrBiStProductAvlService grBiFsStProductAvlService;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@TenantIgnore
|
||||||
public String execute(String param) throws Exception {
|
public String execute(String param) throws Exception {
|
||||||
log.info("*********** 开始生成产品可销库存对象 ************");
|
log.info("*********** 开始生成产品可销库存对象 ************");
|
||||||
grBiFsStProductAvlService.generateStProductAvl(lideeYunJiBaseConstant.DS_ERP_BI_DATA);
|
grBiFsStProductAvlService.generateStProductAvl(lideeYunJiBaseConstant.DS_ERP_BI_DATA);
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ package com.lideeyunji.core.framework.config.job;
|
|||||||
import com.lideeyunji.core.framework.service.IGrBiStProductService;
|
import com.lideeyunji.core.framework.service.IGrBiStProductService;
|
||||||
import com.lideeyunji.tool.framework.common.constant.lideeYunJiBaseConstant;
|
import com.lideeyunji.tool.framework.common.constant.lideeYunJiBaseConstant;
|
||||||
import com.lideeyunji.tool.framework.quartz.core.handler.JobHandler;
|
import com.lideeyunji.tool.framework.quartz.core.handler.JobHandler;
|
||||||
|
import com.lideeyunji.tool.framework.tenant.core.aop.TenantIgnore;
|
||||||
import lombok.extern.slf4j.Slf4j;
|
import lombok.extern.slf4j.Slf4j;
|
||||||
import org.springframework.stereotype.Component;
|
import org.springframework.stereotype.Component;
|
||||||
|
|
||||||
@@ -20,6 +21,7 @@ public class GenerateStProductJob implements JobHandler {
|
|||||||
private IGrBiStProductService grBiFsStProductService;
|
private IGrBiStProductService grBiFsStProductService;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@TenantIgnore
|
||||||
public String execute(String param) throws Exception {
|
public String execute(String param) throws Exception {
|
||||||
log.info("*********** 开始生成库存产品占比表对象 ************");
|
log.info("*********** 开始生成库存产品占比表对象 ************");
|
||||||
grBiFsStProductService.generateStProduct(lideeYunJiBaseConstant.DS_ERP_BI_DATA);
|
grBiFsStProductService.generateStProduct(lideeYunJiBaseConstant.DS_ERP_BI_DATA);
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ package com.lideeyunji.core.framework.config.job;
|
|||||||
import com.lideeyunji.core.framework.service.IGrBiStStatsService;
|
import com.lideeyunji.core.framework.service.IGrBiStStatsService;
|
||||||
import com.lideeyunji.tool.framework.common.constant.lideeYunJiBaseConstant;
|
import com.lideeyunji.tool.framework.common.constant.lideeYunJiBaseConstant;
|
||||||
import com.lideeyunji.tool.framework.quartz.core.handler.JobHandler;
|
import com.lideeyunji.tool.framework.quartz.core.handler.JobHandler;
|
||||||
|
import com.lideeyunji.tool.framework.tenant.core.aop.TenantIgnore;
|
||||||
import lombok.extern.slf4j.Slf4j;
|
import lombok.extern.slf4j.Slf4j;
|
||||||
import org.springframework.stereotype.Component;
|
import org.springframework.stereotype.Component;
|
||||||
|
|
||||||
@@ -20,6 +21,7 @@ public class GenerateStStatsJob implements JobHandler {
|
|||||||
private IGrBiStStatsService iGrBiStStatsService;
|
private IGrBiStStatsService iGrBiStStatsService;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@TenantIgnore
|
||||||
public String execute(String param) throws Exception {
|
public String execute(String param) throws Exception {
|
||||||
log.info("*********** 开始生成库存全品种统计表 ************");
|
log.info("*********** 开始生成库存全品种统计表 ************");
|
||||||
iGrBiStStatsService.generateStStats(lideeYunJiBaseConstant.DS_ERP_BI_DATA);
|
iGrBiStStatsService.generateStStats(lideeYunJiBaseConstant.DS_ERP_BI_DATA);
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ package com.lideeyunji.core.framework.config.job;
|
|||||||
import com.lideeyunji.core.framework.mapper.OracleProcedureMapper;
|
import com.lideeyunji.core.framework.mapper.OracleProcedureMapper;
|
||||||
import com.lideeyunji.tool.framework.common.constant.lideeYunJiBaseConstant;
|
import com.lideeyunji.tool.framework.common.constant.lideeYunJiBaseConstant;
|
||||||
import com.lideeyunji.tool.framework.quartz.core.handler.JobHandler;
|
import com.lideeyunji.tool.framework.quartz.core.handler.JobHandler;
|
||||||
|
import com.lideeyunji.tool.framework.tenant.core.aop.TenantIgnore;
|
||||||
import lombok.extern.slf4j.Slf4j;
|
import lombok.extern.slf4j.Slf4j;
|
||||||
import org.springframework.stereotype.Component;
|
import org.springframework.stereotype.Component;
|
||||||
|
|
||||||
@@ -24,6 +25,7 @@ public class OracleProcedureJob implements JobHandler {
|
|||||||
private OracleProcedureMapper oracleProcedureMapper;
|
private OracleProcedureMapper oracleProcedureMapper;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@TenantIgnore
|
||||||
public String execute(String param) throws Exception {
|
public String execute(String param) throws Exception {
|
||||||
log.info("========== 开始执行 Oracle 存储过程定时任务,参数:{} ==========", param);
|
log.info("========== 开始执行 Oracle 存储过程定时任务,参数:{} ==========", param);
|
||||||
|
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ package com.lideeyunji.core.framework.config.job;
|
|||||||
import com.lideeyunji.core.framework.mapper.OracleProcedureMapper;
|
import com.lideeyunji.core.framework.mapper.OracleProcedureMapper;
|
||||||
import com.lideeyunji.tool.framework.common.constant.lideeYunJiBaseConstant;
|
import com.lideeyunji.tool.framework.common.constant.lideeYunJiBaseConstant;
|
||||||
import com.lideeyunji.tool.framework.quartz.core.handler.JobHandler;
|
import com.lideeyunji.tool.framework.quartz.core.handler.JobHandler;
|
||||||
|
import com.lideeyunji.tool.framework.tenant.core.aop.TenantIgnore;
|
||||||
import lombok.extern.slf4j.Slf4j;
|
import lombok.extern.slf4j.Slf4j;
|
||||||
import org.springframework.stereotype.Component;
|
import org.springframework.stereotype.Component;
|
||||||
|
|
||||||
@@ -22,6 +23,7 @@ public class OracleProcedureUpdateCoreJob implements JobHandler {
|
|||||||
private OracleProcedureMapper oracleProcedureMapper;
|
private OracleProcedureMapper oracleProcedureMapper;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@TenantIgnore
|
||||||
public String execute(String param) throws Exception {
|
public String execute(String param) throws Exception {
|
||||||
log.info("========== 开始执行 Oracle 存储过程定时任务 ,用于更新核心、高频的数据,参数:{} ==========", param);
|
log.info("========== 开始执行 Oracle 存储过程定时任务 ,用于更新核心、高频的数据,参数:{} ==========", param);
|
||||||
|
|
||||||
|
|||||||
@@ -5,6 +5,7 @@ import com.lideeyunji.core.framework.mapper.GrBiSaSetdtlMapper;
|
|||||||
import com.lideeyunji.core.framework.mapper.OracleProcedureMapper;
|
import com.lideeyunji.core.framework.mapper.OracleProcedureMapper;
|
||||||
import com.lideeyunji.tool.framework.common.constant.lideeYunJiBaseConstant;
|
import com.lideeyunji.tool.framework.common.constant.lideeYunJiBaseConstant;
|
||||||
import com.lideeyunji.tool.framework.quartz.core.handler.JobHandler;
|
import com.lideeyunji.tool.framework.quartz.core.handler.JobHandler;
|
||||||
|
import com.lideeyunji.tool.framework.tenant.core.aop.TenantIgnore;
|
||||||
import lombok.extern.slf4j.Slf4j;
|
import lombok.extern.slf4j.Slf4j;
|
||||||
import org.springframework.stereotype.Component;
|
import org.springframework.stereotype.Component;
|
||||||
|
|
||||||
@@ -27,6 +28,7 @@ public class OracleProcedureUpdateErpDataJob implements JobHandler {
|
|||||||
private GrBiSaSetdtlMapper grBiSaSetdtlMapper;
|
private GrBiSaSetdtlMapper grBiSaSetdtlMapper;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@TenantIgnore
|
||||||
public String execute(String param) throws Exception {
|
public String execute(String param) throws Exception {
|
||||||
log.info("========== 开始执行 Oracle 存储过程定时任务 ,ERP中间库,参数:{} ==========", param);
|
log.info("========== 开始执行 Oracle 存储过程定时任务 ,ERP中间库,参数:{} ==========", param);
|
||||||
|
|
||||||
|
|||||||
@@ -153,7 +153,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
saler.SALERID AS saler_id,
|
saler.SALERID AS saler_id,
|
||||||
saler.SALERNAME AS saler_name,
|
saler.SALERNAME AS saler_name,
|
||||||
sum(SAQTY) AS this_month_sa_qty,
|
sum(SAQTY) AS this_month_sa_qty,
|
||||||
round(sum(SAMONEY), 2) AS this_month_sa_money, --除税销售额
|
round(sum(SAMONEY), 2) AS this_month_sa_money, -- 除税销售额
|
||||||
round(sum(COST), 2) AS this_month_cost,
|
round(sum(COST), 2) AS this_month_cost,
|
||||||
round(sum(PROFIT), 2) AS this_month_profit
|
round(sum(PROFIT), 2) AS this_month_profit
|
||||||
-- sum(SAQTY) as 本月销量,
|
-- sum(SAQTY) as 本月销量,
|
||||||
|
|||||||
Reference in New Issue
Block a user