Commit c7bb751d by guojx

字段类型调整

parent 5dab8895
...@@ -91,6 +91,7 @@ public class WechatWorkOverviewController extends NewBaseController { ...@@ -91,6 +91,7 @@ public class WechatWorkOverviewController extends NewBaseController {
for (String date : dateList) { for (String date : dateList) {
WechatWorkOverviewTrendVO vo = map.get(date); WechatWorkOverviewTrendVO vo = map.get(date);
if (vo == null) { if (vo == null) {
vo = new WechatWorkOverviewTrendVO();
vo.setBizDate(date); vo.setBizDate(date);
} }
voList.add(vo); voList.add(vo);
......
...@@ -14,30 +14,30 @@ public class WechatWorkOverviewStoreGroupVO extends StoreGroupCommonVO implement ...@@ -14,30 +14,30 @@ public class WechatWorkOverviewStoreGroupVO extends StoreGroupCommonVO implement
/** /**
* 新增微信好友总数 * 新增微信好友总数
*/ */
private Long newEntwchFdNumTotal; private Integer newEntwchFdNumTotal;
/** /**
* 新增已注册微信好友数 * 新增已注册微信好友数
*/ */
private Long newEntwchFdNumMbr; private Integer newEntwchFdNumMbr;
/** /**
* 新增未注册微信好友数 * 新增未注册微信好友数
*/ */
private Long newEntwchFdNumNonmbr; private Integer newEntwchFdNumNonmbr;
/** /**
* 微信好友总数 * 微信好友总数
*/ */
private Long entwchFdNumTotal; private Integer entwchFdNumTotal;
/** /**
* 已注册微信好友数 * 已注册微信好友数
*/ */
private Long entwchFdNumMbr; private Integer entwchFdNumMbr;
/** /**
* 未注册微信好友数 * 未注册微信好友数
*/ */
private Long entwchFdNumNonmbr; private Integer entwchFdNumNonmbr;
} }
...@@ -14,17 +14,17 @@ public class WechatWorkOverviewTrendVO implements Serializable { ...@@ -14,17 +14,17 @@ public class WechatWorkOverviewTrendVO implements Serializable {
/** /**
* 微信好友总数 * 微信好友总数
*/ */
private Long newEntwchFdNumTotal; private Integer newEntwchFdNumTotal;
/** /**
* 已注册微信好友数 * 已注册微信好友数
*/ */
private Long newEntwchFdNumMbr; private Integer newEntwchFdNumMbr;
/** /**
* 未注册微信好友数 * 未注册微信好友数
*/ */
private Long newEntwchFdNumNonmbr; private Integer newEntwchFdNumNonmbr;
private String bizDate; private String bizDate;
} }
...@@ -16,17 +16,17 @@ public class WechatWorkOverviewVO implements Serializable { ...@@ -16,17 +16,17 @@ public class WechatWorkOverviewVO implements Serializable {
/** /**
* 微信好友总数 * 微信好友总数
*/ */
private Long entwchFdNumTotal; private Integer entwchFdNumTotal;
/** /**
* 已注册微信好友数 * 已注册微信好友数
*/ */
private Long entwchFdNumMbr; private Integer entwchFdNumMbr;
/** /**
* 未注册微信好友数 * 未注册微信好友数
*/ */
private Long entwchFdNumNonmbr; private Integer entwchFdNumNonmbr;
/** /**
* 已注册微信好友数占比 * 已注册微信好友数占比
...@@ -52,7 +52,7 @@ public class WechatWorkOverviewVO implements Serializable { ...@@ -52,7 +52,7 @@ public class WechatWorkOverviewVO implements Serializable {
* @param degree * @param degree
* @return * @return
*/ */
public static Double rate(Long divisor,Long dividend,int degree){ public static Double rate(Integer divisor,Integer dividend,int degree){
if( Objects.isNull( divisor ) || Objects.isNull( dividend ) || dividend == 0 ){ if( Objects.isNull( divisor ) || Objects.isNull( dividend ) || dividend == 0 ){
return 0.00; return 0.00;
} }
......
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