任务描述

每周一次,导出excel私发给 徐淑銮



(SELECT fc.TenantId, fc.CustomerCode, fc.DetailNo as 'jiaoyihao', fc.WarehouseId, w.WarehouseName, fc.FeeCategoryName, fc.FeeOrderCode as OrderCode, fc.TransactionTypeId , sum(fc.ChargeAmount) as '总金额', fc.CurrencyId, d.DicName as '币种', fc.TransactionTypeName, fc.ChargeDetailType, Case when fc.ChargeDetailType = 0 and FeeCategoryName != '仓储费' then '操作费' when fc.ChargeDetailType = 0 and FeeCategoryName = '仓储费' then '仓储费' when fc.ChargeDetailType = 1 then '手工费用' when fc.ChargeDetailType = 2 then '运费' else 0 end as '费用类型', fc.CreationTime, w.TimeZoneName, w.TimeZoneMinutes AS '与UTC相隔的分钟' FROM `fee_chargedetail` fc LEFT JOIN inv_warehouse w ON w.Id = fc.WarehouseId LEFT JOIN sys_datadictionary d on d.TypeName = '币种' and d.DicValue = fc.CurrencyId WHERE fc.TenantId = 101 AND fc.creationtime >= DATE_ADD('2021-12-13 00:00:00', INTERVAL w.TimeZoneMinutes MINUTE) AND fc.creationtime < DATE_ADD('2021-12-20 00:00:00',INTERVAL w.TimeZoneMinutes MINUTE) GROUP BY fc.WarehouseId, fc.CustomerCode, fc.TransactionTypeId, fc.CurrencyId, fc.FeeCategoryName) union (select c.TenantId, wc.CustomerCode, wc.OrderCode as 'jiaoyihao', wc.WarehouseId, wc.WarehouseName, wc.FeeCategoryName, wc.StorageOrderCode as OrderCode, Case when WarehouseChargeCode != 0 then '3' else 0 end as TransactionTypeId, sum(wc.ChargingAmount) as '总金额', wc.CurrencyId, wc.CurrencyName as '币种', Case when WarehouseChargeCode != 0 then '应收' else 0 end as TransactionTypeName, Case when WarehouseChargeCode != 0 then '仓储费' else 0 end as ChargeDetailType, Case when WarehouseChargeCode != 0 then '仓储费' else 0 end as '费用类型', wc.ChargingDate, w.TimeZoneName, w.TimeZoneMinutes AS '与UTC相隔的分钟' from fee_warehousechargecount_forbill wc left join cl_customer c on c.CustomerCode = wc.CustomerCode left join inv_warehouse w ON w.Id = wc.WarehouseId WHERE c.TenantId = 101 AND wc.ChargingDate >= DATE_ADD('2021-12-13 00:00:00', INTERVAL w.TimeZoneMinutes MINUTE) AND wc.ChargingDate < DATE_ADD('2021-12-20 00:00:00',INTERVAL w.TimeZoneMinutes MINUTE) GROUP BY wc.WarehouseId, wc.CustomerCode, wc.CurrencyId)

需求描述
系统框架升级(合并oms wms库)
验收标准
系统框架升级(合并oms wms库)
历史记录  
  1. 2021-12-27 10:06:48, 由 pengbin 创建。
  2. 2021-12-28 18:08:52, 由 husikai 完成。
    修改了 总计消耗,旧值为 "0",新值为 "10"。
    修改了 指派给 ,旧值为 "husikai",新值为 "pengbin"。
    修改了 实际完成,旧值为 "",新值为 "2021-12-28 18:08:28"。
    修改了 任务状态,旧值为 "wait",新值为 "done"。
    修改了 实际开始,旧值为 "0000-00-00 00:00:00",新值为 "2021-12-28 18:08:51"。
    修改了 预计剩余,旧值为 "10",新值为 "0"。
    修改了 由谁完成,旧值为 "",新值为 "husikai"。
    已导出
  3. 2022-01-10 14:11:31, 由 zhengqiao 编辑。
    修改了 所属迭代,旧值为 "600",新值为 "604"。
    修改了 指派给 ,旧值为 "pengbin",新值为 ""。
  4. 2022-02-07 10:18:59, 由 zhengqiao 编辑。
    修改了 所属迭代,旧值为 "604",新值为 "608"。
  5. 2023-10-31 14:49:13, 由 周杰 关闭。
    修改了 任务状态,旧值为 "done",新值为 "closed"。
    修改了 指派给 ,旧值为 "",新值为 "closed"。
    修改了 由谁关闭,旧值为 "",新值为 "zhoujie"。
    修改了 关闭时间,旧值为 "0000-00-00 00:00:00",新值为 "2023-10-31 14:49:13"。
    修改了 关闭原因,旧值为 "",新值为 "done"。
所属迭代 【分支】产品中心2月非正常更新版本(2022年)
所属模块 赛盒科技  海外仓系统
相关需求 系统框架升级(合并oms wms库)
指派给 Closed 于 2023-10-31 14:49:13
任务类型 后端
任务标签 初始
开发组
任务状态 已关闭
进度 100%
优先级 P2
关键词
抄送给
由谁创建 pengbin 于 2021-12-27 10:06:48
由谁完成 husikai 于 2021-12-28 18:08:28
由谁取消 暂无
由谁关闭 周杰 于 2023-10-31 14:49:13
关闭原因 已完成
最后编辑 周杰 于 2023-10-31 14:49:13
团队 最初预计 总计消耗 预计剩余
工时信息
最初预计 10工时
总计消耗 10工时
预计剩余 0工时
预计开始 0000-00-00
实际开始 2021-12-28
截止日期 0000-00-00