| | |
| | | |
| | | import javax.annotation.Resource; |
| | | |
| | | import com.yeshi.buwan.domain.DetailSystem; |
| | | import com.yeshi.buwan.domain.system.DetailSystem; |
| | | import org.hibernate.HibernateException; |
| | | import org.hibernate.Session; |
| | | import org.springframework.orm.hibernate4.HibernateCallback; |
| | |
| | | @Resource |
| | | private ImageInfoDao imageInfoDao; |
| | | |
| | | public ImageInfoDao getImageInfoDao() { |
| | | return imageInfoDao; |
| | | } |
| | | |
| | | public void setImageInfoDao(ImageInfoDao imageInfoDao) { |
| | | this.imageInfoDao = imageInfoDao; |
| | | } |
| | | |
| | | public ImageService getImageService() { |
| | | return imageService; |
| | | } |
| | | |
| | | public void setImageService(ImageService imageService) { |
| | | this.imageService = imageService; |
| | | } |
| | | |
| | | public WeiXinImageDao getWeiXinImageDao() { |
| | | return weiXinImageDao; |
| | | } |
| | | |
| | | public void setWeiXinImageDao(WeiXinImageDao weiXinImageDao) { |
| | | this.weiXinImageDao = weiXinImageDao; |
| | | } |
| | | |
| | | public WeiXinInfoDao getWeiXinInfoDao() { |
| | | return weiXinInfoDao; |
| | | } |
| | | |
| | | public void setWeiXinInfoDao(WeiXinInfoDao weiXinInfoDao) { |
| | | this.weiXinInfoDao = weiXinInfoDao; |
| | | } |
| | | |
| | | public void addWeiXinImage(WeiXinInfo info, String lastPic) { |
| | | if (info.getType().equalsIgnoreCase("1")) {// 个人号 |
| | |
| | | |
| | | } |
| | | |
| | | ConfigService configService; |
| | | |
| | | public ConfigService getConfigService() { |
| | | return configService; |
| | | } |
| | | |
| | | public void setConfigService(ConfigService configService) { |
| | | this.configService = configService; |
| | | } |
| | | @Resource |
| | | private DetailSystemConfigService configService; |
| | | |
| | | private WeiXinInfo getWeiXin(List<WeiXinInfo> list) { |
| | | OtherService service = new OtherService(); |