|
@@ -1824,7 +1824,11 @@ public class PublicInquiryServiceImpl implements PublicInquiryService {
|
|
|
@Override
|
|
|
public ModelMap sumPersonalPublish(Long enuu, Long useruu, Long starttime, Long endtime) {
|
|
|
ModelMap map = new ModelMap();
|
|
|
- map.put("count", purcInquiryItemDao.sumPersonalPublish(enuu, useruu, new Date(starttime), new Date(endtime)));
|
|
|
+ if (null == enuu) {
|
|
|
+ map.put("count", purcInquiryItemDao.sumPersonalPublishWithoutEnuu(useruu, new Date(starttime), new Date(endtime)));
|
|
|
+ } else {
|
|
|
+ map.put("count", purcInquiryItemDao.sumPersonalPublish(enuu, useruu, new Date(starttime), new Date(endtime)));
|
|
|
+ }
|
|
|
return map;
|
|
|
}
|
|
|
|