Commit b37fc82b authored by 赵建伟's avatar 赵建伟

update codes

parent f75fe306
...@@ -160,8 +160,8 @@ public class CtrEstimateClkOperator implements BaseOperator{ ...@@ -160,8 +160,8 @@ public class CtrEstimateClkOperator implements BaseOperator{
for (CtrEstimateClkEtl estimateClickEtl : estimateClickEtls) { for (CtrEstimateClkEtl estimateClickEtl : estimateClickEtls) {
DeviceCurrentEstimateClk deviceCurrentEstimateClk = new DeviceCurrentEstimateClk(); DeviceCurrentEstimateClk deviceCurrentEstimateClk = new DeviceCurrentEstimateClk();
deviceCurrentEstimateClk.setDeviceId(estimateClickEtl.getDeviceId()); deviceCurrentEstimateClk.setDeviceId(estimateClickEtl.getDeviceId());
deviceCurrentEstimateClk.setPartitionDate(DateUtils.getCurrentDateStr()); deviceCurrentEstimateClk.setPartitionDate(DateUtils.getDateStr(date));
deviceCurrentEstimateClk.setLastUpdateTime(DateUtils.getCurrentTimeStr(date)); deviceCurrentEstimateClk.setLastUpdateTime(DateUtils.getTimeStr(date));
if("tractate_card".equals(estimateClickEtl.getEstimateType())){ if("tractate_card".equals(estimateClickEtl.getEstimateType())){
deviceCurrentEstimateClk.setTractateCardClick(1L); deviceCurrentEstimateClk.setTractateCardClick(1L);
}else if("content_card".equals(estimateClickEtl.getEstimateType())){ }else if("content_card".equals(estimateClickEtl.getEstimateType())){
......
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 to comment