浏览代码

watero文件整理

wangxiaoming 6 年之前
父节点
当前提交
ed5cf75d8d
共有 29 个文件被更改,包括 2 次插入534 次删除
  1. 2 0
      watero-wechat-web/src/main/java/com/iamberry/wechat/handles/order/OrderHandler.java
  2. 二进制
      watero-wechat-web/src/main/webapp/WEB-INF/doc/01水时代-净水机微信商场需求概要_V1.0.docx
  3. 二进制
      watero-wechat-web/src/main/webapp/WEB-INF/doc/01爱贝源JavaEE开发规范V_1.0.doc
  4. 二进制
      watero-wechat-web/src/main/webapp/WEB-INF/doc/02水时代-净水机数据库设计V说明书V_1.0.docx
  5. 二进制
      watero-wechat-web/src/main/webapp/WEB-INF/doc/02爱贝源web安全标准V_1.0.doc
  6. 二进制
      watero-wechat-web/src/main/webapp/WEB-INF/doc/03爱贝源微信商城需求分析说明书_V1.0.docx
  7. 二进制
      watero-wechat-web/src/main/webapp/WEB-INF/doc/APP产品需求列表20160102.xlsx
  8. 二进制
      watero-wechat-web/src/main/webapp/WEB-INF/doc/净水器.zip
  9. 二进制
      watero-wechat-web/src/main/webapp/WEB-INF/doc/净水机-原型图_V1.4.rp
  10. 二进制
      watero-wechat-web/src/main/webapp/WEB-INF/doc/原型图设计.rp
  11. 二进制
      watero-wechat-web/src/main/webapp/WEB-INF/doc/核心主题.mmap
  12. 0 14
      watero-wechat-web/src/main/webapp/WEB-INF/doc/模块分析.txt
  13. 二进制
      watero-wechat-web/src/main/webapp/WEB-INF/doc/水时代 净水机微信商城+官网 .jpeg
  14. 二进制
      watero-wechat-web/src/main/webapp/WEB-INF/doc/水时代 净水机微信商城产品需求表20151215.xlsx
  15. 二进制
      watero-wechat-web/src/main/webapp/WEB-INF/doc/水时代项目开展情况及进度表.xlsx
  16. 二进制
      watero-wechat-web/src/main/webapp/WEB-INF/doc/水时代首页方案/01效果.jpg
  17. 二进制
      watero-wechat-web/src/main/webapp/WEB-INF/doc/水时代首页方案/01首页.jpg
  18. 二进制
      watero-wechat-web/src/main/webapp/WEB-INF/doc/水时代首页方案/02效果.jpg
  19. 二进制
      watero-wechat-web/src/main/webapp/WEB-INF/doc/水时代首页方案/02首页.jpg
  20. 二进制
      watero-wechat-web/src/main/webapp/WEB-INF/doc/水时代首页方案/03效果.jpg
  21. 二进制
      watero-wechat-web/src/main/webapp/WEB-INF/doc/水时代首页方案/03首页.jpg
  22. 二进制
      watero-wechat-web/src/main/webapp/WEB-INF/doc/爱贝源微信商城数据库设计文档V_1.1.docx
  23. 二进制
      watero-wechat-web/src/main/webapp/WEB-INF/doc/积分进出流程概况.png
  24. 二进制
      watero-wechat-web/src/main/webapp/WEB-INF/doc/订单流程概况.png
  25. 二进制
      watero-wechat-web/src/main/webapp/WEB-INF/doc/试用订单详细流程.png
  26. 二进制
      watero-wechat-web/src/main/webapp/WEB-INF/doc/销售订单详细流程.png
  27. 0 162
      watero-wechat-web/src/main/webapp/WEB-INF/schema/ehcache-spring-1.1.xsd
  28. 0 1
      watero-wechat-web/src/main/webapp/WEB-INF/sql/index.sql
  29. 0 357
      watero-wechat-web/src/main/webapp/WEB-INF/sql/ratfw.sql

+ 2 - 0
watero-wechat-web/src/main/java/com/iamberry/wechat/handles/order/OrderHandler.java

@@ -350,6 +350,7 @@ public class OrderHandler {
 			return msg;
 		}
 
+		boolean isUse99Voucher = false;	//true:可以使用    false:不允许使用
 		if(temp.getExchangeColorId() != null && !"".equals(temp.getExchangeColorId())){
 			boolean flag = false;
 			Integer exchangeColorId = Integer.valueOf(temp.getExchangeColorId());
@@ -376,6 +377,7 @@ public class OrderHandler {
 					cartDto.setProductColor(productColor.getColorName());
 					cartDto.setColorImg(productColor.getColorImg());
 					cartDtos.add(cartDto);
+					isUse99Voucher = true;
 				}
 			}
 		}

二进制
watero-wechat-web/src/main/webapp/WEB-INF/doc/01水时代-净水机微信商场需求概要_V1.0.docx


二进制
watero-wechat-web/src/main/webapp/WEB-INF/doc/01爱贝源JavaEE开发规范V_1.0.doc


二进制
watero-wechat-web/src/main/webapp/WEB-INF/doc/02水时代-净水机数据库设计V说明书V_1.0.docx


二进制
watero-wechat-web/src/main/webapp/WEB-INF/doc/02爱贝源web安全标准V_1.0.doc


二进制
watero-wechat-web/src/main/webapp/WEB-INF/doc/03爱贝源微信商城需求分析说明书_V1.0.docx


二进制
watero-wechat-web/src/main/webapp/WEB-INF/doc/APP产品需求列表20160102.xlsx


二进制
watero-wechat-web/src/main/webapp/WEB-INF/doc/净水器.zip


二进制
watero-wechat-web/src/main/webapp/WEB-INF/doc/净水机-原型图_V1.4.rp


二进制
watero-wechat-web/src/main/webapp/WEB-INF/doc/原型图设计.rp


二进制
watero-wechat-web/src/main/webapp/WEB-INF/doc/核心主题.mmap


+ 0 - 14
watero-wechat-web/src/main/webapp/WEB-INF/doc/模块分析.txt

@@ -1,14 +0,0 @@
-1、产品分类模块
-	* 产品类别名称、产品类别简介、产品类别返利、返利类型(1表示比例,即产品销售价*此比例;2表示返利数量,直接返利数量)
-		
-2、产品模块
-	* 产品数据库字段:
-		名称、型号、原价、优惠价、兑换积分、图文介绍,点击次数、销量、创建时间
-		排序、产品封面图 、产品所属分类、产品状态(1表示在售,2表示停止销售)、	
-		产品上新程度(是否为新品;1表示新品,2表示不是新品)、库存数量(只维护,不做功能)
-	* 当用户购买产品后,如果产品允许返利积分,那么进行返利:
-		如果设置了产品的兑换积分,那么使用产品设置的兑换积分,如果产品为设置兑换积分,使用产品分类的兑换积分
-
-
-问题:
-	1、积分是否可以直接在微信商场中使用?

二进制
watero-wechat-web/src/main/webapp/WEB-INF/doc/水时代 净水机微信商城+官网 .jpeg


二进制
watero-wechat-web/src/main/webapp/WEB-INF/doc/水时代 净水机微信商城产品需求表20151215.xlsx


二进制
watero-wechat-web/src/main/webapp/WEB-INF/doc/水时代项目开展情况及进度表.xlsx


二进制
watero-wechat-web/src/main/webapp/WEB-INF/doc/水时代首页方案/01效果.jpg


二进制
watero-wechat-web/src/main/webapp/WEB-INF/doc/水时代首页方案/01首页.jpg


二进制
watero-wechat-web/src/main/webapp/WEB-INF/doc/水时代首页方案/02效果.jpg


二进制
watero-wechat-web/src/main/webapp/WEB-INF/doc/水时代首页方案/02首页.jpg


二进制
watero-wechat-web/src/main/webapp/WEB-INF/doc/水时代首页方案/03效果.jpg


二进制
watero-wechat-web/src/main/webapp/WEB-INF/doc/水时代首页方案/03首页.jpg


二进制
watero-wechat-web/src/main/webapp/WEB-INF/doc/爱贝源微信商城数据库设计文档V_1.1.docx


二进制
watero-wechat-web/src/main/webapp/WEB-INF/doc/积分进出流程概况.png


二进制
watero-wechat-web/src/main/webapp/WEB-INF/doc/订单流程概况.png


二进制
watero-wechat-web/src/main/webapp/WEB-INF/doc/试用订单详细流程.png


二进制
watero-wechat-web/src/main/webapp/WEB-INF/doc/销售订单详细流程.png


+ 0 - 162
watero-wechat-web/src/main/webapp/WEB-INF/schema/ehcache-spring-1.1.xsd

@@ -1,162 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!-- Copyright 2010 Nicholas Blair, Eric Dalquist Licensed under the Apache 
-	License, Version 2.0 (the "License"); you may not use this file except in 
-	compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 
-	Unless required by applicable law or agreed to in writing, software distributed 
-	under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES 
-	OR CONDITIONS OF ANY KIND, either express or implied. See the License for 
-	the specific language governing permissions and limitations under the License. -->
-
-<xsd:schema
-	xmlns="http://ehcache-spring-annotations.googlecode.com/svn/schema/ehcache-spring"
-	xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tool="http://www.springframework.org/schema/tool"
-	targetNamespace="http://ehcache-spring-annotations.googlecode.com/svn/schema/ehcache-spring"
-	elementFormDefault="qualified" attributeFormDefault="unqualified">
-
-	<xsd:import namespace="http://www.springframework.org/schema/tool"
-		schemaLocation="http://www.springframework.org/schema/tool/spring-tool-2.5.xsd" />
-
-	<xsd:annotation>
-		<xsd:documentation><![CDATA[
-    Defines the elements used in the ehcache-spring-annotation project's declarative
-    caching infrastructure.
-        ]]></xsd:documentation>
-	</xsd:annotation>
-
-	<xsd:complexType name="cache-manager-aware_type">
-		<xsd:attribute name="cache-manager" type="xsd:string"
-			default="cacheManager">
-			<xsd:annotation>
-				<xsd:documentation source="java:net.sf.ehcache.CacheManager"><![CDATA[
-The bean name of the CacheManager that is to be used to drive caching.
-
-This attribute is not required, and only needs to be specified
-explicitly if the bean name of the desired CacheManager
-is not 'cacheManager'.
-                ]]></xsd:documentation>
-				<xsd:appinfo>
-					<tool:annotation kind="ref">
-						<tool:expected-type type="net.sf.ehcache.CacheManager" />
-					</tool:annotation>
-				</xsd:appinfo>
-			</xsd:annotation>
-		</xsd:attribute>
-	</xsd:complexType>
-
-	<xsd:element name="annotation-driven">
-		<xsd:complexType>
-			<xsd:complexContent>
-				<xsd:extension base="cache-manager-aware_type">
-					<xsd:attribute name="create-missing-caches" type="xsd:boolean"
-						default="false">
-						<xsd:annotation>
-							<xsd:documentation><![CDATA[
-            Should cache names from @Cacheable annotations that don't exist in
-            the CacheManager be created based on the default cache or should an
-            exception be thrown?
-                                ]]></xsd:documentation>
-						</xsd:annotation>
-					</xsd:attribute>
-					<xsd:attribute name="default-cache-key-generator"
-						type="xsd:string" use="optional">
-						<xsd:annotation>
-							<xsd:documentation><![CDATA[
-            Default CacheKeyGenerator implementation to use. If not specified 
-            HashCodeCacheKeyGenerator will be used as the default.
-                                ]]></xsd:documentation>
-						</xsd:annotation>
-					</xsd:attribute>
-					<xsd:attribute name="self-populating-cache-scope"
-						default="shared">
-						<xsd:annotation>
-							<xsd:documentation><![CDATA[
-            Are the SelfPopulatingCache wrappers scoped to the method or are they shared
-            among all methods using each self populating cache.
-                            ]]></xsd:documentation>
-						</xsd:annotation>
-						<xsd:simpleType>
-							<xsd:restriction base="xsd:string">
-								<xsd:enumeration value="method" />
-								<xsd:enumeration value="shared" />
-							</xsd:restriction>
-						</xsd:simpleType>
-					</xsd:attribute>
-					<xsd:attribute name="proxy-target-class" type="xsd:boolean"
-						default="false">
-						<xsd:annotation>
-							<xsd:documentation><![CDATA[
-            Are class-based (CGLIB) proxies to be created? By default, standard
-            Java interface-based proxies are created.
-        
-            Note: Class-based proxies require the @Transactional annotation to be
-            defined on the concrete class. Annotations in interfaces will not work
-            in that case (they will rather only work with interface-based proxies)!
-                            ]]></xsd:documentation>
-						</xsd:annotation>
-					</xsd:attribute>
-					<xsd:attribute name="order" type="xsd:int">
-						<xsd:annotation>
-							<xsd:documentation source="java:org.springframework.core.Ordered"><![CDATA[
-            Controls the ordering of the execution of the transaction advisor
-            when multiple advice executes at a specific joinpoint.
-                            ]]></xsd:documentation>
-						</xsd:annotation>
-					</xsd:attribute>
-				</xsd:extension>
-			</xsd:complexContent>
-		</xsd:complexType>
-	</xsd:element>
-
-	<xsd:element name="config">
-		<xsd:complexType>
-			<xsd:complexContent>
-				<xsd:extension base="cache-manager-aware_type">
-					<xsd:sequence>
-						<xsd:element name="evict-expired-elements" type="evict-expired-elements_type"
-							minOccurs="0" />
-					</xsd:sequence>
-				</xsd:extension>
-			</xsd:complexContent>
-		</xsd:complexType>
-	</xsd:element>
-
-	<xsd:complexType name="evict-expired-elements_type">
-		<xsd:annotation>
-			<xsd:documentation><![CDATA[
-            The include and exclude rules will be processed in the order they are specified.
-            ]]></xsd:documentation>
-		</xsd:annotation>
-		<xsd:choice minOccurs="0" maxOccurs="unbounded">
-			<xsd:element name="include" type="cache-filtering_type"
-				minOccurs="0" maxOccurs="unbounded" />
-			<xsd:element name="exclude" type="cache-filtering_type"
-				minOccurs="0" maxOccurs="unbounded" />
-		</xsd:choice>
-		<xsd:attribute name="interval" type="xsd:string"
-			default="60">
-			<xsd:annotation>
-				<xsd:documentation><![CDATA[
-                Declare how often Ehcache#evictExpiredElements() should be invoked; value
-                is in minutes.
-                ]]></xsd:documentation>
-			</xsd:annotation>
-		</xsd:attribute>
-	</xsd:complexType>
-
-	<xsd:complexType name="cache-filtering_type">
-		<xsd:attribute name="name" type="xsd:string">
-			<xsd:annotation>
-				<xsd:documentation><![CDATA[
-                A specific Ehcache name.
-                ]]></xsd:documentation>
-			</xsd:annotation>
-		</xsd:attribute>
-		<xsd:attribute name="pattern" type="xsd:string">
-			<xsd:annotation>
-				<xsd:documentation><![CDATA[
-                A regular expression pattern to be used to match against Ehcache names.
-                ]]></xsd:documentation>
-			</xsd:annotation>
-		</xsd:attribute>
-	</xsd:complexType>
-</xsd:schema>

+ 0 - 1
watero-wechat-web/src/main/webapp/WEB-INF/sql/index.sql

@@ -1,5 +0,0 @@
-create index idx_useropenid on tb_iamberry_user_userinfo(user_openid);

文件差异内容过多而无法显示
+ 0 - 357
watero-wechat-web/src/main/webapp/WEB-INF/sql/ratfw.sql