|
|
@@ -673,7 +673,10 @@ public class PublicReleaseServiceImpl extends BaseMybatisDao<PublicReleaseMapper
|
|
|
String startTime= DateUtils.formatDate(transferTime,AFTConstants.YYYYMMDD);
|
|
|
String endTime=startTime+" 23:59:59";
|
|
|
AdminUserCount adminUserCount = adminUserCountMapper.selectByaidAndDate(aid, startTime);
|
|
|
- int count = publicReleaseMapper.selectByaidAndDate(aid, startTime, endTime);
|
|
|
+ Integer count = publicReleaseMapper.selectByaidAndDate(aid, startTime, endTime);
|
|
|
+ if (count==null){
|
|
|
+ count=0;
|
|
|
+ }
|
|
|
if (adminUserCount==null){
|
|
|
AdminUserCount selectAUC=userMapper.selectByaidAndDate(aid,startTime,endTime);
|
|
|
if (selectAUC==null)selectAUC=new AdminUserCount();
|