|
@@ -36,6 +36,8 @@ import com.goafanti.core.shiro.token.TokenManager;
|
|
|
import com.goafanti.customer.bo.FollowBusinessBo;
|
|
import com.goafanti.customer.bo.FollowBusinessBo;
|
|
|
import com.goafanti.customer.service.CustomerService;
|
|
import com.goafanti.customer.service.CustomerService;
|
|
|
|
|
|
|
|
|
|
+import cn.jiguang.common.utils.StringUtils;
|
|
|
|
|
+
|
|
|
@Service
|
|
@Service
|
|
|
public class PublicReleaseServiceImpl extends BaseMybatisDao<PublicReleaseMapper> implements PublicReleaseService {
|
|
public class PublicReleaseServiceImpl extends BaseMybatisDao<PublicReleaseMapper> implements PublicReleaseService {
|
|
|
@Autowired
|
|
@Autowired
|
|
@@ -101,6 +103,9 @@ public class PublicReleaseServiceImpl extends BaseMybatisDao<PublicReleaseMapper
|
|
|
Map<String,Object> map =new HashMap<String, Object>();
|
|
Map<String,Object> map =new HashMap<String, Object>();
|
|
|
map.put("type", in.getType()==null?0:in.getType());
|
|
map.put("type", in.getType()==null?0:in.getType());
|
|
|
map.put("aid", TokenManager.getAdminId());
|
|
map.put("aid", TokenManager.getAdminId());
|
|
|
|
|
+ if (StringUtils.isNotEmpty(in.getClockTime())) {
|
|
|
|
|
+ map.put("clockTime", in.getClockTime());
|
|
|
|
|
+ }
|
|
|
return (Pagination<OutPublicReleaseList>) findPage("listPublicRelease", "countPublicRelease", map, in.getPageNo(), in.getPageSize());
|
|
return (Pagination<OutPublicReleaseList>) findPage("listPublicRelease", "countPublicRelease", map, in.getPageNo(), in.getPageSize());
|
|
|
}
|
|
}
|
|
|
|
|
|