Commit d74e9bd2 by Joneq

修改动态数据不正确

parent bf65e22b
Showing with 3 additions and 3 deletions
...@@ -51,8 +51,8 @@ func main() { ...@@ -51,8 +51,8 @@ func main() {
if mod >0 { if mod >0 {
svc := service.New() svc := service.New()
svc.DongRun(ctx,mod,""); //运行main svc.BankDongRun(ctx,mod,""); //运行main
svc.DongRun(ctx,999,""); //总计所有分数 svc.BankDongRun(ctx,999,""); //总计所有分数
svc.Close() //关闭数据库连接 svc.Close() //关闭数据库连接
logic.LogWrite("统计"+dao.Model_dong[mod]+"完成",dao.Model_dong_log[mod],1) logic.LogWrite("统计"+dao.Model_dong[mod]+"完成",dao.Model_dong_log[mod],1)
...@@ -136,7 +136,7 @@ func (t *RecvPro) Consumer(dataByte []byte) error { ...@@ -136,7 +136,7 @@ func (t *RecvPro) Consumer(dataByte []byte) error {
logic.Loginfo("统计开始--"+mod_name,mod_name_log); logic.Loginfo("统计开始--"+mod_name,mod_name_log);
svc.DongRun(ctx,k,rbm.ErpCompanyCode); //运行main svc.BankDongRun(ctx,k,rbm.ErpCompanyCode); //运行main
fmt.Println("统计结束:"+strconv.Itoa(k)) fmt.Println("统计结束:"+strconv.Itoa(k))
logic.Loginfo("统计结束--"+mod_name,mod_name_log); logic.Loginfo("统计结束--"+mod_name,mod_name_log);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment