结果表create_by栏位更新数据
This commit is contained in:
parent
9bcf6a5379
commit
8fef2e2ca3
@ -235,7 +235,7 @@ public class MarketerMonthTotalProcessor extends AbstractBusinessProcessor {
|
||||
" ,? AS record_date " +
|
||||
" ,'m' AS report_type " +
|
||||
" ,b.tenant_id AS tenant_id " +
|
||||
" ,null AS create_by " +
|
||||
" ,b.user_id AS create_by " +
|
||||
" ,b.dept_id AS create_dept " +
|
||||
" ,? AS create_time " +
|
||||
" ,null AS update_by " +
|
||||
@ -253,7 +253,8 @@ public class MarketerMonthTotalProcessor extends AbstractBusinessProcessor {
|
||||
" ,b.id_card " +
|
||||
" ,b.mkt_no " +
|
||||
" ,b.tenant_id " +
|
||||
" ,b.dept_id ";
|
||||
" ,b.dept_id " +
|
||||
" ,b.user_id ";
|
||||
|
||||
Timestamp now = Timestamp.valueOf(LocalDateTime.now());
|
||||
String nowDate = now.toString();
|
||||
|
@ -250,7 +250,7 @@ public class MarketerQuarterTotalProcessor extends AbstractBusinessProcessor {
|
||||
" ,? AS record_date " +
|
||||
" ,'q' AS report_type " +
|
||||
" ,b.tenant_id AS tenant_id " +
|
||||
" ,null AS create_by " +
|
||||
" ,b.user_id AS create_by " +
|
||||
" ,b.dept_id AS create_dept " +
|
||||
" ,? AS create_time " +
|
||||
" ,null AS update_by " +
|
||||
@ -269,7 +269,8 @@ public class MarketerQuarterTotalProcessor extends AbstractBusinessProcessor {
|
||||
" ,b.id_card " +
|
||||
" ,b.mkt_no " +
|
||||
" ,b.tenant_id " +
|
||||
" ,b.dept_id ";
|
||||
" ,b.dept_id " +
|
||||
" ,b.user_id ";
|
||||
|
||||
Timestamp now = Timestamp.valueOf(LocalDateTime.now());
|
||||
String nowDate = now.toString();
|
||||
|
@ -245,7 +245,7 @@ public class MarketerYearTotalProcessor extends AbstractBusinessProcessor {
|
||||
" ,? AS record_date " +
|
||||
" ,'y' AS report_type " +
|
||||
" ,b.tenant_id AS tenant_id " +
|
||||
" ,null AS create_by " +
|
||||
" ,b.user_id AS create_by " +
|
||||
" ,b.dept_id AS create_dept " +
|
||||
" ,? AS create_time " +
|
||||
" ,null AS update_by " +
|
||||
@ -264,7 +264,8 @@ public class MarketerYearTotalProcessor extends AbstractBusinessProcessor {
|
||||
" ,b.id_card " +
|
||||
" ,b.mkt_no " +
|
||||
" ,b.tenant_id " +
|
||||
" ,b.dept_id ";
|
||||
" ,b.dept_id " +
|
||||
" ,b.user_id ";
|
||||
|
||||
Timestamp now = Timestamp.valueOf(LocalDateTime.now());
|
||||
String nowDate = now.toString();
|
||||
|
@ -79,6 +79,7 @@ public class MarketingPricingSummaryMProcessor extends AbstractBusinessProcessor
|
||||
" ,fill1 " +
|
||||
" ,tenant_id " +
|
||||
" ,create_dept " +
|
||||
" ,create_by " +
|
||||
" ,create_time " +
|
||||
")( " +
|
||||
"select " +
|
||||
@ -93,6 +94,7 @@ public class MarketingPricingSummaryMProcessor extends AbstractBusinessProcessor
|
||||
" ,fill1 " +
|
||||
" ,tenant_id " +
|
||||
" ,create_dept " +
|
||||
" ,create_by " +
|
||||
" ,? " +
|
||||
"from marketing_performance_m " +
|
||||
"where record_date=? " +
|
||||
|
@ -79,6 +79,7 @@ public class MarketingPricingSummaryQProcessor extends AbstractBusinessProcessor
|
||||
" ,fill1 " +
|
||||
" ,tenant_id " +
|
||||
" ,create_dept " +
|
||||
" ,create_by " +
|
||||
" ,create_time " +
|
||||
")( " +
|
||||
"select " +
|
||||
@ -93,6 +94,7 @@ public class MarketingPricingSummaryQProcessor extends AbstractBusinessProcessor
|
||||
" ,fill1 " +
|
||||
" ,tenant_id " +
|
||||
" ,create_dept " +
|
||||
" ,create_by " +
|
||||
" ,? " +
|
||||
"from marketing_performance_q " +
|
||||
"where record_date=? " +
|
||||
|
@ -79,6 +79,7 @@ public class MarketingPricingSummaryYProcessor extends AbstractBusinessProcessor
|
||||
" ,fill1 " +
|
||||
" ,tenant_id " +
|
||||
" ,create_dept " +
|
||||
" ,create_by " +
|
||||
" ,create_time " +
|
||||
")( " +
|
||||
"select " +
|
||||
@ -93,6 +94,7 @@ public class MarketingPricingSummaryYProcessor extends AbstractBusinessProcessor
|
||||
" ,fill1 " +
|
||||
" ,tenant_id " +
|
||||
" ,create_dept " +
|
||||
" ,create_by " +
|
||||
" ,? " +
|
||||
"from marketing_performance_y " +
|
||||
"where record_date=? " +
|
||||
|
@ -47,6 +47,7 @@ public class MarketingValidInvalidProcessor extends AbstractBusinessProcessor {
|
||||
" ,check_flag " +
|
||||
" ,tenant_id " +
|
||||
" ,create_dept " +
|
||||
" ,create_by " +
|
||||
" ,create_time " +
|
||||
" ,record_month " +
|
||||
")( " +
|
||||
@ -67,12 +68,14 @@ public class MarketingValidInvalidProcessor extends AbstractBusinessProcessor {
|
||||
" ELSE '' " +
|
||||
" END " +
|
||||
" ,check_flag " +
|
||||
" ,tenant_id " +
|
||||
" ,create_dept " +
|
||||
" ,b.tenant_id " +
|
||||
" ,b.dept_id " +
|
||||
" ,b.user_id " +
|
||||
" ,? " +
|
||||
" ,? " +
|
||||
"from mps_market " +
|
||||
"where SUBSTR(entry_date,1,7)=? and del_flag='0' and check_flag<>'0' " +
|
||||
"from mps_market a " +
|
||||
"INNER JOIN sys_user b ON a.jb_id = b.mkt_no AND b.del_flag = '0' " +
|
||||
"where SUBSTR(a.entry_date,1,7)=? and a.del_flag='0' and a.check_flag<>'0' " +
|
||||
"union " +
|
||||
"select " +
|
||||
" dept_name " +
|
||||
@ -91,12 +94,14 @@ public class MarketingValidInvalidProcessor extends AbstractBusinessProcessor {
|
||||
" ELSE '' " +
|
||||
" END " +
|
||||
" ,check_flag " +
|
||||
" ,tenant_id " +
|
||||
" ,create_dept " +
|
||||
" ,b.tenant_id " +
|
||||
" ,b.dept_id " +
|
||||
" ,b.user_id " +
|
||||
" ,? " +
|
||||
" ,? " +
|
||||
"from mps_market " +
|
||||
"where SUBSTR(entry_date,1,7)=? and del_flag='0' and check_flag<>'0'" +
|
||||
"from mps_market a " +
|
||||
"INNER JOIN sys_user b ON a.yx_id = b.mkt_no AND b.del_flag = '0' " +
|
||||
"where SUBSTR(a.entry_date,1,7)=? and a.del_flag='0' and a.check_flag<>'0'" +
|
||||
")";
|
||||
|
||||
Timestamp now = Timestamp.valueOf(LocalDateTime.now());
|
||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user