a234a46b 陈志杭(后端)

初始化项目

0 个父辈
正在显示 1000 个修改的文件 包含 4857 行增加0 行删除

要显示的修改太多。

为保证性能只显示 1000 of 1000+ 个文件。

1 Manifest-Version: 1.0
2 Class-Path:
3
1 package org.com.sibu.orderHelper.activeMQ.exception;
2
3
4 public class MessageException extends RuntimeException {
5
6 /**
7 *
8 */
9 private static final long serialVersionUID = 1061955222718403069L;
10
11 public MessageException(String message){
12 super(message);
13 }
14
15
16 public MessageException(Throwable cause){
17 super(cause);
18 }
19
20 public MessageException(String message, Throwable cause){
21 super(message,cause);
22 }
23 }
1 package org.com.sibu.orderHelper.activeMQ.listener;
2
3 import javax.jms.JMSException;
4 import javax.jms.Message;
5 import javax.jms.ObjectMessage;
6
7 import org.com.sibu.orderHelper.activeMQ.exception.MessageException;
8
9 public abstract class BaseMessageListener implements Processor {
10
11
12 @Override
13 public void onMessage(Message message) {
14 ObjectMessage obj = (ObjectMessage) message;
15 try {
16 process(obj.getObject());
17 } catch (JMSException e) {
18 throw new MessageException("ConsumerMessageListener onMessage has a error",e);
19 }
20
21 }
22
23
24 }
1 package org.com.sibu.orderHelper.activeMQ.listener;
2
3 import java.io.Serializable;
4
5 /**
6 * 多线程任务
7 * @author Administrator
8 *
9 */
10 public class MessageTask implements Runnable {
11
12 private Serializable obj;
13
14 private Processor processor ;
15
16
17 @Override
18 public void run() {
19 processor.process(obj);
20 }
21
22
23 public MessageTask(Serializable obj, Processor processor) {
24 super();
25 this.obj = obj;
26 this.processor = processor;
27 }
28
29
30
31 }
1 package org.com.sibu.orderHelper.activeMQ.listener;
2
3 import java.io.Serializable;
4
5 import javax.jms.MessageListener;
6
7
8 public interface Processor extends MessageListener {
9
10 public abstract void process(Serializable obj);
11 }
1 package org.com.sibu.orderHelper.activeMQ.listener;
2
3 import javax.jms.JMSException;
4 import javax.jms.Message;
5 import javax.jms.ObjectMessage;
6
7 import org.com.sibu.orderHelper.activeMQ.exception.MessageException;
8 import org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor;
9
10 public abstract class ThreadMessageListener implements Processor {
11
12 private ThreadPoolTaskExecutor threadPoolExecutor;
13
14 @Override
15 public void onMessage(Message message) {
16 ObjectMessage obj = (ObjectMessage) message;
17 try {
18 threadPoolExecutor.execute(new MessageTask(obj.getObject(), this));
19 } catch (JMSException e) {
20 throw new MessageException("ConsumerMessageListener onMessage has a error",e);
21 }
22 }
23
24
25 public void setThreadPoolExecutor(ThreadPoolTaskExecutor threadPoolExecutor) {
26 this.threadPoolExecutor = threadPoolExecutor;
27 }
28
29
30 }
1 package org.com.sibu.orderHelper.activeMQ.util;
2 import javax.annotation.Resource;
3 import javax.jms.Destination;
4 import javax.jms.JMSException;
5 import javax.jms.Message;
6 import javax.jms.Session;
7
8 import org.springframework.jms.core.JmsTemplate;
9 import org.springframework.jms.core.MessageCreator;
10 import org.springframework.stereotype.Component;
11
12 /**
13 * 消息生产者
14 * @author Administrator
15 *
16 */
17 @Component(value="producerService")
18 public class ProducerService {
19
20 @Resource
21 private JmsTemplate jmsTemplate;
22
23 public void sendMessage(Destination destination, final com.sibu.orderHelper.message.Message message) {
24 jmsTemplate.send(destination, new MessageCreator() {
25 @Override
26 public Message createMessage(Session session) throws JMSException {
27 return session.createObjectMessage(message);
28 }
29 });
30 }
31
32 public JmsTemplate getJmsTemplate() {
33 return jmsTemplate;
34 }
35
36
37 public void setJmsTemplate(JmsTemplate jmsTemplate) {
38 this.jmsTemplate = jmsTemplate;
39 }
40
41
42
43 }
...\ No newline at end of file ...\ No newline at end of file
1 package org.com.sibu.orderHelper.activeMQ.util;
2
3 import java.util.HashMap;
4 import java.util.Map;
5
6 import org.apache.activemq.command.ActiveMQQueue;
7 import org.com.sibu.orderHelper.activeMQ.exception.MessageException;
8 import org.springframework.beans.BeansException;
9 import org.springframework.context.ApplicationContext;
10 import org.springframework.context.ApplicationContextAware;
11 import org.springframework.util.StringUtils;
12
13 import com.sibu.orderHelper.message.Message;
14
15 /**
16 * 消息发送
17 * @author Administrator
18 *
19 */
20 public class SendMessageHone implements ApplicationContextAware {
21
22 private static ProducerService producerService;
23
24 /**
25 * 对列Id对应的对列
26 */
27 private static Map<String, ActiveMQQueue> map=new HashMap<>();
28
29
30 public SendMessageHone(){
31
32 }
33
34 /**
35 * 事件发送
36 * @param destination
37 * @param msg
38 */
39 public static void sendMessage(Message msg){
40 ActiveMQQueue queue =map.get(msg.getdestinationName());
41 if(StringUtils.isEmpty(queue)){
42 throw new MessageException(msg.getdestinationName() +" queue has not exist!");
43 }
44 producerService.sendMessage(queue, msg);;
45 }
46
47 public static void setProducerService(ProducerService producerService) {
48 SendMessageHone.producerService = producerService;
49 }
50
51
52 @Override
53 public void setApplicationContext(ApplicationContext applicationContext) throws BeansException {
54 map =applicationContext.getBeansOfType(ActiveMQQueue.class);
55 }
56
57
58 }
1 <?xml version="1.0" encoding="UTF-8"?>
2 <beans xmlns="http://www.springframework.org/schema/beans"
3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context"
4 xsi:schemaLocation="http://www.springframework.org/schema/beans
5 http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
6 http://www.springframework.org/schema/context
7 http://www.springframework.org/schema/context/spring-context-2.5.xsd"
8 >
9 <!-- 线程池 -->
10 <bean id="threadPoolExecutor" class="org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor">
11 <property name="corePoolSize" value="10" />
12 <property name="maxPoolSize" value="100"/>
13 <property name="queueCapacity" value="1000"/>
14 <property name="rejectedExecutionHandler">
15 <bean class="java.util.concurrent.ThreadPoolExecutor$CallerRunsPolicy"/>
16 </property>
17 </bean>
18 <!-- 单线程处理消息机制 -->
19 <bean id="baseProcessor" class="org.com.sibu.orderHelper.activeMQ.listener.BaseMessageListener" abstract="true" />
20
21 <!-- 线程池多线程处理消息机制 -->
22 <bean id="threadProcessor" class="org.com.sibu.orderHelper.activeMQ.listener.ThreadMessageListener" abstract="true">
23 <property name="threadPoolExecutor" ref="threadPoolExecutor"></property>
24 </bean>
25
26
27
28 </beans>
...\ No newline at end of file ...\ No newline at end of file
1 <?xml version="1.0" encoding="UTF-8"?>
2 <beans xmlns="http://www.springframework.org/schema/beans"
3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context"
4 xsi:schemaLocation="http://www.springframework.org/schema/beans
5 http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
6 http://www.springframework.org/schema/context
7 http://www.springframework.org/schema/context/spring-context-2.5.xsd"
8 >
9 <context:component-scan base-package="org.com.sibu.orderHelper.activeMQ" />
10
11
12
13 <bean id="targetConnectionFactory" class="org.apache.activemq.ActiveMQConnectionFactory">
14 <property name="brokerURL" value="${MQ.url}"/>
15 <property name="userName" value="${MQ.UserName}"></property>
16 <property name="password" value="${MQ.Password}"></property>
17 </bean>
18
19 <!-- Spring用于管理真正的ConnectionFactory的ConnectionFactory -->
20 <bean id="connectionFactory" class="org.springframework.jms.connection.SingleConnectionFactory">
21 <!-- 目标ConnectionFactory对应真实的可以产生JMS Connection的ConnectionFactory -->
22 <property name="targetConnectionFactory" ref="targetConnectionFactory"/>
23 </bean>
24
25 <bean id="jmsTemplate" class="org.springframework.jms.core.JmsTemplate">
26 <!-- 这个connectionFactory对应的是我们定义的Spring提供的那个ConnectionFactory对象 -->
27 <property name="connectionFactory" ref="connectionFactory"/>
28 </bean>
29
30 <bean id="sendMessageHome" class="org.com.sibu.orderHelper.activeMQ.util.SendMessageHone">
31 <property name="producerService" ref="producerService"></property>
32 </bean>
33
34
35
36 <!-- 操作日志 -->
37 <bean id="OPERATION_LOG_MESSAGE" class="org.apache.activemq.command.ActiveMQQueue">
38 <constructor-arg value="OPERATION_LOG_MESSAGE"/>
39 </bean>
40
41
42 </beans>
...\ No newline at end of file ...\ No newline at end of file
1 <?xml version="1.0" encoding="UTF-8"?>
2 <beans xmlns="http://www.springframework.org/schema/beans"
3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context"
4 xsi:schemaLocation="http://www.springframework.org/schema/beans
5 http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
6 http://www.springframework.org/schema/context
7 http://www.springframework.org/schema/context/spring-context-2.5.xsd"
8 >
9 <!-- 线程池 -->
10 <bean id="threadPoolExecutor" class="org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor">
11 <property name="corePoolSize" value="10" />
12 <property name="maxPoolSize" value="100"/>
13 <property name="queueCapacity" value="1000"/>
14 <property name="rejectedExecutionHandler">
15 <bean class="java.util.concurrent.ThreadPoolExecutor$CallerRunsPolicy"/>
16 </property>
17 </bean>
18 <!-- 单线程处理消息机制 -->
19 <bean id="baseProcessor" class="org.com.sibu.orderHelper.activeMQ.listener.BaseMessageListener" abstract="true" />
20
21 <!-- 线程池多线程处理消息机制 -->
22 <bean id="threadProcessor" class="org.com.sibu.orderHelper.activeMQ.listener.ThreadMessageListener" abstract="true">
23 <property name="threadPoolExecutor" ref="threadPoolExecutor"></property>
24 </bean>
25
26
27
28 </beans>
...\ No newline at end of file ...\ No newline at end of file
1 <?xml version="1.0" encoding="UTF-8"?>
2 <beans xmlns="http://www.springframework.org/schema/beans"
3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context"
4 xsi:schemaLocation="http://www.springframework.org/schema/beans
5 http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
6 http://www.springframework.org/schema/context
7 http://www.springframework.org/schema/context/spring-context-2.5.xsd"
8 >
9 <context:component-scan base-package="org.com.sibu.orderHelper.activeMQ" />
10
11
12
13 <bean id="targetConnectionFactory" class="org.apache.activemq.ActiveMQConnectionFactory">
14 <property name="brokerURL" value="${MQ.url}"/>
15 <property name="userName" value="${MQ.UserName}"></property>
16 <property name="password" value="${MQ.Password}"></property>
17 </bean>
18
19 <!-- Spring用于管理真正的ConnectionFactory的ConnectionFactory -->
20 <bean id="connectionFactory" class="org.springframework.jms.connection.SingleConnectionFactory">
21 <!-- 目标ConnectionFactory对应真实的可以产生JMS Connection的ConnectionFactory -->
22 <property name="targetConnectionFactory" ref="targetConnectionFactory"/>
23 </bean>
24
25 <bean id="jmsTemplate" class="org.springframework.jms.core.JmsTemplate">
26 <!-- 这个connectionFactory对应的是我们定义的Spring提供的那个ConnectionFactory对象 -->
27 <property name="connectionFactory" ref="connectionFactory"/>
28 </bean>
29
30 <bean id="sendMessageHome" class="org.com.sibu.orderHelper.activeMQ.util.SendMessageHone">
31 <property name="producerService" ref="producerService"></property>
32 </bean>
33
34
35
36 <!-- 操作日志 -->
37 <bean id="OPERATION_LOG_MESSAGE" class="org.apache.activemq.command.ActiveMQQueue">
38 <constructor-arg value="OPERATION_LOG_MESSAGE"/>
39 </bean>
40
41
42 </beans>
...\ No newline at end of file ...\ No newline at end of file
1 #Generated by Maven
2 #Wed Apr 04 16:16:01 CST 2018
3 version=0.0.1-SNAPSHOT
4 groupId=com.sibu.orderHelper.activeMQ
5 artifactId=com.sibu.orderHelper.activeMQ
1 org\com\sibu\orderHelper\activeMQ\exception\MessageException.class
2 org\com\sibu\orderHelper\activeMQ\util\ProducerService$1.class
3 org\com\sibu\orderHelper\activeMQ\listener\ThreadMessageListener.class
4 org\com\sibu\orderHelper\activeMQ\util\ProducerService.class
5 org\com\sibu\orderHelper\activeMQ\listener\BaseMessageListener.class
6 org\com\sibu\orderHelper\activeMQ\listener\MessageTask.class
7 org\com\sibu\orderHelper\activeMQ\listener\Processor.class
8 org\com\sibu\orderHelper\activeMQ\util\SendMessageHone.class
1 D:\caspar\project\vcoin\src\master\api\com.sibu.orderHelper.activeMQ\src\main\java\org\com\sibu\orderHelper\activeMQ\exception\MessageException.java
2 D:\caspar\project\vcoin\src\master\api\com.sibu.orderHelper.activeMQ\src\main\java\org\com\sibu\orderHelper\activeMQ\util\SendMessageHone.java
3 D:\caspar\project\vcoin\src\master\api\com.sibu.orderHelper.activeMQ\src\main\java\org\com\sibu\orderHelper\activeMQ\util\ProducerService.java
4 D:\caspar\project\vcoin\src\master\api\com.sibu.orderHelper.activeMQ\src\main\java\org\com\sibu\orderHelper\activeMQ\listener\BaseMessageListener.java
5 D:\caspar\project\vcoin\src\master\api\com.sibu.orderHelper.activeMQ\src\main\java\org\com\sibu\orderHelper\activeMQ\listener\MessageTask.java
6 D:\caspar\project\vcoin\src\master\api\com.sibu.orderHelper.activeMQ\src\main\java\org\com\sibu\orderHelper\activeMQ\listener\ThreadMessageListener.java
7 D:\caspar\project\vcoin\src\master\api\com.sibu.orderHelper.activeMQ\src\main\java\org\com\sibu\orderHelper\activeMQ\listener\Processor.java
1 <?xml version="1.0"?>
2 <project
3 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
4 xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
5 <modelVersion>4.0.0</modelVersion>
6 <parent>
7 <groupId>com.sibu.orderHelper</groupId>
8 <artifactId>com.sibu.orderHelper</artifactId>
9 <version>0.0.1-SNAPSHOT</version>
10 </parent>
11 <groupId>com.sibu.orderHelper.builder</groupId>
12 <artifactId>com.sibu.orderHelper.builder</artifactId>
13 <name>com.sibu.orderHelper.builder</name>
14 <url>http://maven.apache.org</url>
15 <properties>
16 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
17 </properties>
18 <dependencies>
19 <dependency>
20 <groupId>com.sibu.orderHelper.common</groupId>
21 <artifactId>com.sibu.orderHelper.common</artifactId>
22 <version>0.0.1-SNAPSHOT</version>
23 </dependency>
24 <dependency>
25 <groupId>org.mybatis</groupId>
26 <artifactId>mybatis</artifactId>
27 <version>3.2.2</version>
28 </dependency>
29 <dependency>
30 <groupId>org.mybatis</groupId>
31 <artifactId>mybatis-spring</artifactId>
32 <version>1.1.1</version>
33 </dependency>
34 <dependency>
35 <groupId>c3p0</groupId>
36 <artifactId>c3p0</artifactId>
37 <version>0.9.1.2</version>
38 </dependency>
39 <dependency>
40 <groupId>net.sourceforge.jtds</groupId>
41 <artifactId>jtds</artifactId>
42 <version>1.2.4</version>
43 </dependency>
44 <dependency>
45 <groupId>com.jolbox</groupId>
46 <artifactId>bonecp</artifactId>
47 <version>0.8.0.RELEASE</version>
48 </dependency>
49 </dependencies>
50 </project>
1 package com.sibu.builder.template.bean;
2
3 import java.io.Serializable;
4
5 /**
6 * MyName_Bean
7 * @version 1.0
8 * @author 作者_
9 */
10 public class MyName_Bean implements Serializable{
11 private static final long serialVersionUID = 1L;
12 //TODO
13 }
1 package com.sibu.builder.template.dao;
2
3 import java.util.List;
4 import java.util.Map;
5
6 import org.apache.ibatis.session.RowBounds;
7
8 import com.sibu.builder.template.bean.MyName_Bean;
9
10 /**
11 * MyName_Mapper
12 * @author 作者_
13 **/
14 public interface MyName_Dao {
15 /**
16 * 设置关联的dao接口缓存,设置后,清除该接口的缓存数据时会同时清除关联的接口的数据缓存。
17 * 提示:如无关联缓存设置,可以删除该字段
18 **/
19 public String[] correlationCache = null;
20 /**
21 * 查询统计
22 * @param brean 对象
23 * @return int 总记录数
24 * @throws Exception
25 */
26 int count(MyName_Bean brean) throws Exception;
27 /**
28 * 获取数据列表
29 * @param params 参数集
30 * @return rowBounds 添加分页条件
31 * @throws Exception
32 */
33 List<MyName_Bean> list(RowBounds rowBounds, Map<String, Object> params);
34 /**
35 * 获取数据列表
36 * @param params 参数集
37 * @throws Exception
38 */
39 List<MyName_Bean> list( Map<String, Object> params);
40 /**
41 * 保存
42 * @param bean bean对象
43 * @return Integer ID
44 * @throws Exception
45 */
46 Integer save(Object bean) throws Exception;
47 /**
48 * 获取对象数据
49 * @param params 参数集
50 * @return List<SysUserBean> 记录集
51 * @throws Exception
52 */
53 MyName_Bean get(String id) throws Exception;
54 /**
55 * 更新
56 * @param params 参数集
57 * @return boolean 是否操作成功
58 * @throws Exception
59 */
60 Integer update(Map<String, Object> params) throws Exception;
61 /**
62 * 删除
63 * @param id 数据id
64 * @return boolean 是否操作成功
65 * @throws Exception
66 */
67 int delete(String id) throws Exception;
68 /**
69 * 批量删除
70 * @param ids 数据ID集合
71 * @return boolean 是否操作成功
72 * @throws Exception
73 */
74 boolean batchDelete(List<?> list) throws Exception;
75 }
...\ No newline at end of file ...\ No newline at end of file
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
3 <mapper namespace="com.sibu.builder.template.dao.MyName_Mapper">
4 <resultMap id="rs_myName_Bean" type="com.sibu.builder.template.bean.MyName_Bean">
5 <!--resultMapCode-->
6 </resultMap>
7 <select id="count" resultType="java.lang.Integer" >
8 SELECT COUNT(id) FROM tableName_
9 <trim prefix="where" prefixOverrides="and | or">
10 <if test="null != idName_">
11 AND id = #{idName_}
12 </if>
13 </trim>
14 </select>
15 <select id="list" resultMap="rs_myName_Bean" >
16 SELECT * FROM tableName_ where
17 id = #{idName_}
18 ORDER BY create_date desc
19 </select>
20 <select id="get" resultMap="rs_myName_Bean" parameterType="java.lang.String">
21 SELECT * FROM tableName_
22 where id = #{idName_}
23 </select>
24 <insert id="save" parameterType="com.sibu.builder.template.bean.MyName_Bean">
25 INSERT INTO tableName_ (
26 <!--insertFieldsCode-->
27 ) VALUES (
28 <!--insertValuesCode-->
29 )
30 <!-- <selectKey resultType="java.lang.String" keyProperty="idName_">
31 <![CDATA[SELECT last_insert_id() AS id ]]>
32 </selectKey> -->
33 </insert>
34 <update id="update" parameterType="java.util.Map">
35 UPDATE tableName_
36 <trim prefix="SET" suffixOverrides=",">
37 <!--updateSetCode-->
38 </trim>
39 WHERE id = #{idName_}
40 </update>
41 <delete id="delete" parameterType="java.lang.Integer">
42 DELETE FROM tableName_ WHERE id = #{idName_}
43 </delete>
44 <delete id="batchDelete" parameterType="java.util.List">
45 DELETE FROM tableName_ WHERE id in
46 <foreach collection="list" item="item" open="(" separator="," close=")">
47 #{item}
48 </foreach>
49 </delete>
50 </mapper>
...\ No newline at end of file ...\ No newline at end of file
1 package com.sibu.builder.template.fields;
2
3 public enum MyName_Fields {
4 idName_
5 }
1 package com.sibu.builder.template.service;
2
3 import java.util.List;
4 import java.util.Map;
5
6 import com.sibu.builder.template.bean.MyName_Bean;
7 import com.sibu.orderHelper.common.data.Pager;
8
9 /**
10 * MyName_Service
11 * @author 作者_
12 **/
13 public interface MyName_Service {
14
15 /**
16 *
17 * @Title: getBeanById
18 * @Description: 查询主库中的数据【主库】
19 * @author
20 * @date 2016年3月9日 下午1:36:21
21 * @param @param id 记录id
22 * @param @return
23 * @param @throws Exception 设定文件
24 * @return MyName_Bean 返回类型
25 * @throws
26 */
27 public MyName_Bean getBeanById(String id) throws Exception;
28 /**
29 *
30 * @Title: getBeanFromSub
31 * @Description: 查询分库中的数据【分库】
32 * @author
33 * @date 2016年3月9日 下午1:36:47
34 * @param @param id 记录id
35 * @param @param memberId 用户表的id
36 * @param @throws Exception 设定文件
37 * @return MyName_Bean 返回类型
38 * @throws
39 */
40 public MyName_Bean getBeanFromSub(String id, String memberId) throws Exception;
41
42 /**
43 *
44 * @Title: listPager
45 * @Description: 获取所有数据【主库】
46 * @author
47 * @date 2016年3月9日 下午1:50:33
48 * @param @return
49 * @param @throws Exception 设定文件
50 * @return List<MyName_Bean> 返回类型
51 * @throws
52 */
53 public List<MyName_Bean> list() throws Exception;
54
55 /**
56 *
57 * @Title: listPagerFromSub
58 * @Description: 获取所有数据【分库】
59 * @author
60 * @date 2016年3月9日 下午1:51:02
61 * @param @return
62 * @param @throws Exception 设定文件
63 * @return List<MyName_Bean> 返回类型
64 * @throws
65 */
66 public List<MyName_Bean> listFromSub(Map<String, Object> params) throws Exception;
67
68 /**
69 *
70 * @Title: find
71 * @Description: 分页数据【主库】
72 * @author
73 * @date 2016年3月9日 下午1:55:35
74 * @param @param pager
75 * @param @return
76 * @param @throws Exception 设定文件
77 * @return Pager<MyName_Bean> 返回类型
78 * @throws
79 */
80 public Pager<MyName_Bean> find(Pager<MyName_Bean> pager) throws Exception;
81
82 /**
83 *
84 * @Title: findFromSub
85 * @Description: 分页数据,无查询条件【分库】
86 * @author
87 * @date 2016年3月9日 下午1:56:18
88 * @param @param pager
89 * @param @param memberId
90 * @param @return
91 * @param @throws Exception 设定文件
92 * @return Pager<MyName_Bean> 返回类型
93 * @throws
94 */
95 public Pager<MyName_Bean> findFromSub(Pager<MyName_Bean> pager, String memberId) throws Exception;
96
97 /**
98 *
99 * @Title: findByParams
100 * @Description: 分页数据,有查询条件
101 * @author
102 * @date 2016年3月9日 下午2:42:31
103 * @param @param pager
104 * @param @param bean
105 * @param @param memberId
106 * @param @return
107 * @param @throws Exception 设定文件
108 * @return Pager<MyName_Bean> 返回类型
109 * @throws
110 */
111 public Pager<MyName_Bean> findByParams(Pager<MyName_Bean> pager, MyName_Bean bean, String memberId) throws Exception;
112
113 /**
114 *
115 * @Title: add
116 * @Description: 添加数据到【主库】
117 * @author
118 * @date 2016年3月9日 下午1:58:14
119 * @param @param bean
120 * @param @return
121 * @param @throws Exception 设定文件
122 * @return int 返回类型
123 * @throws
124 */
125 public int add(MyName_Bean bean) throws Exception;
126
127 /**
128 *
129 * @Title: addToSub
130 * @Description: 添加数据【分库】
131 * @author
132 * @date 2016年3月9日 下午1:58:32
133 * @param @param bean
134 * @param @param member
135 * @param @return
136 * @param @throws Exception 设定文件
137 * @return int 返回类型
138 * @throws
139 */
140 public int addToSub(MyName_Bean bean, String memberId) throws Exception;
141
142 /**
143 *
144 * @Title: delete
145 * @Description: 删除数据【主库】
146 * @author
147 * @date 2016年3月9日 下午2:00:08
148 * @param @param id
149 * @param @return
150 * @param @throws Exception 设定文件
151 * @return int 返回类型
152 * @throws
153 */
154 public int delete(String id) throws Exception;
155
156 /**
157 *
158 * @Title: deleteFromSub
159 * @Description: 删除数据【分库】
160 * @author
161 * @date 2016年3月9日 下午2:00:29
162 * @param @param id
163 * @param @param memberId
164 * @param @return
165 * @param @throws Exception 设定文件
166 * @return int 返回类型
167 * @throws
168 */
169 public int deleteFromSub(String id, String memberId) throws Exception;
170
171 /**
172 *
173 * @Title: update
174 * @Description: 更新数据【主库】
175 * @author
176 * @date 2016年3月9日 下午2:02:02
177 * @param @param bean
178 * @param @return
179 * @param @throws Exception 设定文件
180 * @return int 返回类型
181 * @throws
182 */
183 public int update(MyName_Bean bean) throws Exception;
184 /**
185 *
186 * @Title: updateFromSub
187 * @Description: 更新数据【分库】
188 * @author
189 * @date 2016年3月9日 下午2:02:22
190 * @param @param bean
191 * @param @param memberId
192 * @param @return
193 * @param @throws Exception 设定文件
194 * @return int 返回类型
195 * @throws
196 */
197 public int updateFromSub(MyName_Bean bean, String memberId) throws Exception;
198 public int count() throws Exception;
199 /**
200 *
201 * @Title: count
202 * @Description: 统计有参数【主库】
203 * @author
204 * @date 2016年3月9日 下午2:39:40
205 * @param @param bean
206 * @param @return
207 * @param @throws Exception 设定文件
208 * @return int 返回类型
209 * @throws
210 */
211 public int countByParams(MyName_Bean bean) throws Exception;
212 /**
213 *
214 * @Title: countFromSub
215 * @Description: 统计【分库】
216 * @author
217 * @date 2016年3月9日 下午2:40:03
218 * @param @param parameters
219 * @param @return
220 * @param @throws Exception 设定文件
221 * @return int 返回类型
222 * @throws
223 */
224 public int countFromSub(Map<String, Object> parameters) throws Exception;
225 }
...\ No newline at end of file ...\ No newline at end of file
1 package com.sibu.orderHelper.api.model.bean;
2
3 import java.io.Serializable;
4 import java.util.Date;
5
6 /**
7 * APICategoryBean
8 * @version 1.0
9 * @author xiaoheliu
10 */
11 public class APICategoryBean implements Serializable{
12 private static final long serialVersionUID = 1L;
13
14 private String categoryId;
15 private Integer typeId;
16 private String name;
17 private String imageUrl;
18 private Integer sortIndex;
19 private String remark;
20 private String createMemberId;
21 private Date createDt;
22 private Date updateDt;
23 private Integer deleteFlag;
24
25 public String getCategoryId(){
26 return categoryId;
27 }
28 public void setCategoryId(String categoryId){
29 this.categoryId = categoryId;
30 }
31 public Integer getTypeId(){
32 return typeId;
33 }
34 public void setTypeId(Integer typeId){
35 this.typeId = typeId;
36 }
37 public String getName(){
38 return name;
39 }
40 public void setName(String name){
41 this.name = name;
42 }
43 public String getImageUrl(){
44 return imageUrl;
45 }
46 public void setImageUrl(String imageUrl){
47 this.imageUrl = imageUrl;
48 }
49 public Integer getSortIndex(){
50 return sortIndex;
51 }
52 public void setSortIndex(Integer sortIndex){
53 this.sortIndex = sortIndex;
54 }
55 public String getRemark(){
56 return remark;
57 }
58 public void setRemark(String remark){
59 this.remark = remark;
60 }
61 public String getCreateMemberId(){
62 return createMemberId;
63 }
64 public void setCreateMemberId(String createMemberId){
65 this.createMemberId = createMemberId;
66 }
67 public Date getCreateDt(){
68 return createDt;
69 }
70 public void setCreateDt(Date createDt){
71 this.createDt = createDt;
72 }
73 public Date getUpdateDt(){
74 return updateDt;
75 }
76 public void setUpdateDt(Date updateDt){
77 this.updateDt = updateDt;
78 }
79 public Integer getDeleteFlag(){
80 return deleteFlag;
81 }
82 public void setDeleteFlag(Integer deleteFlag){
83 this.deleteFlag = deleteFlag;
84 }
85
86 }
87
1 package com.sibu.orderHelper.api.model.bean;
2
3 import java.io.Serializable;
4 import java.util.Date;
5
6 /**
7 * APICourseBean
8 * @version 1.0
9 * @author xiaoheliu
10 */
11 public class APICourseBean implements Serializable{
12 private static final long serialVersionUID = 1L;
13
14 private String courseId;
15 private String categoryId;
16 private String title;
17 private String fontColor;
18 private Integer isBold;
19 private Integer isItalic;
20 private Integer isTop;
21 private String info;
22 private String details;
23 private String imageUrl;
24 private Integer isPublish;
25 private String publishuserId;
26 private Date publishDt;
27 private String createMemberId;
28 private Date createDt;
29 private Date updateDt;
30 private Integer deleteFlag;
31
32 public String getCourseId(){
33 return courseId;
34 }
35 public void setCourseId(String courseId){
36 this.courseId = courseId;
37 }
38 public String getCategoryId(){
39 return categoryId;
40 }
41 public void setCategoryId(String categoryId){
42 this.categoryId = categoryId;
43 }
44 public String getTitle(){
45 return title;
46 }
47 public void setTitle(String title){
48 this.title = title;
49 }
50 public String getFontColor(){
51 return fontColor;
52 }
53 public void setFontColor(String fontColor){
54 this.fontColor = fontColor;
55 }
56 public Integer getIsBold(){
57 return isBold;
58 }
59 public void setIsBold(Integer isBold){
60 this.isBold = isBold;
61 }
62 public Integer getIsItalic(){
63 return isItalic;
64 }
65 public void setIsItalic(Integer isItalic){
66 this.isItalic = isItalic;
67 }
68 public Integer getIsTop(){
69 return isTop;
70 }
71 public void setIsTop(Integer isTop){
72 this.isTop = isTop;
73 }
74 public String getInfo(){
75 return info;
76 }
77 public void setInfo(String info){
78 this.info = info;
79 }
80 public String getDetails(){
81 return details;
82 }
83 public void setDetails(String details){
84 this.details = details;
85 }
86 public String getImageUrl(){
87 return imageUrl;
88 }
89 public void setImageUrl(String imageUrl){
90 this.imageUrl = imageUrl;
91 }
92 public Integer getIsPublish(){
93 return isPublish;
94 }
95 public void setIsPublish(Integer isPublish){
96 this.isPublish = isPublish;
97 }
98 public String getPublishuserId(){
99 return publishuserId;
100 }
101 public void setPublishuserId(String publishuserId){
102 this.publishuserId = publishuserId;
103 }
104 public Date getPublishDt(){
105 return publishDt;
106 }
107 public void setPublishDt(Date publishDt){
108 this.publishDt = publishDt;
109 }
110 public String getCreateMemberId(){
111 return createMemberId;
112 }
113 public void setCreateMemberId(String createMemberId){
114 this.createMemberId = createMemberId;
115 }
116 public Date getCreateDt(){
117 return createDt;
118 }
119 public void setCreateDt(Date createDt){
120 this.createDt = createDt;
121 }
122 public Date getUpdateDt(){
123 return updateDt;
124 }
125 public void setUpdateDt(Date updateDt){
126 this.updateDt = updateDt;
127 }
128 public Integer getDeleteFlag(){
129 return deleteFlag;
130 }
131 public void setDeleteFlag(Integer deleteFlag){
132 this.deleteFlag = deleteFlag;
133 }
134
135 }
136
1 package com.sibu.orderHelper.api.model.bean;
2
3 import java.io.Serializable;
4 import java.util.Date;
5
6 /**
7 * APIHelpTextBean
8 * @version 1.0
9 * @author xiaoheliu
10 */
11 public class APIHelpTextBean implements Serializable{
12 private static final long serialVersionUID = 1L;
13
14 private String id;
15 private String title;
16 private String info;
17 private Date createDt;
18 private Date updateDt;
19
20 public String getId(){
21 return id;
22 }
23 public void setId(String id){
24 this.id = id;
25 }
26 public String getTitle(){
27 return title;
28 }
29 public void setTitle(String title){
30 this.title = title;
31 }
32 public String getInfo(){
33 return info;
34 }
35 public void setInfo(String info){
36 this.info = info;
37 }
38 public Date getCreateDt(){
39 return createDt;
40 }
41 public void setCreateDt(Date createDt){
42 this.createDt = createDt;
43 }
44 public Date getUpdateDt(){
45 return updateDt;
46 }
47 public void setUpdateDt(Date updateDt){
48 this.updateDt = updateDt;
49 }
50
51 }
52
1 package com.sibu.orderHelper.api.model.bean;
2
3 import java.io.Serializable;
4 import java.util.Date;
5
6 /**
7 * APIMemberBean
8 * @version 1.0
9 * @author xiaoheliu
10 */
11 public class APIMemberBean implements Serializable{
12 private static final long serialVersionUID = 1L;
13
14 private String memberId;
15 private Long uid;
16 private String dna;
17 private String levelId;
18 private String referrerId;
19 private String parentId;
20 private String nickname;
21 private String phone;
22 private String password;
23 private String salt;
24 private Integer gender;
25 private String truename;
26 private String idcard;
27 private String wechat;
28 private String qq;
29 private String email;
30 private String headImg;
31 private String remark;
32 private String enterpriseId;
33 private Integer memberStatus;
34 private Integer loginCount;
35 private Date lastLoginDt;
36 private Integer lastLoginPlatform;
37 private Integer lastLoginVersion;
38 private String wechatOpenid;
39 private String wechatUnionid;
40 private Date createDt;
41 private Date updateDt;
42 private Integer deleteFlag;
43 private Integer integral;
44 private Integer upgradeStatus;
45 private Integer dbIndex;
46 private Integer tableIndex;
47
48 public String getMemberId(){
49 return memberId;
50 }
51 public void setMemberId(String memberId){
52 this.memberId = memberId;
53 }
54 public Long getUid(){
55 return uid;
56 }
57 public void setUid(Long uid){
58 this.uid = uid;
59 }
60 public String getDna(){
61 return dna;
62 }
63 public void setDna(String dna){
64 this.dna = dna;
65 }
66 public String getLevelId(){
67 return levelId;
68 }
69 public void setLevelId(String levelId){
70 this.levelId = levelId;
71 }
72 public String getReferrerId(){
73 return referrerId;
74 }
75 public void setReferrerId(String referrerId){
76 this.referrerId = referrerId;
77 }
78 public String getParentId(){
79 return parentId;
80 }
81 public void setParentId(String parentId){
82 this.parentId = parentId;
83 }
84 public String getNickname(){
85 return nickname;
86 }
87 public void setNickname(String nickname){
88 this.nickname = nickname;
89 }
90 public String getPhone(){
91 return phone;
92 }
93 public void setPhone(String phone){
94 this.phone = phone;
95 }
96 public String getPassword(){
97 return password;
98 }
99 public void setPassword(String password){
100 this.password = password;
101 }
102 public String getSalt(){
103 return salt;
104 }
105 public void setSalt(String salt){
106 this.salt = salt;
107 }
108 public Integer getGender(){
109 return gender;
110 }
111 public void setGender(Integer gender){
112 this.gender = gender;
113 }
114 public String getTruename(){
115 return truename;
116 }
117 public void setTruename(String truename){
118 this.truename = truename;
119 }
120 public String getIdcard(){
121 return idcard;
122 }
123 public void setIdcard(String idcard){
124 this.idcard = idcard;
125 }
126 public String getWechat(){
127 return wechat;
128 }
129 public void setWechat(String wechat){
130 this.wechat = wechat;
131 }
132 public String getQq(){
133 return qq;
134 }
135 public void setQq(String qq){
136 this.qq = qq;
137 }
138 public String getEmail(){
139 return email;
140 }
141 public void setEmail(String email){
142 this.email = email;
143 }
144 public String getHeadImg(){
145 return headImg;
146 }
147 public void setHeadImg(String headImg){
148 this.headImg = headImg;
149 }
150 public String getRemark(){
151 return remark;
152 }
153 public void setRemark(String remark){
154 this.remark = remark;
155 }
156 public String getEnterpriseId(){
157 return enterpriseId;
158 }
159 public void setEnterpriseId(String enterpriseId){
160 this.enterpriseId = enterpriseId;
161 }
162 public Integer getMemberStatus(){
163 return memberStatus;
164 }
165 public void setMemberStatus(Integer memberStatus){
166 this.memberStatus = memberStatus;
167 }
168 public Integer getLoginCount(){
169 return loginCount;
170 }
171 public void setLoginCount(Integer loginCount){
172 this.loginCount = loginCount;
173 }
174 public Date getLastLoginDt(){
175 return lastLoginDt;
176 }
177 public void setLastLoginDt(Date lastLoginDt){
178 this.lastLoginDt = lastLoginDt;
179 }
180 public Integer getLastLoginPlatform(){
181 return lastLoginPlatform;
182 }
183 public void setLastLoginPlatform(Integer lastLoginPlatform){
184 this.lastLoginPlatform = lastLoginPlatform;
185 }
186 public Integer getLastLoginVersion(){
187 return lastLoginVersion;
188 }
189 public void setLastLoginVersion(Integer lastLoginVersion){
190 this.lastLoginVersion = lastLoginVersion;
191 }
192 public String getWechatOpenid(){
193 return wechatOpenid;
194 }
195 public void setWechatOpenid(String wechatOpenid){
196 this.wechatOpenid = wechatOpenid;
197 }
198 public String getWechatUnionid(){
199 return wechatUnionid;
200 }
201 public void setWechatUnionid(String wechatUnionid){
202 this.wechatUnionid = wechatUnionid;
203 }
204 public Date getCreateDt(){
205 return createDt;
206 }
207 public void setCreateDt(Date createDt){
208 this.createDt = createDt;
209 }
210 public Date getUpdateDt(){
211 return updateDt;
212 }
213 public void setUpdateDt(Date updateDt){
214 this.updateDt = updateDt;
215 }
216 public Integer getDeleteFlag(){
217 return deleteFlag;
218 }
219 public void setDeleteFlag(Integer deleteFlag){
220 this.deleteFlag = deleteFlag;
221 }
222 public Integer getIntegral(){
223 return integral;
224 }
225 public void setIntegral(Integer integral){
226 this.integral = integral;
227 }
228 public Integer getUpgradeStatus(){
229 return upgradeStatus;
230 }
231 public void setUpgradeStatus(Integer upgradeStatus){
232 this.upgradeStatus = upgradeStatus;
233 }
234 public Integer getDbIndex(){
235 return dbIndex;
236 }
237 public void setDbIndex(Integer dbIndex){
238 this.dbIndex = dbIndex;
239 }
240 public Integer getTableIndex(){
241 return tableIndex;
242 }
243 public void setTableIndex(Integer tableIndex){
244 this.tableIndex = tableIndex;
245 }
246
247 }
248
1 package com.sibu.orderHelper.api.model.bean;
2
3 import java.io.Serializable;
4 import java.util.Date;
5
6 /**
7 * APINoticeBean
8 * @version 1.0
9 * @author xiaoheliu
10 */
11 public class APINoticeBean implements Serializable{
12 private static final long serialVersionUID = 1L;
13
14 private String noticeId;
15 private String categoryId;
16 private String title;
17 private String fontColor;
18 private Integer isBold;
19 private Integer isItalic;
20 private Integer isTop;
21 private String info;
22 private String details;
23 private String imageUrl;
24 private Integer isPublish;
25 private String publishuserId;
26 private Date publishDt;
27 private String createMemberId;
28 private Date createDt;
29 private Date updateDt;
30 private Integer deleteFlag;
31
32 public String getNoticeId(){
33 return noticeId;
34 }
35 public void setNoticeId(String noticeId){
36 this.noticeId = noticeId;
37 }
38 public String getCategoryId(){
39 return categoryId;
40 }
41 public void setCategoryId(String categoryId){
42 this.categoryId = categoryId;
43 }
44 public String getTitle(){
45 return title;
46 }
47 public void setTitle(String title){
48 this.title = title;
49 }
50 public String getFontColor(){
51 return fontColor;
52 }
53 public void setFontColor(String fontColor){
54 this.fontColor = fontColor;
55 }
56 public Integer getIsBold(){
57 return isBold;
58 }
59 public void setIsBold(Integer isBold){
60 this.isBold = isBold;
61 }
62 public Integer getIsItalic(){
63 return isItalic;
64 }
65 public void setIsItalic(Integer isItalic){
66 this.isItalic = isItalic;
67 }
68 public Integer getIsTop(){
69 return isTop;
70 }
71 public void setIsTop(Integer isTop){
72 this.isTop = isTop;
73 }
74 public String getInfo(){
75 return info;
76 }
77 public void setInfo(String info){
78 this.info = info;
79 }
80 public String getDetails(){
81 return details;
82 }
83 public void setDetails(String details){
84 this.details = details;
85 }
86 public String getImageUrl(){
87 return imageUrl;
88 }
89 public void setImageUrl(String imageUrl){
90 this.imageUrl = imageUrl;
91 }
92 public Integer getIsPublish(){
93 return isPublish;
94 }
95 public void setIsPublish(Integer isPublish){
96 this.isPublish = isPublish;
97 }
98 public String getPublishuserId(){
99 return publishuserId;
100 }
101 public void setPublishuserId(String publishuserId){
102 this.publishuserId = publishuserId;
103 }
104 public Date getPublishDt(){
105 return publishDt;
106 }
107 public void setPublishDt(Date publishDt){
108 this.publishDt = publishDt;
109 }
110 public String getCreateMemberId(){
111 return createMemberId;
112 }
113 public void setCreateMemberId(String createMemberId){
114 this.createMemberId = createMemberId;
115 }
116 public Date getCreateDt(){
117 return createDt;
118 }
119 public void setCreateDt(Date createDt){
120 this.createDt = createDt;
121 }
122 public Date getUpdateDt(){
123 return updateDt;
124 }
125 public void setUpdateDt(Date updateDt){
126 this.updateDt = updateDt;
127 }
128 public Integer getDeleteFlag(){
129 return deleteFlag;
130 }
131 public void setDeleteFlag(Integer deleteFlag){
132 this.deleteFlag = deleteFlag;
133 }
134
135 }
136
1 package com.sibu.orderHelper.api.model.bean;
2
3 import java.io.Serializable;
4 import java.util.Date;
5
6 /**
7 * APIProductBean
8 * @version 1.0
9 * @author xiaoheliu
10 */
11 public class APIProductBean implements Serializable{
12 private static final long serialVersionUID = 1L;
13
14 private String productId;
15 private String categoryId;
16 private String name;
17 private String shortName;
18 private String brand;
19 private String size;
20 private String info;
21 private String details;
22 private String remark;
23 private String erpCode;
24 private String retailPrice;
25 private String marketPrice;
26 private Integer stockNum;
27 private Integer saleNum;
28 private Integer sortIndex;
29 private Integer productOwner;
30 private String thumbImg;
31 private String bannelThumbImg1;
32 private String bannelThumbImg2;
33 private String bannelThumbImg3;
34 private String bannelThumbImg4;
35 private String bannelThumbImg5;
36 private String bannelImg1;
37 private String bannelImg2;
38 private String bannelImg3;
39 private String bannelImg4;
40 private String bannelImg5;
41 private Integer productLength;
42 private Integer productWidth;
43 private Integer productheight;
44 private Integer grossWeight;
45 private Integer suttleweight;
46 private Integer upFlag;
47 private Date createDate;
48 private Date updateDate;
49 private Integer deleteFlag;
50 private Integer boxNum;
51 private String barCode;
52
53 public String getProductId(){
54 return productId;
55 }
56 public void setProductId(String productId){
57 this.productId = productId;
58 }
59 public String getCategoryId(){
60 return categoryId;
61 }
62 public void setCategoryId(String categoryId){
63 this.categoryId = categoryId;
64 }
65 public String getName(){
66 return name;
67 }
68 public void setName(String name){
69 this.name = name;
70 }
71 public String getShortName(){
72 return shortName;
73 }
74 public void setShortName(String shortName){
75 this.shortName = shortName;
76 }
77 public String getBrand(){
78 return brand;
79 }
80 public void setBrand(String brand){
81 this.brand = brand;
82 }
83 public String getSize(){
84 return size;
85 }
86 public void setSize(String size){
87 this.size = size;
88 }
89 public String getInfo(){
90 return info;
91 }
92 public void setInfo(String info){
93 this.info = info;
94 }
95 public String getDetails(){
96 return details;
97 }
98 public void setDetails(String details){
99 this.details = details;
100 }
101 public String getRemark(){
102 return remark;
103 }
104 public void setRemark(String remark){
105 this.remark = remark;
106 }
107 public String getErpCode(){
108 return erpCode;
109 }
110 public void setErpCode(String erpCode){
111 this.erpCode = erpCode;
112 }
113 public String getRetailPrice(){
114 return retailPrice;
115 }
116 public void setRetailPrice(String retailPrice){
117 this.retailPrice = retailPrice;
118 }
119 public String getMarketPrice(){
120 return marketPrice;
121 }
122 public void setMarketPrice(String marketPrice){
123 this.marketPrice = marketPrice;
124 }
125 public Integer getStockNum(){
126 return stockNum;
127 }
128 public void setStockNum(Integer stockNum){
129 this.stockNum = stockNum;
130 }
131 public Integer getSaleNum(){
132 return saleNum;
133 }
134 public void setSaleNum(Integer saleNum){
135 this.saleNum = saleNum;
136 }
137 public Integer getSortIndex(){
138 return sortIndex;
139 }
140 public void setSortIndex(Integer sortIndex){
141 this.sortIndex = sortIndex;
142 }
143 public Integer getProductOwner(){
144 return productOwner;
145 }
146 public void setProductOwner(Integer productOwner){
147 this.productOwner = productOwner;
148 }
149 public String getThumbImg(){
150 return thumbImg;
151 }
152 public void setThumbImg(String thumbImg){
153 this.thumbImg = thumbImg;
154 }
155 public String getBannelThumbImg1(){
156 return bannelThumbImg1;
157 }
158 public void setBannelThumbImg1(String bannelThumbImg1){
159 this.bannelThumbImg1 = bannelThumbImg1;
160 }
161 public String getBannelThumbImg2(){
162 return bannelThumbImg2;
163 }
164 public void setBannelThumbImg2(String bannelThumbImg2){
165 this.bannelThumbImg2 = bannelThumbImg2;
166 }
167 public String getBannelThumbImg3(){
168 return bannelThumbImg3;
169 }
170 public void setBannelThumbImg3(String bannelThumbImg3){
171 this.bannelThumbImg3 = bannelThumbImg3;
172 }
173 public String getBannelThumbImg4(){
174 return bannelThumbImg4;
175 }
176 public void setBannelThumbImg4(String bannelThumbImg4){
177 this.bannelThumbImg4 = bannelThumbImg4;
178 }
179 public String getBannelThumbImg5(){
180 return bannelThumbImg5;
181 }
182 public void setBannelThumbImg5(String bannelThumbImg5){
183 this.bannelThumbImg5 = bannelThumbImg5;
184 }
185 public String getBannelImg1(){
186 return bannelImg1;
187 }
188 public void setBannelImg1(String bannelImg1){
189 this.bannelImg1 = bannelImg1;
190 }
191 public String getBannelImg2(){
192 return bannelImg2;
193 }
194 public void setBannelImg2(String bannelImg2){
195 this.bannelImg2 = bannelImg2;
196 }
197 public String getBannelImg3(){
198 return bannelImg3;
199 }
200 public void setBannelImg3(String bannelImg3){
201 this.bannelImg3 = bannelImg3;
202 }
203 public String getBannelImg4(){
204 return bannelImg4;
205 }
206 public void setBannelImg4(String bannelImg4){
207 this.bannelImg4 = bannelImg4;
208 }
209 public String getBannelImg5(){
210 return bannelImg5;
211 }
212 public void setBannelImg5(String bannelImg5){
213 this.bannelImg5 = bannelImg5;
214 }
215 public Integer getProductLength(){
216 return productLength;
217 }
218 public void setProductLength(Integer productLength){
219 this.productLength = productLength;
220 }
221 public Integer getProductWidth(){
222 return productWidth;
223 }
224 public void setProductWidth(Integer productWidth){
225 this.productWidth = productWidth;
226 }
227 public Integer getProductheight(){
228 return productheight;
229 }
230 public void setProductheight(Integer productheight){
231 this.productheight = productheight;
232 }
233 public Integer getGrossWeight(){
234 return grossWeight;
235 }
236 public void setGrossWeight(Integer grossWeight){
237 this.grossWeight = grossWeight;
238 }
239 public Integer getSuttleweight(){
240 return suttleweight;
241 }
242 public void setSuttleweight(Integer suttleweight){
243 this.suttleweight = suttleweight;
244 }
245 public Integer getUpFlag(){
246 return upFlag;
247 }
248 public void setUpFlag(Integer upFlag){
249 this.upFlag = upFlag;
250 }
251 public Date getCreateDate(){
252 return createDate;
253 }
254 public void setCreateDate(Date createDate){
255 this.createDate = createDate;
256 }
257 public Date getUpdateDate(){
258 return updateDate;
259 }
260 public void setUpdateDate(Date updateDate){
261 this.updateDate = updateDate;
262 }
263 public Integer getDeleteFlag(){
264 return deleteFlag;
265 }
266 public void setDeleteFlag(Integer deleteFlag){
267 this.deleteFlag = deleteFlag;
268 }
269 public Integer getBoxNum(){
270 return boxNum;
271 }
272 public void setBoxNum(Integer boxNum){
273 this.boxNum = boxNum;
274 }
275 public String getBarCode(){
276 return barCode;
277 }
278 public void setBarCode(String barCode){
279 this.barCode = barCode;
280 }
281
282 }
283
1 package com.sibu.orderHelper.api.model.bean;
2
3 import java.io.Serializable;
4 import java.util.Date;
5
6 /**
7 * APIProductConnectBean
8 * @version 1.0
9 * @author xiaoheliu
10 */
11 public class APIProductConnectBean implements Serializable{
12 private static final long serialVersionUID = 1L;
13
14 private String productId;
15 private String connectProductId;
16 private Integer connectProductNum;
17 private Date createDate;
18 private Date updateDate;
19 private Integer deleteFlag;
20
21 public String getProductId(){
22 return productId;
23 }
24 public void setProductId(String productId){
25 this.productId = productId;
26 }
27 public String getConnectProductId(){
28 return connectProductId;
29 }
30 public void setConnectProductId(String connectProductId){
31 this.connectProductId = connectProductId;
32 }
33 public Integer getConnectProductNum(){
34 return connectProductNum;
35 }
36 public void setConnectProductNum(Integer connectProductNum){
37 this.connectProductNum = connectProductNum;
38 }
39 public Date getCreateDate(){
40 return createDate;
41 }
42 public void setCreateDate(Date createDate){
43 this.createDate = createDate;
44 }
45 public Date getUpdateDate(){
46 return updateDate;
47 }
48 public void setUpdateDate(Date updateDate){
49 this.updateDate = updateDate;
50 }
51 public Integer getDeleteFlag(){
52 return deleteFlag;
53 }
54 public void setDeleteFlag(Integer deleteFlag){
55 this.deleteFlag = deleteFlag;
56 }
57
58 }
59
1 package com.sibu.orderHelper.api.model.bean;
2
3 import java.io.Serializable;
4 import java.util.Date;
5
6 /**
7 * APIProductHotBean
8 * @version 1.0
9 * @author xiaoheliu
10 */
11 public class APIProductHotBean implements Serializable{
12 private static final long serialVersionUID = 1L;
13
14 private String hotId;
15 private String productId;
16 private String title;
17 private String imageUrl;
18 private Integer sortIndex;
19 private Date startDate;
20 private Date endDate;
21 private String remark;
22 private Date createDate;
23 private Date updateDate;
24 private Integer deleteFlag;
25
26 public String getHotId(){
27 return hotId;
28 }
29 public void setHotId(String hotId){
30 this.hotId = hotId;
31 }
32 public String getProductId(){
33 return productId;
34 }
35 public void setProductId(String productId){
36 this.productId = productId;
37 }
38 public String getTitle(){
39 return title;
40 }
41 public void setTitle(String title){
42 this.title = title;
43 }
44 public String getImageUrl(){
45 return imageUrl;
46 }
47 public void setImageUrl(String imageUrl){
48 this.imageUrl = imageUrl;
49 }
50 public Integer getSortIndex(){
51 return sortIndex;
52 }
53 public void setSortIndex(Integer sortIndex){
54 this.sortIndex = sortIndex;
55 }
56 public Date getStartDate(){
57 return startDate;
58 }
59 public void setStartDate(Date startDate){
60 this.startDate = startDate;
61 }
62 public Date getEndDate(){
63 return endDate;
64 }
65 public void setEndDate(Date endDate){
66 this.endDate = endDate;
67 }
68 public String getRemark(){
69 return remark;
70 }
71 public void setRemark(String remark){
72 this.remark = remark;
73 }
74 public Date getCreateDate(){
75 return createDate;
76 }
77 public void setCreateDate(Date createDate){
78 this.createDate = createDate;
79 }
80 public Date getUpdateDate(){
81 return updateDate;
82 }
83 public void setUpdateDate(Date updateDate){
84 this.updateDate = updateDate;
85 }
86 public Integer getDeleteFlag(){
87 return deleteFlag;
88 }
89 public void setDeleteFlag(Integer deleteFlag){
90 this.deleteFlag = deleteFlag;
91 }
92
93 }
94
1 package com.sibu.orderHelper.api.model.bean;
2
3 import java.io.Serializable;
4 import java.util.Date;
5
6 /**
7 * APIProductMemberPriceBean
8 * @version 1.0
9 * @author xiaoheliu
10 */
11 public class APIProductMemberPriceBean implements Serializable{
12 private static final long serialVersionUID = 1L;
13
14 private String productId;
15 private String memberId;
16 private String price;
17 private Date createDate;
18 private Date updateDate;
19
20 public String getProductId(){
21 return productId;
22 }
23 public void setProductId(String productId){
24 this.productId = productId;
25 }
26 public String getMemberId(){
27 return memberId;
28 }
29 public void setMemberId(String memberId){
30 this.memberId = memberId;
31 }
32 public String getPrice(){
33 return price;
34 }
35 public void setPrice(String price){
36 this.price = price;
37 }
38 public Date getCreateDate(){
39 return createDate;
40 }
41 public void setCreateDate(Date createDate){
42 this.createDate = createDate;
43 }
44 public Date getUpdateDate(){
45 return updateDate;
46 }
47 public void setUpdateDate(Date updateDate){
48 this.updateDate = updateDate;
49 }
50
51 }
52
1 package com.sibu.orderHelper.api.model.bean;
2
3 import java.io.Serializable;
4 import java.util.Date;
5
6 /**
7 * APIProductPriceBean
8 * @version 1.0
9 * @author xiaoheliu
10 */
11 public class APIProductPriceBean implements Serializable{
12 private static final long serialVersionUID = 1L;
13
14 private String productId;
15 private String levelId;
16 private String price;
17 private Date createDate;
18 private Date updateDate;
19
20 public String getProductId(){
21 return productId;
22 }
23 public void setProductId(String productId){
24 this.productId = productId;
25 }
26 public String getLevelId(){
27 return levelId;
28 }
29 public void setLevelId(String levelId){
30 this.levelId = levelId;
31 }
32 public String getPrice(){
33 return price;
34 }
35 public void setPrice(String price){
36 this.price = price;
37 }
38 public Date getCreateDate(){
39 return createDate;
40 }
41 public void setCreateDate(Date createDate){
42 this.createDate = createDate;
43 }
44 public Date getUpdateDate(){
45 return updateDate;
46 }
47 public void setUpdateDate(Date updateDate){
48 this.updateDate = updateDate;
49 }
50
51 }
52
1 package com.sibu.orderHelper.api.model.bean;
2
3 import java.io.Serializable;
4 import java.util.Date;
5
6 /**
7 * APISysLevelBean
8 * @version 1.0
9 * @author xiaoheliu
10 */
11 public class APISysLevelBean implements Serializable{
12 private static final long serialVersionUID = 1L;
13
14 private String levelId;
15 private String levelName;
16 private Integer sortIndex;
17 private Integer needIntegrate;
18
19 public String getLevelId(){
20 return levelId;
21 }
22 public void setLevelId(String levelId){
23 this.levelId = levelId;
24 }
25 public String getLevelName(){
26 return levelName;
27 }
28 public void setLevelName(String levelName){
29 this.levelName = levelName;
30 }
31 public Integer getSortIndex(){
32 return sortIndex;
33 }
34 public void setSortIndex(Integer sortIndex){
35 this.sortIndex = sortIndex;
36 }
37 public Integer getNeedIntegrate(){
38 return needIntegrate;
39 }
40 public void setNeedIntegrate(Integer needIntegrate){
41 this.needIntegrate = needIntegrate;
42 }
43
44 }
45
1 package com.sibu.orderHelper.api.model.bean;
2
3 import java.io.Serializable;
4 import java.util.Date;
5
6 /**
7 * APIVideoBean
8 * @version 1.0
9 * @author xiaoheliu
10 */
11 public class APIVideoBean implements Serializable{
12 private static final long serialVersionUID = 1L;
13
14 private String videoId;
15 private String categoryId;
16 private String title;
17 private String fontColor;
18 private Integer isBold;
19 private Integer isItalic;
20 private Integer isTop;
21 private String info;
22 private String details;
23 private String imageUrl;
24 private Integer isPublish;
25 private String publishuserId;
26 private Date publishDt;
27 private String createMemberId;
28 private Date createDt;
29 private Date updateDt;
30 private Integer deleteFlag;
31
32 public String getVideoId(){
33 return videoId;
34 }
35 public void setVideoId(String videoId){
36 this.videoId = videoId;
37 }
38 public String getCategoryId(){
39 return categoryId;
40 }
41 public void setCategoryId(String categoryId){
42 this.categoryId = categoryId;
43 }
44 public String getTitle(){
45 return title;
46 }
47 public void setTitle(String title){
48 this.title = title;
49 }
50 public String getFontColor(){
51 return fontColor;
52 }
53 public void setFontColor(String fontColor){
54 this.fontColor = fontColor;
55 }
56 public Integer getIsBold(){
57 return isBold;
58 }
59 public void setIsBold(Integer isBold){
60 this.isBold = isBold;
61 }
62 public Integer getIsItalic(){
63 return isItalic;
64 }
65 public void setIsItalic(Integer isItalic){
66 this.isItalic = isItalic;
67 }
68 public Integer getIsTop(){
69 return isTop;
70 }
71 public void setIsTop(Integer isTop){
72 this.isTop = isTop;
73 }
74 public String getInfo(){
75 return info;
76 }
77 public void setInfo(String info){
78 this.info = info;
79 }
80 public String getDetails(){
81 return details;
82 }
83 public void setDetails(String details){
84 this.details = details;
85 }
86 public String getImageUrl(){
87 return imageUrl;
88 }
89 public void setImageUrl(String imageUrl){
90 this.imageUrl = imageUrl;
91 }
92 public Integer getIsPublish(){
93 return isPublish;
94 }
95 public void setIsPublish(Integer isPublish){
96 this.isPublish = isPublish;
97 }
98 public String getPublishuserId(){
99 return publishuserId;
100 }
101 public void setPublishuserId(String publishuserId){
102 this.publishuserId = publishuserId;
103 }
104 public Date getPublishDt(){
105 return publishDt;
106 }
107 public void setPublishDt(Date publishDt){
108 this.publishDt = publishDt;
109 }
110 public String getCreateMemberId(){
111 return createMemberId;
112 }
113 public void setCreateMemberId(String createMemberId){
114 this.createMemberId = createMemberId;
115 }
116 public Date getCreateDt(){
117 return createDt;
118 }
119 public void setCreateDt(Date createDt){
120 this.createDt = createDt;
121 }
122 public Date getUpdateDt(){
123 return updateDt;
124 }
125 public void setUpdateDt(Date updateDt){
126 this.updateDt = updateDt;
127 }
128 public Integer getDeleteFlag(){
129 return deleteFlag;
130 }
131 public void setDeleteFlag(Integer deleteFlag){
132 this.deleteFlag = deleteFlag;
133 }
134
135 }
136
1 package com.sibu.orderHelper.api.model.bean;
2
3 import java.io.Serializable;
4 import java.util.Date;
5
6 /**
7 * ServerConfigBean
8 * @version 1.0
9 * @author xiaoheliu
10 */
11 public class ServerConfigBean implements Serializable{
12 private static final long serialVersionUID = 1L;
13
14 private String databaseId;
15 private Integer databaseType;
16 private Integer modules;
17 private String databaseDriver;
18 private String databaseUrl;
19 private String databaseUsername;
20 private String databasePassword;
21
22 public String getDatabaseId(){
23 return databaseId;
24 }
25 public void setDatabaseId(String databaseId){
26 this.databaseId = databaseId;
27 }
28 public Integer getDatabaseType(){
29 return databaseType;
30 }
31 public void setDatabaseType(Integer databaseType){
32 this.databaseType = databaseType;
33 }
34 public Integer getModules(){
35 return modules;
36 }
37 public void setModules(Integer modules){
38 this.modules = modules;
39 }
40 public String getDatabaseDriver(){
41 return databaseDriver;
42 }
43 public void setDatabaseDriver(String databaseDriver){
44 this.databaseDriver = databaseDriver;
45 }
46 public String getDatabaseUrl(){
47 return databaseUrl;
48 }
49 public void setDatabaseUrl(String databaseUrl){
50 this.databaseUrl = databaseUrl;
51 }
52 public String getDatabaseUsername(){
53 return databaseUsername;
54 }
55 public void setDatabaseUsername(String databaseUsername){
56 this.databaseUsername = databaseUsername;
57 }
58 public String getDatabasePassword(){
59 return databasePassword;
60 }
61 public void setDatabasePassword(String databasePassword){
62 this.databasePassword = databasePassword;
63 }
64
65 }
66
1 package com.sibu.orderHelper.hotel.model.bean;
2
3 import java.io.Serializable;
4
5 /**
6 * AttrNameBean
7 * @version 1.0
8 * @author xiaoheliu
9 */
10 public class AttrNameBean implements Serializable{
11 private static final long serialVersionUID = 1L;
12 private Long attrId;
13 private String categoryId;
14 private String attrName;
15
16 public Long getAttrId(){
17 return attrId;
18 }
19 public void setAttrId(Long attrId){
20 this.attrId = attrId;
21 }
22 public String getCategoryId(){
23 return categoryId;
24 }
25 public void setCategoryId(String categoryId){
26 this.categoryId = categoryId;
27 }
28 public String getAttrName(){
29 return attrName;
30 }
31 public void setAttrName(String attrName){
32 this.attrName = attrName;
33 }
34
35 }
36
1 package com.sibu.orderHelper.hotel.model.bean;
2
3 import java.io.Serializable;
4
5 /**
6 * AttrValueBean
7 * @version 1.0
8 * @author xiaoheliu
9 */
10 public class AttrValueBean implements Serializable{
11 private static final long serialVersionUID = 1L;
12 private Long valueId;
13 private String attrValue;
14 private Long attrId;
15
16 public Long getValueId(){
17 return valueId;
18 }
19 public void setValueId(Long valueId){
20 this.valueId = valueId;
21 }
22 public String getAttrValue(){
23 return attrValue;
24 }
25 public void setAttrValue(String attrValue){
26 this.attrValue = attrValue;
27 }
28 public Long getAttrId(){
29 return attrId;
30 }
31 public void setAttrId(Long attrId){
32 this.attrId = attrId;
33 }
34
35 }
36
1 package com.sibu.orderHelper.hotel.model.bean;
2
3 import java.io.Serializable;
4 import java.util.Date;
5
6 /**
7 * RoomOrderBean
8 *
9 * @version 1.0
10 * @author xiaoheliu
11 */
12 public class RoomOrderBean implements Serializable {
13 private static final long serialVersionUID = 1L;
14 private String orderId;
15 private String memberId;
16 private String memberName;
17 private String memberTelphone;
18 private String orderCode;
19 private Integer orderStatus;
20 private String payMoney;
21 private String orderMoney;
22 private Integer payType;
23 private Integer payIntegral;
24 private Date createDate;
25 private Date payDate;
26 private Date updateDate;
27 private String payName;
28 private String transactionId;
29 private Integer isDelete;
30 private Integer checkinDays;
31 private String renterInfo;
32 private String renterIdcard;
33 private String renterPhone;
34 private String checkInDate;
35 private String checkOutDate;
36 private String roomId;
37 private String roomName;
38 private String hotelId;
39 private String hotalName;
40 private Integer roomNumber;
41 private Integer orderType;
42
43 public String getOrderId() {
44 return orderId;
45 }
46
47 public void setOrderId(String orderId) {
48 this.orderId = orderId;
49 }
50
51 public String getMemberId() {
52 return memberId;
53 }
54
55 public void setMemberId(String memberId) {
56 this.memberId = memberId;
57 }
58
59 public String getMemberName() {
60 return memberName;
61 }
62
63 public void setMemberName(String memberName) {
64 this.memberName = memberName;
65 }
66
67 public String getMemberTelphone() {
68 return memberTelphone;
69 }
70
71 public void setMemberTelphone(String memberTelphone) {
72 this.memberTelphone = memberTelphone;
73 }
74
75 public String getOrderCode() {
76 return orderCode;
77 }
78
79 public void setOrderCode(String orderCode) {
80 this.orderCode = orderCode;
81 }
82
83 public Integer getOrderStatus() {
84 return orderStatus;
85 }
86
87 public void setOrderStatus(Integer orderStatus) {
88 this.orderStatus = orderStatus;
89 }
90
91 public String getPayMoney() {
92 return payMoney;
93 }
94
95 public void setPayMoney(String payMoney) {
96 this.payMoney = payMoney;
97 }
98
99 public String getOrderMoney() {
100 return orderMoney;
101 }
102
103 public void setOrderMoney(String orderMoney) {
104 this.orderMoney = orderMoney;
105 }
106
107 public Integer getPayType() {
108 return payType;
109 }
110
111 public void setPayType(Integer payType) {
112 this.payType = payType;
113 }
114
115 public Integer getPayIntegral() {
116 return payIntegral;
117 }
118
119 public void setPayIntegral(Integer payIntegral) {
120 this.payIntegral = payIntegral;
121 }
122
123 public Date getCreateDate() {
124 return createDate;
125 }
126
127 public void setCreateDate(Date createDate) {
128 this.createDate = createDate;
129 }
130
131 public Date getPayDate() {
132 return payDate;
133 }
134
135 public void setPayDate(Date payDate) {
136 this.payDate = payDate;
137 }
138
139 public Date getUpdateDate() {
140 return updateDate;
141 }
142
143 public void setUpdateDate(Date updateDate) {
144 this.updateDate = updateDate;
145 }
146
147 public String getPayName() {
148 return payName;
149 }
150
151 public void setPayName(String payName) {
152 this.payName = payName;
153 }
154
155 public String getTransactionId() {
156 return transactionId;
157 }
158
159 public void setTransactionId(String transactionId) {
160 this.transactionId = transactionId;
161 }
162
163 public Integer getIsDelete() {
164 return isDelete;
165 }
166
167 public void setIsDelete(Integer isDelete) {
168 this.isDelete = isDelete;
169 }
170
171 public Integer getCheckinDays() {
172 return checkinDays;
173 }
174
175 public void setCheckinDays(Integer checkinDays) {
176 this.checkinDays = checkinDays;
177 }
178
179 public String getRenterInfo() {
180 return renterInfo;
181 }
182
183 public void setRenterInfo(String renterInfo) {
184 this.renterInfo = renterInfo;
185 }
186
187 public String getRenterIdcard() {
188 return renterIdcard;
189 }
190
191 public void setRenterIdcard(String renterIdcard) {
192 this.renterIdcard = renterIdcard;
193 }
194
195 public String getRenterPhone() {
196 return renterPhone;
197 }
198
199 public void setRenterPhone(String renterPhone) {
200 this.renterPhone = renterPhone;
201 }
202
203 public String getCheckInDate() {
204 return checkInDate;
205 }
206
207 public void setCheckInDate(String checkInDate) {
208 this.checkInDate = checkInDate;
209 }
210
211 public String getCheckOutDate() {
212 return checkOutDate;
213 }
214
215 public void setCheckOutDate(String checkOutDate) {
216 this.checkOutDate = checkOutDate;
217 }
218
219 public String getRoomId() {
220 return roomId;
221 }
222
223 public void setRoomId(String roomId) {
224 this.roomId = roomId;
225 }
226
227 public String getRoomName() {
228 return roomName;
229 }
230
231 public void setRoomName(String roomName) {
232 this.roomName = roomName;
233 }
234
235 public String getHotelId() {
236 return hotelId;
237 }
238
239 public void setHotelId(String hotelId) {
240 this.hotelId = hotelId;
241 }
242
243 public String getHotalName() {
244 return hotalName;
245 }
246
247 public void setHotalName(String hotalName) {
248 this.hotalName = hotalName;
249 }
250
251 public Integer getRoomNumber() {
252 return roomNumber;
253 }
254
255 public void setRoomNumber(Integer roomNumber) {
256 this.roomNumber = roomNumber;
257 }
258
259 public Integer getOrderType() {
260 return orderType;
261 }
262
263 public void setOrderType(Integer orderType) {
264 this.orderType = orderType;
265 }
266
267 }
1 package com.sibu.orderHelper.hotel.model.bean;
2
3 import java.io.Serializable;
4
5 /**
6 * RoomOrderDetailBean
7 * @version 1.0
8 * @author xiaoheliu
9 */
10 public class RoomOrderDetailBean implements Serializable{
11 private static final long serialVersionUID = 1L;
12 private String subOrderId;
13 private String roomId;
14 private String orderId;
15 private Integer roomNumber;
16 private String retailPrice;
17 private Integer integral;
18 private String checkinDate;
19
20 public String getSubOrderId(){
21 return subOrderId;
22 }
23 public void setSubOrderId(String subOrderId){
24 this.subOrderId = subOrderId;
25 }
26 public String getRoomId(){
27 return roomId;
28 }
29 public void setRoomId(String roomId){
30 this.roomId = roomId;
31 }
32 public String getOrderId(){
33 return orderId;
34 }
35 public void setOrderId(String orderId){
36 this.orderId = orderId;
37 }
38 public Integer getRoomNumber(){
39 return roomNumber;
40 }
41 public void setRoomNumber(Integer roomNumber){
42 this.roomNumber = roomNumber;
43 }
44 public String getRetailPrice(){
45 return retailPrice;
46 }
47 public void setRetailPrice(String retailPrice){
48 this.retailPrice = retailPrice;
49 }
50 public Integer getIntegral(){
51 return integral;
52 }
53 public void setIntegral(Integer integral){
54 this.integral = integral;
55 }
56 public String getCheckinDate(){
57 return checkinDate;
58 }
59 public void setCheckinDate(String checkinDate){
60 this.checkinDate = checkinDate;
61 }
62
63 }
64
1 package com.sibu.orderHelper.hotel.model.bean;
2
3 import java.io.Serializable;
4 import java.sql.Date;
5
6 /**
7 * SkuBean
8 * @version 1.0
9 * @author xiaoheliu
10 */
11 public class SkuBean implements Serializable{
12 private static final long serialVersionUID = 1L;
13 private String skuId;
14 private String imProductId;
15 private String erpCode;
16 private Integer stockNum;
17 private Integer exchangeIntegral;
18 private String retailPrice;
19 private String marketPrice;
20 private Date createDate;
21 private Date updateDate;
22 private Boolean isShow;
23
24 public String getSkuId(){
25 return skuId;
26 }
27 public void setSkuId(String skuId){
28 this.skuId = skuId;
29 }
30 public String getImProductId(){
31 return imProductId;
32 }
33 public void setImProductId(String imProductId){
34 this.imProductId = imProductId;
35 }
36 public String getErpCode(){
37 return erpCode;
38 }
39 public void setErpCode(String erpCode){
40 this.erpCode = erpCode;
41 }
42 public Integer getStockNum(){
43 return stockNum;
44 }
45 public void setStockNum(Integer stockNum){
46 this.stockNum = stockNum;
47 }
48 public Integer getExchangeIntegral(){
49 return exchangeIntegral;
50 }
51 public void setExchangeIntegral(Integer exchangeIntegral){
52 this.exchangeIntegral = exchangeIntegral;
53 }
54 public String getRetailPrice(){
55 return retailPrice;
56 }
57 public void setRetailPrice(String retailPrice){
58 this.retailPrice = retailPrice;
59 }
60 public String getMarketPrice(){
61 return marketPrice;
62 }
63 public void setMarketPrice(String marketPrice){
64 this.marketPrice = marketPrice;
65 }
66 public Date getCreateDate(){
67 return createDate;
68 }
69 public void setCreateDate(Date createDate){
70 this.createDate = createDate;
71 }
72 public Date getUpdateDate(){
73 return updateDate;
74 }
75 public void setUpdateDate(Date updateDate){
76 this.updateDate = updateDate;
77 }
78 public Boolean getIsShow(){
79 return isShow;
80 }
81 public void setIsShow(Boolean isShow){
82 this.isShow = isShow;
83 }
84
85 }
86
1 package com.sibu.orderHelper.hotel.model.dao;
2
3 import java.util.List;
4 import java.util.Map;
5
6 import org.apache.ibatis.session.RowBounds;
7
8 import com.sibu.orderHelper.hotel.model.bean.AttrNameBean;
9
10 /**
11 * AttrNameMapper
12 * @author xiaoheliu
13 **/
14 public interface AttrNameDao {
15 /**
16 * 设置关联的dao接口缓存,设置后,清除该接口的缓存数据时会同时清除关联的接口的数据缓存。
17 * 提示:如无关联缓存设置,可以删除该字段
18 **/
19 public String[] correlationCache = null;
20 /**
21 * 查询统计
22 * @param brean 对象
23 * @return int 总记录数
24 * @throws Exception
25 */
26 int count(AttrNameBean brean) throws Exception;
27 /**
28 * 获取数据列表
29 * @param params 参数集
30 * @return rowBounds 添加分页条件
31 * @throws Exception
32 */
33 List<AttrNameBean> list(RowBounds rowBounds, Map<String, Object> params);
34 /**
35 * 获取数据列表
36 * @param params 参数集
37 * @throws Exception
38 */
39 List<AttrNameBean> list( Map<String, Object> params);
40 /**
41 * 保存
42 * @param bean bean对象
43 * @return Integer ID
44 * @throws Exception
45 */
46 Integer save(Object bean) throws Exception;
47 /**
48 * 获取对象数据
49 * @param params 参数集
50 * @return List<SysUserBean> 记录集
51 * @throws Exception
52 */
53 AttrNameBean get(String id) throws Exception;
54 /**
55 * 更新
56 * @param params 参数集
57 * @return boolean 是否操作成功
58 * @throws Exception
59 */
60 Integer update(Map<String, Object> params) throws Exception;
61 /**
62 * 删除
63 * @param id 数据id
64 * @return boolean 是否操作成功
65 * @throws Exception
66 */
67 int delete(String id) throws Exception;
68 /**
69 * 批量删除
70 * @param ids 数据ID集合
71 * @return boolean 是否操作成功
72 * @throws Exception
73 */
74 boolean batchDelete(List<?> list) throws Exception;
75 }
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
3 <mapper namespace="com.sibu.orderHelper.hotel.model.dao.AttrNameMapper">
4 <resultMap id="rs_AttrNameBean" type="com.sibu.orderHelper.hotel.model.bean.AttrNameBean">
5 <result property="attrId" column="attr_id" javaType="java.lang.Long" jdbcType="VARCHAR"/>
6 <result property="categoryId" column="category_id" javaType="java.lang.String" jdbcType="VARCHAR"/>
7 <result property="attrName" column="attr_name" javaType="java.lang.String" jdbcType="VARCHAR"/>
8 </resultMap>
9 <select id="count" resultType="java.lang.Integer" >
10 SELECT COUNT(id) FROM attr_name
11 <trim prefix="where" prefixOverrides="and | or">
12 <if test="null != attrId">
13 AND id = #{attrId}
14 </if>
15 </trim>
16 </select>
17 <select id="list" resultMap="rs_AttrNameBean" >
18 SELECT * FROM attr_name where
19 id = #{attrId}
20 ORDER BY create_date desc
21 </select>
22 <select id="get" resultMap="rs_AttrNameBean" parameterType="java.lang.String">
23 SELECT * FROM attr_name
24 where id = #{attrId}
25 </select>
26 <insert id="save" parameterType="com.sibu.orderHelper.hotel.model.bean.AttrNameBean">
27 INSERT INTO attr_name (
28 attr_id,category_id,attr_name
29 ) VALUES (
30 #{attrId},#{categoryId},#{attrName}
31 )
32 <!-- <selectKey resultType="java.lang.String" keyProperty="attrId">
33 <![CDATA[SELECT last_insert_id() AS id ]]>
34 </selectKey> -->
35 </insert>
36 <update id="update" parameterType="java.util.Map">
37 UPDATE attr_name
38 <trim prefix="SET" suffixOverrides=",">
39 <if test="null != categoryId">
40 category_id=#{categoryId},
41 </if>
42 <if test="null != attrName">
43 attr_name=#{attrName},
44 </if>
45
46 </trim>
47 WHERE id = #{attrId}
48 </update>
49 <delete id="delete" parameterType="java.lang.Integer">
50 DELETE FROM attr_name WHERE id = #{attrId}
51 </delete>
52 <delete id="batchDelete" parameterType="java.util.List">
53 DELETE FROM attr_name WHERE id in
54 <foreach collection="list" item="item" open="(" separator="," close=")">
55 #{item}
56 </foreach>
57 </delete>
58 </mapper>
1 package com.sibu.orderHelper.hotel.model.dao;
2
3 import java.util.List;
4 import java.util.Map;
5
6 import org.apache.ibatis.session.RowBounds;
7
8 import com.sibu.orderHelper.hotel.model.bean.AttrValueBean;
9
10 /**
11 * AttrValueMapper
12 * @author xiaoheliu
13 **/
14 public interface AttrValueDao {
15 /**
16 * 设置关联的dao接口缓存,设置后,清除该接口的缓存数据时会同时清除关联的接口的数据缓存。
17 * 提示:如无关联缓存设置,可以删除该字段
18 **/
19 public String[] correlationCache = null;
20 /**
21 * 查询统计
22 * @param brean 对象
23 * @return int 总记录数
24 * @throws Exception
25 */
26 int count(AttrValueBean brean) throws Exception;
27 /**
28 * 获取数据列表
29 * @param params 参数集
30 * @return rowBounds 添加分页条件
31 * @throws Exception
32 */
33 List<AttrValueBean> list(RowBounds rowBounds, Map<String, Object> params);
34 /**
35 * 获取数据列表
36 * @param params 参数集
37 * @throws Exception
38 */
39 List<AttrValueBean> list( Map<String, Object> params);
40 /**
41 * 保存
42 * @param bean bean对象
43 * @return Integer ID
44 * @throws Exception
45 */
46 Integer save(Object bean) throws Exception;
47 /**
48 * 获取对象数据
49 * @param params 参数集
50 * @return List<SysUserBean> 记录集
51 * @throws Exception
52 */
53 AttrValueBean get(String id) throws Exception;
54 /**
55 * 更新
56 * @param params 参数集
57 * @return boolean 是否操作成功
58 * @throws Exception
59 */
60 Integer update(Map<String, Object> params) throws Exception;
61 /**
62 * 删除
63 * @param id 数据id
64 * @return boolean 是否操作成功
65 * @throws Exception
66 */
67 int delete(String id) throws Exception;
68 /**
69 * 批量删除
70 * @param ids 数据ID集合
71 * @return boolean 是否操作成功
72 * @throws Exception
73 */
74 boolean batchDelete(List<?> list) throws Exception;
75 }
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
3 <mapper namespace="com.sibu.orderHelper.hotel.model.dao.AttrValueMapper">
4 <resultMap id="rs_AttrValueBean" type="com.sibu.orderHelper.hotel.model.bean.AttrValueBean">
5 <result property="valueId" column="value_id" javaType="java.lang.Long" jdbcType="VARCHAR"/>
6 <result property="attrValue" column="attr_value" javaType="java.lang.String" jdbcType="VARCHAR"/>
7 <result property="attrId" column="attr_id" javaType="java.lang.Long" jdbcType="VARCHAR"/>
8 </resultMap>
9 <select id="count" resultType="java.lang.Integer" >
10 SELECT COUNT(id) FROM attr_value
11 <trim prefix="where" prefixOverrides="and | or">
12 <if test="null != valueId">
13 AND id = #{valueId}
14 </if>
15 </trim>
16 </select>
17 <select id="list" resultMap="rs_AttrValueBean" >
18 SELECT * FROM attr_value where
19 id = #{valueId}
20 ORDER BY create_date desc
21 </select>
22 <select id="get" resultMap="rs_AttrValueBean" parameterType="java.lang.String">
23 SELECT * FROM attr_value
24 where id = #{valueId}
25 </select>
26 <insert id="save" parameterType="com.sibu.orderHelper.hotel.model.bean.AttrValueBean">
27 INSERT INTO attr_value (
28 value_id,attr_value,attr_id
29 ) VALUES (
30 #{valueId},#{attrValue},#{attrId}
31 )
32 <!-- <selectKey resultType="java.lang.String" keyProperty="valueId">
33 <![CDATA[SELECT last_insert_id() AS id ]]>
34 </selectKey> -->
35 </insert>
36 <update id="update" parameterType="java.util.Map">
37 UPDATE attr_value
38 <trim prefix="SET" suffixOverrides=",">
39 <if test="null != attrValue">
40 attr_value=#{attrValue},
41 </if>
42 <if test="null != attrId">
43 attr_id=#{attrId},
44 </if>
45
46 </trim>
47 WHERE id = #{valueId}
48 </update>
49 <delete id="delete" parameterType="java.lang.Integer">
50 DELETE FROM attr_value WHERE id = #{valueId}
51 </delete>
52 <delete id="batchDelete" parameterType="java.util.List">
53 DELETE FROM attr_value WHERE id in
54 <foreach collection="list" item="item" open="(" separator="," close=")">
55 #{item}
56 </foreach>
57 </delete>
58 </mapper>
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
3 <mapper namespace="com.sibu.orderHelper.hotel.model.dao.HotelImageMapper">
4 <resultMap id="rs_hotelImageBean" type="com.sibu.orderHelper.hotel.model.bean.HotelImageBean">
5 <result property="imageId" column="image_id" javaType="java.lang.String" jdbcType="VARCHAR"/>
6 <result property="imageUrl" column="image_url" javaType="java.lang.String" jdbcType="VARCHAR"/>
7 <result property="hotelId" column="hotel_id" javaType="java.lang.String" jdbcType="VARCHAR"/>
8 </resultMap>
9 <select id="count" resultType="java.lang.Integer" >
10 SELECT COUNT(id) FROM hotel_image
11 <trim prefix="where" prefixOverrides="and | or">
12 <if test="null != imageId">
13 AND id = #{imageId}
14 </if>
15 </trim>
16 </select>
17 <select id="list" resultMap="rs_hotelImageBean" >
18 SELECT * FROM hotel_image where
19 id = #{imageId}
20 ORDER BY create_date desc
21 </select>
22 <select id="get" resultMap="rs_hotelImageBean" parameterType="java.lang.String">
23 SELECT * FROM hotel_image
24 where id = #{imageId}
25 </select>
26 <insert id="save" parameterType="com.sibu.orderHelper.hotel.model.bean.HotelImageBean">
27 INSERT INTO hotel_image (
28 image_id,image_url,hotel_id
29 ) VALUES (
30 #{imageId},#{imageUrl},#{hotelId}
31 )
32 <!-- <selectKey resultType="java.lang.String" keyProperty="imageId">
33 <![CDATA[SELECT last_insert_id() AS id ]]>
34 </selectKey> -->
35 </insert>
36 <update id="update" parameterType="java.util.Map">
37 UPDATE hotel_image
38 <trim prefix="SET" suffixOverrides=",">
39 <if test="null != imageUrl">
40 image_url=#{imageUrl},
41 </if>
42 <if test="null != hotelId">
43 hotel_id=#{hotelId},
44 </if>
45
46 </trim>
47 WHERE id = #{imageId}
48 </update>
49 <delete id="delete" parameterType="java.lang.Integer">
50 DELETE FROM hotel_image WHERE id = #{imageId}
51 </delete>
52 <delete id="batchDelete" parameterType="java.util.List">
53 DELETE FROM hotel_image WHERE id in
54 <foreach collection="list" item="item" open="(" separator="," close=")">
55 #{item}
56 </foreach>
57 </delete>
58 </mapper>
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
3 <mapper namespace="com.sibu.orderHelper.hotel.model.dao.HotelMapper">
4 <resultMap id="rs_hotelBean" type="com.sibu.orderHelper.hotel.model.bean.HotelBean">
5 <result property="hotelId" column="hotel_id" javaType="java.lang.String" jdbcType="VARCHAR"/>
6 <result property="hotelName" column="hotel_name" javaType="java.lang.String" jdbcType="VARCHAR"/>
7 <result property="openTime" column="open_time" javaType="java.util.Date" jdbcType="TIMESTAMP"/>
8 <result property="hotelStar" column="hotel_star" javaType="java.lang.String" jdbcType="VARCHAR"/>
9 <result property="hotelAddress" column="hotel_address" javaType="java.lang.String" jdbcType="VARCHAR"/>
10 <result property="hotelTelphone" column="hotel_telphone" javaType="java.lang.String" jdbcType="VARCHAR"/>
11 <result property="checkInTime" column="check_in_time" javaType="java.lang.String" jdbcType="VARCHAR"/>
12 <result property="checkOutTime" column="check_out_time" javaType="java.lang.String" jdbcType="VARCHAR"/>
13 <result property="intro" column="intro" javaType="java.lang.String" jdbcType="VARCHAR"/>
14 <result property="roomEquipment" column="room_equipment" javaType="java.lang.String" jdbcType="VARCHAR"/>
15 <result property="hotelService" column="hotel_service" javaType="java.lang.String" jdbcType="VARCHAR"/>
16 <result property="thumbUrl" column="thumb_url" javaType="java.lang.String" jdbcType="VARCHAR"/>
17 <result property="sortIndex" column="sort_index" javaType="java.lang.Integer" jdbcType="VARCHAR"/>
18 <result property="shortName" column="short_name" javaType="java.lang.String" jdbcType="VARCHAR"/>
19 <result property="isDelete" column="is_delete" javaType="java.lang.Integer" jdbcType="VARCHAR"/>
20 <result property="createDate" column="create_date" javaType="java.util.Date" jdbcType="TIMESTAMP"/>
21 <result property="isShow" column="is_show" javaType="java.lang.Integer" jdbcType="VARCHAR"/>
22 </resultMap>
23
24
25
26 <select id="count" resultType="java.lang.Integer" >
27 SELECT COUNT(id) FROM hotel
28 <trim prefix="where" prefixOverrides="and | or">
29 <if test="null != hotelId">
30 AND id = #{hotelId}
31 </if>
32 </trim>
33 </select>
34 <select id="list" resultMap="rs_hotelBean" >
35 SELECT * FROM hotel where
36 id = #{hotelId}
37 ORDER BY create_date desc
38 </select>
39 <select id="get" resultMap="rs_hotelBean" parameterType="java.lang.String">
40 SELECT * FROM hotel
41 where id = #{hotelId}
42 </select>
43 <insert id="save" parameterType="com.sibu.orderHelper.hotel.model.bean.HotelBean">
44 INSERT INTO hotel (
45 hotel_id,hotel_name,open_time,hotel_star,hotel_address,hotel_telphone,check_in_time,check_out_time,intro,room_equipment,hotel_service,thumb_url,sort_index,short_name,is_delete,create_date,is_show
46 ) VALUES (
47 #{hotelId},#{hotelName},#{openTime},#{hotelStar},#{hotelAddress},#{hotelTelphone},#{checkInTime},#{checkOutTime},#{intro},#{roomEquipment},#{hotelService},#{thumbUrl},#{sortIndex},#{shortName},#{isDelete},#{createDate},#{isShow}
48 )
49 <!-- <selectKey resultType="java.lang.String" keyProperty="hotelId">
50 <![CDATA[SELECT last_insert_id() AS id ]]>
51 </selectKey> -->
52 </insert>
53 <update id="update" parameterType="java.util.Map">
54 UPDATE hotel
55 <trim prefix="SET" suffixOverrides=",">
56 <if test="null != hotelName">
57 hotel_name=#{hotelName},
58 </if>
59 <if test="null != openTime">
60 open_time=#{openTime},
61 </if>
62 <if test="null != hotelStar">
63 hotel_star=#{hotelStar},
64 </if>
65 <if test="null != hotelAddress">
66 hotel_address=#{hotelAddress},
67 </if>
68 <if test="null != hotelTelphone">
69 hotel_telphone=#{hotelTelphone},
70 </if>
71 <if test="null != checkInTime">
72 check_in_time=#{checkInTime},
73 </if>
74 <if test="null != checkOutTime">
75 check_out_time=#{checkOutTime},
76 </if>
77 <if test="null != intro">
78 intro=#{intro},
79 </if>
80 <if test="null != roomEquipment">
81 room_equipment=#{roomEquipment},
82 </if>
83 <if test="null != hotelService">
84 hotel_service=#{hotelService},
85 </if>
86 <if test="null != thumbUrl">
87 thumb_url=#{thumbUrl},
88 </if>
89 <if test="null != sortIndex">
90 sort_index=#{sortIndex},
91 </if>
92 <if test="null != shortName">
93 short_name=#{shortName},
94 </if>
95 <if test="null != isDelete">
96 is_delete=#{isDelete},
97 </if>
98 <if test="null != createDate">
99 create_date=#{createDate},
100 </if>
101 <if test="null != isShow">
102 is_show=#{isShow},
103 </if>
104
105 </trim>
106 WHERE id = #{hotelId}
107 </update>
108 <delete id="delete" parameterType="java.lang.Integer">
109 DELETE FROM hotel WHERE id = #{hotelId}
110 </delete>
111 <delete id="batchDelete" parameterType="java.util.List">
112 DELETE FROM hotel WHERE id in
113 <foreach collection="list" item="item" open="(" separator="," close=")">
114 #{item}
115 </foreach>
116 </delete>
117 </mapper>
1 package com.sibu.orderHelper.hotel.model.dao;
2
3 import java.util.List;
4 import java.util.Map;
5
6 import org.apache.ibatis.session.RowBounds;
7
8 import com.sibu.orderHelper.hotel.model.bean.RoomOrderBean;
9
10 /**
11 * RoomOrderMapper
12 * @author xiaoheliu
13 **/
14 public interface RoomOrderDao {
15 /**
16 * 设置关联的dao接口缓存,设置后,清除该接口的缓存数据时会同时清除关联的接口的数据缓存。
17 * 提示:如无关联缓存设置,可以删除该字段
18 **/
19 public String[] correlationCache = null;
20 /**
21 * 查询统计
22 * @param brean 对象
23 * @return int 总记录数
24 * @throws Exception
25 */
26 int count(RoomOrderBean brean) throws Exception;
27 /**
28 * 获取数据列表
29 * @param params 参数集
30 * @return rowBounds 添加分页条件
31 * @throws Exception
32 */
33 List<RoomOrderBean> list(RowBounds rowBounds, Map<String, Object> params);
34 /**
35 * 获取数据列表
36 * @param params 参数集
37 * @throws Exception
38 */
39 List<RoomOrderBean> list( Map<String, Object> params);
40 /**
41 * 保存
42 * @param bean bean对象
43 * @return Integer ID
44 * @throws Exception
45 */
46 Integer save(Object bean) throws Exception;
47 /**
48 * 获取对象数据
49 * @param params 参数集
50 * @return List<SysUserBean> 记录集
51 * @throws Exception
52 */
53 RoomOrderBean get(String id) throws Exception;
54 /**
55 * 更新
56 * @param params 参数集
57 * @return boolean 是否操作成功
58 * @throws Exception
59 */
60 Integer update(Map<String, Object> params) throws Exception;
61 /**
62 * 删除
63 * @param id 数据id
64 * @return boolean 是否操作成功
65 * @throws Exception
66 */
67 int delete(String id) throws Exception;
68 /**
69 * 批量删除
70 * @param ids 数据ID集合
71 * @return boolean 是否操作成功
72 * @throws Exception
73 */
74 boolean batchDelete(List<?> list) throws Exception;
75 }
1 package com.sibu.orderHelper.hotel.model.dao;
2
3 import java.util.List;
4 import java.util.Map;
5
6 import org.apache.ibatis.session.RowBounds;
7
8 import com.sibu.orderHelper.hotel.model.bean.RoomOrderDetailBean;
9
10 /**
11 * RoomOrderDetailMapper
12 * @author xiaoheliu
13 **/
14 public interface RoomOrderDetailDao {
15 /**
16 * 设置关联的dao接口缓存,设置后,清除该接口的缓存数据时会同时清除关联的接口的数据缓存。
17 * 提示:如无关联缓存设置,可以删除该字段
18 **/
19 public String[] correlationCache = null;
20 /**
21 * 查询统计
22 * @param brean 对象
23 * @return int 总记录数
24 * @throws Exception
25 */
26 int count(RoomOrderDetailBean brean) throws Exception;
27 /**
28 * 获取数据列表
29 * @param params 参数集
30 * @return rowBounds 添加分页条件
31 * @throws Exception
32 */
33 List<RoomOrderDetailBean> list(RowBounds rowBounds, Map<String, Object> params);
34 /**
35 * 获取数据列表
36 * @param params 参数集
37 * @throws Exception
38 */
39 List<RoomOrderDetailBean> list( Map<String, Object> params);
40 /**
41 * 保存
42 * @param bean bean对象
43 * @return Integer ID
44 * @throws Exception
45 */
46 Integer save(Object bean) throws Exception;
47 /**
48 * 获取对象数据
49 * @param params 参数集
50 * @return List<SysUserBean> 记录集
51 * @throws Exception
52 */
53 RoomOrderDetailBean get(String id) throws Exception;
54 /**
55 * 更新
56 * @param params 参数集
57 * @return boolean 是否操作成功
58 * @throws Exception
59 */
60 Integer update(Map<String, Object> params) throws Exception;
61 /**
62 * 删除
63 * @param id 数据id
64 * @return boolean 是否操作成功
65 * @throws Exception
66 */
67 int delete(String id) throws Exception;
68 /**
69 * 批量删除
70 * @param ids 数据ID集合
71 * @return boolean 是否操作成功
72 * @throws Exception
73 */
74 boolean batchDelete(List<?> list) throws Exception;
75 }
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
3 <mapper namespace="com.sibu.orderHelper.hotel.model.dao.RoomOrderDetailMapper">
4 <resultMap id="rs_roomOrderDetailBean" type="com.sibu.orderHelper.hotel.model.bean.RoomOrderDetailBean">
5 <result property="subOrderId" column="sub_order_id" javaType="java.lang.String" jdbcType="VARCHAR"/>
6 <result property="roomId" column="room_id" javaType="java.lang.String" jdbcType="VARCHAR"/>
7 <result property="orderId" column="order_id" javaType="java.lang.String" jdbcType="VARCHAR"/>
8 <result property="roomNumber" column="room_number" javaType="java.lang.Integer" jdbcType="VARCHAR"/>
9 <result property="retailPrice" column="retail_price" javaType="java.lang.String" jdbcType="VARCHAR"/>
10 <result property="integral" column="integral" javaType="java.lang.Integer" jdbcType="INTEGER"/>
11 <result property="checkinDate" column="checkin_date" javaType="java.lang.String" jdbcType="VARCHAR"/>
12 </resultMap>
13 <select id="count" resultType="java.lang.Integer" >
14 SELECT COUNT(id) FROM room_order_detail
15 <trim prefix="where" prefixOverrides="and | or">
16 <if test="null != subOrderId">
17 AND id = #{subOrderId}
18 </if>
19 </trim>
20 </select>
21 <select id="list" resultMap="rs_roomOrderDetailBean" >
22 SELECT * FROM room_order_detail where
23 id = #{subOrderId}
24 ORDER BY create_date desc
25 </select>
26 <select id="get" resultMap="rs_roomOrderDetailBean" parameterType="java.lang.String">
27 SELECT * FROM room_order_detail
28 where id = #{subOrderId}
29 </select>
30 <insert id="save" parameterType="com.sibu.orderHelper.hotel.model.bean.RoomOrderDetailBean">
31 INSERT INTO room_order_detail (
32 sub_order_id,room_id,order_id,room_number,retail_price,integral,checkin_date
33 ) VALUES (
34 #{subOrderId},#{roomId},#{orderId},#{roomNumber},#{retailPrice},#{integral},#{checkinDate}
35 )
36 <!-- <selectKey resultType="java.lang.String" keyProperty="subOrderId">
37 <![CDATA[SELECT last_insert_id() AS id ]]>
38 </selectKey> -->
39 </insert>
40 <update id="update" parameterType="java.util.Map">
41 UPDATE room_order_detail
42 <trim prefix="SET" suffixOverrides=",">
43 <if test="null != roomId">
44 room_id=#{roomId},
45 </if>
46 <if test="null != orderId">
47 order_id=#{orderId},
48 </if>
49 <if test="null != roomNumber">
50 room_number=#{roomNumber},
51 </if>
52 <if test="null != retailPrice">
53 retail_price=#{retailPrice},
54 </if>
55 <if test="null != integral">
56 integral=#{integral},
57 </if>
58 <if test="null != checkinDate">
59 checkin_date=#{checkinDate},
60 </if>
61
62 </trim>
63 WHERE id = #{subOrderId}
64 </update>
65 <delete id="delete" parameterType="java.lang.Integer">
66 DELETE FROM room_order_detail WHERE id = #{subOrderId}
67 </delete>
68 <delete id="batchDelete" parameterType="java.util.List">
69 DELETE FROM room_order_detail WHERE id in
70 <foreach collection="list" item="item" open="(" separator="," close=")">
71 #{item}
72 </foreach>
73 </delete>
74 </mapper>
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
3 <mapper namespace="com.sibu.orderHelper.hotel.model.dao.RoomOrderMapper">
4 <resultMap id="rs_roomOrderBean" type="com.sibu.orderHelper.hotel.model.bean.RoomOrderBean">
5 <result property="orderId" column="order_id" javaType="java.lang.String" jdbcType="VARCHAR"/>
6 <result property="memberId" column="member_id" javaType="java.lang.String" jdbcType="VARCHAR"/>
7 <result property="memberName" column="member_name" javaType="java.lang.String" jdbcType="VARCHAR"/>
8 <result property="memberTelphone" column="member_telphone" javaType="java.lang.String" jdbcType="VARCHAR"/>
9 <result property="orderCode" column="order_code" javaType="java.lang.String" jdbcType="VARCHAR"/>
10 <result property="orderStatus" column="order_status" javaType="java.lang.Integer" jdbcType="VARCHAR"/>
11 <result property="payMoney" column="pay_money" javaType="java.lang.String" jdbcType="VARCHAR"/>
12 <result property="orderMoney" column="order_money" javaType="java.lang.String" jdbcType="VARCHAR"/>
13 <result property="payType" column="pay_type" javaType="java.lang.Integer" jdbcType="VARCHAR"/>
14 <result property="payIntegral" column="pay_integral" javaType="java.lang.Integer" jdbcType="INTEGER"/>
15 <result property="createDate" column="create_date" javaType="java.util.Date" jdbcType="TIMESTAMP"/>
16 <result property="payDate" column="pay_date" javaType="java.util.Date" jdbcType="TIMESTAMP"/>
17 <result property="updateDate" column="update_date" javaType="java.util.Date" jdbcType="TIMESTAMP"/>
18 <result property="payName" column="pay_name" javaType="java.lang.String" jdbcType="VARCHAR"/>
19 <result property="transactionId" column="transaction_id" javaType="java.lang.String" jdbcType="VARCHAR"/>
20 <result property="isDelete" column="is_delete" javaType="java.lang.Integer" jdbcType="VARCHAR"/>
21 <result property="checkinDays" column="checkin_days" javaType="java.lang.Integer" jdbcType="VARCHAR"/>
22 <result property="renterInfo" column="renter_info" javaType="java.lang.String" jdbcType="VARCHAR"/>
23 <result property="renterIdcard" column="renter_idcard" javaType="java.lang.String" jdbcType="VARCHAR"/>
24 <result property="renterPhone" column="renter_phone" javaType="java.lang.String" jdbcType="VARCHAR"/>
25 <result property="checkInDate" column="check_in_date" javaType="java.lang.String" jdbcType="VARCHAR"/>
26 <result property="checkOutDate" column="check_out_date" javaType="java.lang.String" jdbcType="VARCHAR"/>
27 <result property="roomId" column="room_id" javaType="java.lang.String" jdbcType="VARCHAR"/>
28 <result property="roomName" column="room_name" javaType="java.lang.String" jdbcType="VARCHAR"/>
29 <result property="hotelId" column="hotel_id" javaType="java.lang.String" jdbcType="VARCHAR"/>
30 <result property="hotalName" column="hotal_name" javaType="java.lang.String" jdbcType="VARCHAR"/>
31 <result property="roomNumber" column="room_number" javaType="java.lang.Integer" jdbcType="VARCHAR"/>
32 <result property="orderType" column="order_type" javaType="java.lang.Integer" jdbcType="VARCHAR"/>
33 </resultMap>
34 <select id="count" resultType="java.lang.Integer" >
35 SELECT COUNT(id) FROM room_order
36 <trim prefix="where" prefixOverrides="and | or">
37 <if test="null != orderId">
38 AND id = #{orderId}
39 </if>
40 </trim>
41 </select>
42 <select id="list" resultMap="rs_roomOrderBean" >
43 SELECT * FROM room_order where
44 id = #{orderId}
45 ORDER BY create_date desc
46 </select>
47 <select id="get" resultMap="rs_roomOrderBean" parameterType="java.lang.String">
48 SELECT * FROM room_order
49 where id = #{orderId}
50 </select>
51 <insert id="save" parameterType="com.sibu.orderHelper.hotel.model.bean.RoomOrderBean">
52 INSERT INTO room_order (
53 order_id,member_id,member_name,member_telphone,order_code,order_status,pay_money,order_money,pay_type,pay_integral,create_date,pay_date,update_date,pay_name,transaction_id,is_delete,checkin_days,renter_info,renter_idcard,renter_phone,check_in_date,check_out_date,room_id,room_name,hotel_id,hotal_name,room_number,order_type
54 ) VALUES (
55 #{orderId},#{memberId},#{memberName},#{memberTelphone},#{orderCode},#{orderStatus},#{payMoney},#{orderMoney},#{payType},#{payIntegral},#{createDate},#{payDate},#{updateDate},#{payName},#{transactionId},#{isDelete},#{checkinDays},#{renterInfo},#{renterIdcard},#{renterPhone},#{checkInDate},#{checkOutDate},#{roomId},#{roomName},#{hotelId},#{hotalName},#{roomNumber},#{orderType}
56 )
57 <!-- <selectKey resultType="java.lang.String" keyProperty="orderId">
58 <![CDATA[SELECT last_insert_id() AS id ]]>
59 </selectKey> -->
60 </insert>
61 <update id="update" parameterType="java.util.Map">
62 UPDATE room_order
63 <trim prefix="SET" suffixOverrides=",">
64 <if test="null != memberId">
65 member_id=#{memberId},
66 </if>
67 <if test="null != memberName">
68 member_name=#{memberName},
69 </if>
70 <if test="null != memberTelphone">
71 member_telphone=#{memberTelphone},
72 </if>
73 <if test="null != orderCode">
74 order_code=#{orderCode},
75 </if>
76 <if test="null != orderStatus">
77 order_status=#{orderStatus},
78 </if>
79 <if test="null != payMoney">
80 pay_money=#{payMoney},
81 </if>
82 <if test="null != orderMoney">
83 order_money=#{orderMoney},
84 </if>
85 <if test="null != payType">
86 pay_type=#{payType},
87 </if>
88 <if test="null != payIntegral">
89 pay_integral=#{payIntegral},
90 </if>
91 <if test="null != createDate">
92 create_date=#{createDate},
93 </if>
94 <if test="null != payDate">
95 pay_date=#{payDate},
96 </if>
97 <if test="null != updateDate">
98 update_date=#{updateDate},
99 </if>
100 <if test="null != payName">
101 pay_name=#{payName},
102 </if>
103 <if test="null != transactionId">
104 transaction_id=#{transactionId},
105 </if>
106 <if test="null != isDelete">
107 is_delete=#{isDelete},
108 </if>
109 <if test="null != checkinDays">
110 checkin_days=#{checkinDays},
111 </if>
112 <if test="null != renterInfo">
113 renter_info=#{renterInfo},
114 </if>
115 <if test="null != renterIdcard">
116 renter_idcard=#{renterIdcard},
117 </if>
118 <if test="null != renterPhone">
119 renter_phone=#{renterPhone},
120 </if>
121 <if test="null != checkInDate">
122 check_in_date=#{checkInDate},
123 </if>
124 <if test="null != checkOutDate">
125 check_out_date=#{checkOutDate},
126 </if>
127 <if test="null != roomId">
128 room_id=#{roomId},
129 </if>
130 <if test="null != roomName">
131 room_name=#{roomName},
132 </if>
133 <if test="null != hotelId">
134 hotel_id=#{hotelId},
135 </if>
136 <if test="null != hotalName">
137 hotal_name=#{hotalName},
138 </if>
139 <if test="null != roomNumber">
140 room_number=#{roomNumber},
141 </if>
142 <if test="null != orderType">
143 order_type=#{orderType},
144 </if>
145
146 </trim>
147 WHERE id = #{orderId}
148 </update>
149 <delete id="delete" parameterType="java.lang.Integer">
150 DELETE FROM room_order WHERE id = #{orderId}
151 </delete>
152 <delete id="batchDelete" parameterType="java.util.List">
153 DELETE FROM room_order WHERE id in
154 <foreach collection="list" item="item" open="(" separator="," close=")">
155 #{item}
156 </foreach>
157 </delete>
158 </mapper>
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
3 <mapper namespace="com.sibu.orderHelper.integral.web.dao.IMWebRoomStockDao">
4 <resultMap id="roomStockBeanResponse" type="com.sibu.orderHelper.hotel.model.RoomStockBean">
5 <result property="stockId" column="stock_id" javaType="java.lang.Integer" jdbcType="INTEGER"/>
6 <result property="roomId" column="room_id" javaType="java.lang.String" jdbcType="VARCHAR"/>
7 <result property="price" column="price" javaType="java.lang.String" jdbcType="VARCHAR"/>
8 <result property="number" column="number" javaType="java.lang.Integer" jdbcType="INTEGER"/>
9 <result property="integral" column="integral" javaType="java.lang.Integer" jdbcType="INTEGER"/>
10 <result property="ispayIntegral" column="ispay_integral" javaType="java.lang.Integer" jdbcType="VARCHAR"/>
11 <result property="stockDate" column="stock_date" javaType="java.lang.String" jdbcType="VARCHAR"/>
12 <result property="createTime" column="create_time" javaType="java.util.Date" jdbcType="TIMESTAMP"/>
13 <result property="isOpen" column="is_open" javaType="java.lang.Integer" jdbcType="VARCHAR"/>
14 <result property="hotelId" column="hotel_id" javaType="java.lang.String" jdbcType="VARCHAR"/>
15 </resultMap>
16
17 <select id="list" resultMap="roomStockBeanResponse" >
18 SELECT * FROM room_stock where
19 id = #{stockId}
20 ORDER BY create_date desc
21 </select>
22
23 <insert id="save" parameterType="com.sibu.orderHelper.hotel.model.bean.RoomStockBean">
24 INSERT INTO room_stock (
25 stock_id,room_id,price,number,integral,ispay_integral,stock_date,create_time,is_open,hotel_id
26 ) VALUES (
27 #{stockId},#{roomId},#{price},#{number},#{integral},#{ispayIntegral},#{stockDate},#{createTime},#{isOpen},#{hotelId}
28 )
29 <!-- <selectKey resultType="java.lang.String" keyProperty="stockId">
30 <![CDATA[SELECT last_insert_id() AS id ]]>
31 </selectKey> -->
32 </insert>
33 <update id="update" parameterType="java.util.Map">
34 UPDATE room_stock
35 <trim prefix="SET" suffixOverrides=",">
36 <if test="null != roomId">
37 room_id=#{roomId},
38 </if>
39 <if test="null != price">
40 price=#{price},
41 </if>
42 <if test="null != number">
43 number=#{number},
44 </if>
45 <if test="null != integral">
46 integral=#{integral},
47 </if>
48 <if test="null != ispayIntegral">
49 ispay_integral=#{ispayIntegral},
50 </if>
51 <if test="null != stockDate">
52 stock_date=#{stockDate},
53 </if>
54 <if test="null != createTime">
55 create_time=#{createTime},
56 </if>
57 <if test="null != isOpen">
58 is_open=#{isOpen},
59 </if>
60 <if test="null != hotelId">
61 hotel_id=#{hotelId},
62 </if>
63
64 </trim>
65 WHERE id = #{stockId}
66 </update>
67 <delete id="delete" parameterType="java.lang.Integer">
68 DELETE FROM room_stock WHERE id = #{stockId}
69 </delete>
70 <delete id="batchDelete" parameterType="java.util.List">
71 DELETE FROM room_stock WHERE id in
72 <foreach collection="list" item="item" open="(" separator="," close=")">
73 #{item}
74 </foreach>
75 </delete>
76 </mapper>
1 package com.sibu.orderHelper.hotel.model.dao;
2
3 import java.util.List;
4 import java.util.Map;
5
6 import org.apache.ibatis.session.RowBounds;
7
8 import com.sibu.orderHelper.hotel.model.bean.SkuBean;
9
10 /**
11 * SkuMapper
12 * @author xiaoheliu
13 **/
14 public interface SkuDao {
15 /**
16 * 设置关联的dao接口缓存,设置后,清除该接口的缓存数据时会同时清除关联的接口的数据缓存。
17 * 提示:如无关联缓存设置,可以删除该字段
18 **/
19 public String[] correlationCache = null;
20 /**
21 * 查询统计
22 * @param brean 对象
23 * @return int 总记录数
24 * @throws Exception
25 */
26 int count(SkuBean brean) throws Exception;
27 /**
28 * 获取数据列表
29 * @param params 参数集
30 * @return rowBounds 添加分页条件
31 * @throws Exception
32 */
33 List<SkuBean> list(RowBounds rowBounds, Map<String, Object> params);
34 /**
35 * 获取数据列表
36 * @param params 参数集
37 * @throws Exception
38 */
39 List<SkuBean> list( Map<String, Object> params);
40 /**
41 * 保存
42 * @param bean bean对象
43 * @return Integer ID
44 * @throws Exception
45 */
46 Integer save(Object bean) throws Exception;
47 /**
48 * 获取对象数据
49 * @param params 参数集
50 * @return List<SysUserBean> 记录集
51 * @throws Exception
52 */
53 SkuBean get(String id) throws Exception;
54 /**
55 * 更新
56 * @param params 参数集
57 * @return boolean 是否操作成功
58 * @throws Exception
59 */
60 Integer update(Map<String, Object> params) throws Exception;
61 /**
62 * 删除
63 * @param id 数据id
64 * @return boolean 是否操作成功
65 * @throws Exception
66 */
67 int delete(String id) throws Exception;
68 /**
69 * 批量删除
70 * @param ids 数据ID集合
71 * @return boolean 是否操作成功
72 * @throws Exception
73 */
74 boolean batchDelete(List<?> list) throws Exception;
75 }
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
3 <mapper namespace="com.sibu.orderHelper.hotel.model.dao.SkuMapper">
4 <resultMap id="rs_SkuBean" type="com.sibu.orderHelper.hotel.model.bean.SkuBean">
5 <result property="skuId" column="sku_id" javaType="java.lang.String" jdbcType="VARCHAR"/>
6 <result property="imProductId" column="im_product_id" javaType="java.lang.String" jdbcType="VARCHAR"/>
7 <result property="erpCode" column="erp_code" javaType="java.lang.String" jdbcType="VARCHAR"/>
8 <result property="stockNum" column="stock_num" javaType="java.lang.Integer" jdbcType="INTEGER"/>
9 <result property="exchangeIntegral" column="exchange_integral" javaType="java.lang.Integer" jdbcType="INTEGER"/>
10 <result property="retailPrice" column="retail_price" javaType="java.lang.String" jdbcType="VARCHAR"/>
11 <result property="marketPrice" column="market_price" javaType="java.lang.String" jdbcType="VARCHAR"/>
12 <result property="createDate" column="create_date" javaType="java.util.Date" jdbcType="TIMESTAMP"/>
13 <result property="updateDate" column="update_date" javaType="java.util.Date" jdbcType="TIMESTAMP"/>
14 <result property="isShow" column="is_show" javaType="java.lang.Boolean" jdbcType="VARCHAR"/>
15 </resultMap>
16 <select id="count" resultType="java.lang.Integer" >
17 SELECT COUNT(id) FROM sku
18 <trim prefix="where" prefixOverrides="and | or">
19 <if test="null != skuId">
20 AND id = #{skuId}
21 </if>
22 </trim>
23 </select>
24 <select id="list" resultMap="rs_SkuBean" >
25 SELECT * FROM sku where
26 id = #{skuId}
27 ORDER BY create_date desc
28 </select>
29 <select id="get" resultMap="rs_SkuBean" parameterType="java.lang.String">
30 SELECT * FROM sku
31 where id = #{skuId}
32 </select>
33 <insert id="save" parameterType="com.sibu.orderHelper.hotel.model.bean.SkuBean">
34 INSERT INTO sku (
35 sku_id,im_product_id,erp_code,stock_num,exchange_integral,retail_price,market_price,create_date,update_date,is_show
36 ) VALUES (
37 #{skuId},#{imProductId},#{erpCode},#{stockNum},#{exchangeIntegral},#{retailPrice},#{marketPrice},#{createDate},#{updateDate},#{isShow}
38 )
39 <!-- <selectKey resultType="java.lang.String" keyProperty="skuId">
40 <![CDATA[SELECT last_insert_id() AS id ]]>
41 </selectKey> -->
42 </insert>
43 <update id="update" parameterType="java.util.Map">
44 UPDATE sku
45 <trim prefix="SET" suffixOverrides=",">
46 <if test="null != imProductId">
47 im_product_id=#{imProductId},
48 </if>
49 <if test="null != erpCode">
50 erp_code=#{erpCode},
51 </if>
52 <if test="null != stockNum">
53 stock_num=#{stockNum},
54 </if>
55 <if test="null != exchangeIntegral">
56 exchange_integral=#{exchangeIntegral},
57 </if>
58 <if test="null != retailPrice">
59 retail_price=#{retailPrice},
60 </if>
61 <if test="null != marketPrice">
62 market_price=#{marketPrice},
63 </if>
64 <if test="null != createDate">
65 create_date=#{createDate},
66 </if>
67 <if test="null != updateDate">
68 update_date=#{updateDate},
69 </if>
70 <if test="null != isShow">
71 is_show=#{isShow},
72 </if>
73
74 </trim>
75 WHERE id = #{skuId}
76 </update>
77 <delete id="delete" parameterType="java.lang.Integer">
78 DELETE FROM sku WHERE id = #{skuId}
79 </delete>
80 <delete id="batchDelete" parameterType="java.util.List">
81 DELETE FROM sku WHERE id in
82 <foreach collection="list" item="item" open="(" separator="," close=")">
83 #{item}
84 </foreach>
85 </delete>
86 </mapper>
1 package com.sibu.orderHelper.integral.model.bean;
2
3 import java.io.Serializable;
4 import java.util.Date;
5
6 /**
7 * HotelBean
8 *
9 * @version 1.0
10 * @author xiaoheliu
11 */
12 public class HotelBean implements Serializable {
13 private static final long serialVersionUID = 1L;
14 private String hotelId;
15 private String hotelName;
16 private Date openTime;
17 private String hotelStar;
18 private String hotelAddress;
19 private String hotelTelphone;
20 private String checkInTime;
21 private String checkOutTime;
22 private String intro;
23 private String roomEquipment;
24 private String hotelService;
25 private String thumbUrl;
26
27 public String getHotelId() {
28 return hotelId;
29 }
30
31 public void setHotelId(String hotelId) {
32 this.hotelId = hotelId;
33 }
34
35 public String getHotelName() {
36 return hotelName;
37 }
38
39 public void setHotelName(String hotelName) {
40 this.hotelName = hotelName;
41 }
42
43 public Date getOpenTime() {
44 return openTime;
45 }
46
47 public void setOpenTime(Date openTime) {
48 this.openTime = openTime;
49 }
50
51 public String getHotelStar() {
52 return hotelStar;
53 }
54
55 public void setHotelStar(String hotelStar) {
56 this.hotelStar = hotelStar;
57 }
58
59 public String getHotelAddress() {
60 return hotelAddress;
61 }
62
63 public void setHotelAddress(String hotelAddress) {
64 this.hotelAddress = hotelAddress;
65 }
66
67 public String getHotelTelphone() {
68 return hotelTelphone;
69 }
70
71 public void setHotelTelphone(String hotelTelphone) {
72 this.hotelTelphone = hotelTelphone;
73 }
74
75 public String getCheckInTime() {
76 return checkInTime;
77 }
78
79 public void setCheckInTime(String checkInTime) {
80 this.checkInTime = checkInTime;
81 }
82
83 public String getCheckOutTime() {
84 return checkOutTime;
85 }
86
87 public void setCheckOutTime(String checkOutTime) {
88 this.checkOutTime = checkOutTime;
89 }
90
91 public String getIntro() {
92 return intro;
93 }
94
95 public void setIntro(String intro) {
96 this.intro = intro;
97 }
98
99 public String getRoomEquipment() {
100 return roomEquipment;
101 }
102
103 public void setRoomEquipment(String roomEquipment) {
104 this.roomEquipment = roomEquipment;
105 }
106
107 public String getHotelService() {
108 return hotelService;
109 }
110
111 public void setHotelService(String hotelService) {
112 this.hotelService = hotelService;
113 }
114
115 public String getThumbUrl() {
116 return thumbUrl;
117 }
118
119 public void setThumbUrl(String thumbUrl) {
120 this.thumbUrl = thumbUrl;
121 }
122
123 }
1 package com.sibu.orderHelper.integral.model.bean;
2
3 import java.io.Serializable;
4 import java.util.Date;
5
6 /**
7 * HotelImageBean
8 * @version 1.0
9 * @author xiaoheliu
10 */
11 public class HotelImageBean implements Serializable{
12 private static final long serialVersionUID = 1L;
13 private String imageId;
14 private String imageUrl;
15 private String hotelId;
16
17 public String getImageId(){
18 return imageId;
19 }
20 public void setImageId(String imageId){
21 this.imageId = imageId;
22 }
23 public String getImageUrl(){
24 return imageUrl;
25 }
26 public void setImageUrl(String imageUrl){
27 this.imageUrl = imageUrl;
28 }
29 public String getHotelId(){
30 return hotelId;
31 }
32 public void setHotelId(String hotelId){
33 this.hotelId = hotelId;
34 }
35
36 }
37
1 package com.sibu.orderHelper.integral.model.bean;
2
3 import java.io.Serializable;
4 import java.util.Date;
5
6 /**
7 * IMAdvertBean
8 * @version 1.0
9 * @author xiaoheliu
10 */
11 public class IMAdvertBean implements Serializable{
12 private static final long serialVersionUID = 1L;
13 private String imAdvertId;
14 private Integer typeId;
15 private String imProductId;
16 private String name;
17 private String imageUrl;
18 private Integer isShow;
19 private Integer sortIndex;
20 private String createMemberId;
21 private Date createDt;
22 private Date updateDt;
23 private Integer deleteFlag;
24
25 public String getImAdvertId(){
26 return imAdvertId;
27 }
28 public void setImAdvertId(String imAdvertId){
29 this.imAdvertId = imAdvertId;
30 }
31 public Integer getTypeId(){
32 return typeId;
33 }
34 public void setTypeId(Integer typeId){
35 this.typeId = typeId;
36 }
37 public String getImProductId(){
38 return imProductId;
39 }
40 public void setImProductId(String imProductId){
41 this.imProductId = imProductId;
42 }
43 public String getName(){
44 return name;
45 }
46 public void setName(String name){
47 this.name = name;
48 }
49 public String getImageUrl(){
50 return imageUrl;
51 }
52 public void setImageUrl(String imageUrl){
53 this.imageUrl = imageUrl;
54 }
55 public Integer getIsShow(){
56 return isShow;
57 }
58 public void setIsShow(Integer isShow){
59 this.isShow = isShow;
60 }
61 public Integer getSortIndex(){
62 return sortIndex;
63 }
64 public void setSortIndex(Integer sortIndex){
65 this.sortIndex = sortIndex;
66 }
67 public String getCreateMemberId(){
68 return createMemberId;
69 }
70 public void setCreateMemberId(String createMemberId){
71 this.createMemberId = createMemberId;
72 }
73 public Date getCreateDt(){
74 return createDt;
75 }
76 public void setCreateDt(Date createDt){
77 this.createDt = createDt;
78 }
79 public Date getUpdateDt(){
80 return updateDt;
81 }
82 public void setUpdateDt(Date updateDt){
83 this.updateDt = updateDt;
84 }
85 public Integer getDeleteFlag(){
86 return deleteFlag;
87 }
88 public void setDeleteFlag(Integer deleteFlag){
89 this.deleteFlag = deleteFlag;
90 }
91
92 }
93
1 package com.sibu.orderHelper.integral.model.bean;
2
3 import java.io.Serializable;
4 import java.util.Date;
5
6 /**
7 * IMCategoryBean
8 * @version 1.0
9 * @author xiaoheliu
10 */
11 public class IMCategoryBean implements Serializable{
12 private static final long serialVersionUID = 1L;
13
14 private String imCategoryId;
15 private Integer typeId;
16 private String name;
17 private String imageUrl;
18 private Integer sortIndex;
19 private String remark;
20 private String createMemberId;
21 private Date createDt;
22 private Date updateDt;
23 private Integer deleteFlag;
24
25 public String getImCategoryId(){
26 return imCategoryId;
27 }
28 public void setImCategoryId(String imCategoryId){
29 this.imCategoryId = imCategoryId;
30 }
31 public Integer getTypeId(){
32 return typeId;
33 }
34 public void setTypeId(Integer typeId){
35 this.typeId = typeId;
36 }
37 public String getName(){
38 return name;
39 }
40 public void setName(String name){
41 this.name = name;
42 }
43 public String getImageUrl(){
44 return imageUrl;
45 }
46 public void setImageUrl(String imageUrl){
47 this.imageUrl = imageUrl;
48 }
49 public Integer getSortIndex(){
50 return sortIndex;
51 }
52 public void setSortIndex(Integer sortIndex){
53 this.sortIndex = sortIndex;
54 }
55 public String getRemark(){
56 return remark;
57 }
58 public void setRemark(String remark){
59 this.remark = remark;
60 }
61 public String getCreateMemberId(){
62 return createMemberId;
63 }
64 public void setCreateMemberId(String createMemberId){
65 this.createMemberId = createMemberId;
66 }
67 public Date getCreateDt(){
68 return createDt;
69 }
70 public void setCreateDt(Date createDt){
71 this.createDt = createDt;
72 }
73 public Date getUpdateDt(){
74 return updateDt;
75 }
76 public void setUpdateDt(Date updateDt){
77 this.updateDt = updateDt;
78 }
79 public Integer getDeleteFlag(){
80 return deleteFlag;
81 }
82 public void setDeleteFlag(Integer deleteFlag){
83 this.deleteFlag = deleteFlag;
84 }
85
86 }
87
1 package com.sibu.orderHelper.integral.model.bean;
2
3 import java.io.Serializable;
4 /**
5 * IMDoingOrder1Bean
6 * @version 1.0
7 * @author xiaoheliu
8 */
9 public class IMDoingOrder1Bean implements Serializable{
10 private static final long serialVersionUID = 1L;
11
12 private String order1Id;
13 private String orderId;
14 private Integer sortIndex;
15 private String productId;
16 private Integer purchaseQuantity;
17 private Integer shippedQuantity;
18 private String integral;
19 private String lineIntegral;
20
21 public String getOrder1Id(){
22 return order1Id;
23 }
24 public void setOrder1Id(String order1Id){
25 this.order1Id = order1Id;
26 }
27 public String getOrderId(){
28 return orderId;
29 }
30 public void setOrderId(String orderId){
31 this.orderId = orderId;
32 }
33 public Integer getSortIndex(){
34 return sortIndex;
35 }
36 public void setSortIndex(Integer sortIndex){
37 this.sortIndex = sortIndex;
38 }
39 public String getProductId(){
40 return productId;
41 }
42 public void setProductId(String productId){
43 this.productId = productId;
44 }
45 public Integer getPurchaseQuantity(){
46 return purchaseQuantity;
47 }
48 public void setPurchaseQuantity(Integer purchaseQuantity){
49 this.purchaseQuantity = purchaseQuantity;
50 }
51 public Integer getShippedQuantity(){
52 return shippedQuantity;
53 }
54 public void setShippedQuantity(Integer shippedQuantity){
55 this.shippedQuantity = shippedQuantity;
56 }
57 public String getIntegral(){
58 return integral;
59 }
60 public void setIntegral(String integral){
61 this.integral = integral;
62 }
63 public String getLineIntegral(){
64 return lineIntegral;
65 }
66 public void setLineIntegral(String lineIntegral){
67 this.lineIntegral = lineIntegral;
68 }
69
70 }
71
1 package com.sibu.orderHelper.integral.model.bean;
2
3 import java.io.Serializable;
4 import java.util.Date;
5
6 /**
7 * IMDoingOrderBean
8 * @version 1.0
9 * @author xiaoheliu
10 */
11 public class IMDoingOrderBean implements Serializable{
12 private static final long serialVersionUID = 1L;
13
14 private String orderId;
15 private String memberId;
16 private String orderCode;
17 private Integer orderStatus;
18 private Integer orderFrom;
19 private Integer orderPlatform;
20 private String contact;
21 private String phone;
22 private String province;
23 private String city;
24 private String area;
25 private String address;
26 private String zipcode;
27 private String totalIntegral;
28 private String freight;
29 private String buyerRemark;
30 private String sellerRemark;
31 private Date payDt;
32 private Date shipDt;
33 private String expressName;
34 private String expressCode;
35 private String expressCode2;
36 private Date receiveDt;
37 private String receiveRemark;
38 private Integer erpDownload;
39 private Date erpDownloadDt;
40 private Integer erpImport;
41 private Date erpImportDt;
42 private Date createDt;
43 private Integer deleteFlag;
44 private String erpOrderCode;
45 private String transactionId;//流水号
46 private Integer payType;//支付方式
47
48 public String getOrderId(){
49 return orderId;
50 }
51 public void setOrderId(String orderId){
52 this.orderId = orderId;
53 }
54 public String getMemberId(){
55 return memberId;
56 }
57 public void setMemberId(String memberId){
58 this.memberId = memberId;
59 }
60 public String getOrderCode(){
61 return orderCode;
62 }
63 public void setOrderCode(String orderCode){
64 this.orderCode = orderCode;
65 }
66 public Integer getOrderStatus(){
67 return orderStatus;
68 }
69 public void setOrderStatus(Integer orderStatus){
70 this.orderStatus = orderStatus;
71 }
72 public Integer getOrderFrom(){
73 return orderFrom;
74 }
75 public void setOrderFrom(Integer orderFrom){
76 this.orderFrom = orderFrom;
77 }
78 public Integer getOrderPlatform(){
79 return orderPlatform;
80 }
81 public void setOrderPlatform(Integer orderPlatform){
82 this.orderPlatform = orderPlatform;
83 }
84 public String getContact(){
85 return contact;
86 }
87 public void setContact(String contact){
88 this.contact = contact;
89 }
90 public String getPhone(){
91 return phone;
92 }
93 public void setPhone(String phone){
94 this.phone = phone;
95 }
96 public String getProvince(){
97 return province;
98 }
99 public void setProvince(String province){
100 this.province = province;
101 }
102 public String getCity(){
103 return city;
104 }
105 public void setCity(String city){
106 this.city = city;
107 }
108 public String getArea(){
109 return area;
110 }
111 public void setArea(String area){
112 this.area = area;
113 }
114 public String getAddress(){
115 return address;
116 }
117 public void setAddress(String address){
118 this.address = address;
119 }
120 public String getZipcode(){
121 return zipcode;
122 }
123 public void setZipcode(String zipcode){
124 this.zipcode = zipcode;
125 }
126 public String getTotalIntegral(){
127 return totalIntegral;
128 }
129 public void setTotalIntegral(String totalIntegral){
130 this.totalIntegral = totalIntegral;
131 }
132 public String getFreight(){
133 return freight;
134 }
135 public void setFreight(String freight){
136 this.freight = freight;
137 }
138 public String getBuyerRemark(){
139 return buyerRemark;
140 }
141 public void setBuyerRemark(String buyerRemark){
142 this.buyerRemark = buyerRemark;
143 }
144 public String getSellerRemark(){
145 return sellerRemark;
146 }
147 public void setSellerRemark(String sellerRemark){
148 this.sellerRemark = sellerRemark;
149 }
150 public Date getPayDt(){
151 return payDt;
152 }
153 public void setPayDt(Date payDt){
154 this.payDt = payDt;
155 }
156 public Date getShipDt(){
157 return shipDt;
158 }
159 public void setShipDt(Date shipDt){
160 this.shipDt = shipDt;
161 }
162 public String getExpressName(){
163 return expressName;
164 }
165 public void setExpressName(String expressName){
166 this.expressName = expressName;
167 }
168 public String getExpressCode(){
169 return expressCode;
170 }
171 public void setExpressCode(String expressCode){
172 this.expressCode = expressCode;
173 }
174 public String getExpressCode2(){
175 return expressCode2;
176 }
177 public void setExpressCode2(String expressCode2){
178 this.expressCode2 = expressCode2;
179 }
180 public Date getReceiveDt(){
181 return receiveDt;
182 }
183 public void setReceiveDt(Date receiveDt){
184 this.receiveDt = receiveDt;
185 }
186 public String getReceiveRemark(){
187 return receiveRemark;
188 }
189 public void setReceiveRemark(String receiveRemark){
190 this.receiveRemark = receiveRemark;
191 }
192 public Integer getErpDownload(){
193 return erpDownload;
194 }
195 public void setErpDownload(Integer erpDownload){
196 this.erpDownload = erpDownload;
197 }
198 public Date getErpDownloadDt(){
199 return erpDownloadDt;
200 }
201 public void setErpDownloadDt(Date erpDownloadDt){
202 this.erpDownloadDt = erpDownloadDt;
203 }
204 public Integer getErpImport(){
205 return erpImport;
206 }
207 public void setErpImport(Integer erpImport){
208 this.erpImport = erpImport;
209 }
210 public Date getErpImportDt(){
211 return erpImportDt;
212 }
213 public void setErpImportDt(Date erpImportDt){
214 this.erpImportDt = erpImportDt;
215 }
216 public Date getCreateDt(){
217 return createDt;
218 }
219 public void setCreateDt(Date createDt){
220 this.createDt = createDt;
221 }
222 public Integer getDeleteFlag(){
223 return deleteFlag;
224 }
225 public void setDeleteFlag(Integer deleteFlag){
226 this.deleteFlag = deleteFlag;
227 }
228 public String getErpOrderCode(){
229 return erpOrderCode;
230 }
231 public void setErpOrderCode(String erpOrderCode){
232 this.erpOrderCode = erpOrderCode;
233 }
234
235
236 }
237
1 package com.sibu.orderHelper.integral.model.bean;
2
3 import java.io.Serializable;
4 import java.util.Date;
5
6 /**
7 * IMProductBean
8 * @version 1.0
9 * @author xiaoheliu
10 */
11 public class IMProductBean implements Serializable{
12 private static final long serialVersionUID = 1L;
13
14 private String imProductId;
15 private String imCategoryId;
16 private String name;
17 private String shortName;
18 private String details;
19 private Integer stockNum;
20 private Integer exchangeIntegral;
21 private Integer xwsExchangeIntegral;
22 private Integer sibukgExchangeIntegral;
23 private Integer onther1ExchangeIntegral;
24 private Integer onther2ExchangeIntegral;
25 private Integer onther3ExchangeIntegral;
26 private String freight;
27 private Integer sortIndex;
28 private String thumbImg;
29 private String bannelImg1;
30 private String bannelImg2;
31 private String bannelImg3;
32 private String bannelImg4;
33 private String bannelImg5;
34 private Integer isNew;
35 private Integer isHot;
36 private Integer isReco;
37 private Integer limitExchangeNumber;
38 private Boolean isProm;
39 private Integer promExchangeIntegral;
40 private Integer cost;
41 private Integer attention;
42 private Integer totalCommentScore;
43 private Integer totalCommentNumber;
44 private Date createDate;
45 private Date updateDate;
46 private Integer deleteFlag;
47
48 public String getImProductId(){
49 return imProductId;
50 }
51 public void setImProductId(String imProductId){
52 this.imProductId = imProductId;
53 }
54 public String getImCategoryId(){
55 return imCategoryId;
56 }
57 public void setImCategoryId(String imCategoryId){
58 this.imCategoryId = imCategoryId;
59 }
60 public String getName(){
61 return name;
62 }
63 public void setName(String name){
64 this.name = name;
65 }
66 public String getShortName(){
67 return shortName;
68 }
69 public void setShortName(String shortName){
70 this.shortName = shortName;
71 }
72 public String getDetails(){
73 return details;
74 }
75 public void setDetails(String details){
76 this.details = details;
77 }
78 public Integer getStockNum(){
79 return stockNum;
80 }
81 public void setStockNum(Integer stockNum){
82 this.stockNum = stockNum;
83 }
84 public Integer getExchangeIntegral(){
85 return exchangeIntegral;
86 }
87 public void setExchangeIntegral(Integer exchangeIntegral){
88 this.exchangeIntegral = exchangeIntegral;
89 }
90 public Integer getXwsExchangeIntegral(){
91 return xwsExchangeIntegral;
92 }
93 public void setXwsExchangeIntegral(Integer xwsExchangeIntegral){
94 this.xwsExchangeIntegral = xwsExchangeIntegral;
95 }
96 public Integer getSibukgExchangeIntegral(){
97 return sibukgExchangeIntegral;
98 }
99 public void setSibukgExchangeIntegral(Integer sibukgExchangeIntegral){
100 this.sibukgExchangeIntegral = sibukgExchangeIntegral;
101 }
102 public Integer getOnther1ExchangeIntegral(){
103 return onther1ExchangeIntegral;
104 }
105 public void setOnther1ExchangeIntegral(Integer onther1ExchangeIntegral){
106 this.onther1ExchangeIntegral = onther1ExchangeIntegral;
107 }
108 public Integer getOnther2ExchangeIntegral(){
109 return onther2ExchangeIntegral;
110 }
111 public void setOnther2ExchangeIntegral(Integer onther2ExchangeIntegral){
112 this.onther2ExchangeIntegral = onther2ExchangeIntegral;
113 }
114 public Integer getOnther3ExchangeIntegral(){
115 return onther3ExchangeIntegral;
116 }
117 public void setOnther3ExchangeIntegral(Integer onther3ExchangeIntegral){
118 this.onther3ExchangeIntegral = onther3ExchangeIntegral;
119 }
120 public String getFreight(){
121 return freight;
122 }
123 public void setFreight(String freight){
124 this.freight = freight;
125 }
126 public Integer getSortIndex(){
127 return sortIndex;
128 }
129 public void setSortIndex(Integer sortIndex){
130 this.sortIndex = sortIndex;
131 }
132 public String getThumbImg(){
133 return thumbImg;
134 }
135 public void setThumbImg(String thumbImg){
136 this.thumbImg = thumbImg;
137 }
138 public String getBannelImg1(){
139 return bannelImg1;
140 }
141 public void setBannelImg1(String bannelImg1){
142 this.bannelImg1 = bannelImg1;
143 }
144 public String getBannelImg2(){
145 return bannelImg2;
146 }
147 public void setBannelImg2(String bannelImg2){
148 this.bannelImg2 = bannelImg2;
149 }
150 public String getBannelImg3(){
151 return bannelImg3;
152 }
153 public void setBannelImg3(String bannelImg3){
154 this.bannelImg3 = bannelImg3;
155 }
156 public String getBannelImg4(){
157 return bannelImg4;
158 }
159 public void setBannelImg4(String bannelImg4){
160 this.bannelImg4 = bannelImg4;
161 }
162 public String getBannelImg5(){
163 return bannelImg5;
164 }
165 public void setBannelImg5(String bannelImg5){
166 this.bannelImg5 = bannelImg5;
167 }
168 public Integer getIsNew(){
169 return isNew;
170 }
171 public void setIsNew(Integer isNew){
172 this.isNew = isNew;
173 }
174 public Integer getIsHot(){
175 return isHot;
176 }
177 public void setIsHot(Integer isHot){
178 this.isHot = isHot;
179 }
180 public Integer getIsReco(){
181 return isReco;
182 }
183 public void setIsReco(Integer isReco){
184 this.isReco = isReco;
185 }
186 public Integer getLimitExchangeNumber(){
187 return limitExchangeNumber;
188 }
189 public void setLimitExchangeNumber(Integer limitExchangeNumber){
190 this.limitExchangeNumber = limitExchangeNumber;
191 }
192 public Boolean getIsProm(){
193 return isProm;
194 }
195 public void setIsProm(Boolean isProm){
196 this.isProm = isProm;
197 }
198 public Integer getPromExchangeIntegral(){
199 return promExchangeIntegral;
200 }
201 public void setPromExchangeIntegral(Integer promExchangeIntegral){
202 this.promExchangeIntegral = promExchangeIntegral;
203 }
204 public Integer getCost(){
205 return cost;
206 }
207 public void setCost(Integer cost){
208 this.cost = cost;
209 }
210 public Integer getAttention(){
211 return attention;
212 }
213 public void setAttention(Integer attention){
214 this.attention = attention;
215 }
216 public Integer getTotalCommentScore(){
217 return totalCommentScore;
218 }
219 public void setTotalCommentScore(Integer totalCommentScore){
220 this.totalCommentScore = totalCommentScore;
221 }
222 public Integer getTotalCommentNumber(){
223 return totalCommentNumber;
224 }
225 public void setTotalCommentNumber(Integer totalCommentNumber){
226 this.totalCommentNumber = totalCommentNumber;
227 }
228 public Date getCreateDate(){
229 return createDate;
230 }
231 public void setCreateDate(Date createDate){
232 this.createDate = createDate;
233 }
234 public Date getUpdateDate(){
235 return updateDate;
236 }
237 public void setUpdateDate(Date updateDate){
238 this.updateDate = updateDate;
239 }
240 public Integer getDeleteFlag(){
241 return deleteFlag;
242 }
243 public void setDeleteFlag(Integer deleteFlag){
244 this.deleteFlag = deleteFlag;
245 }
246
247 }
248
1 package com.sibu.orderHelper.integral.model.bean;
2
3 import java.io.Serializable;
4 import java.util.Date;
5
6 /**
7 * IMProductCommentBean
8 * @version 1.0
9 * @author xiaoheliu
10 */
11 public class IMProductCommentBean implements Serializable{
12 private static final long serialVersionUID = 1L;
13 private String imCommentId;
14 private String imProductId;
15 private String commentMemberId;
16 private String orderId;
17 private String content;
18 private Integer status;
19 private Integer grade;
20 private Date createDate;
21 private Date updateDate;
22 private Boolean deleteFlag;
23
24 public String getImCommentId(){
25 return imCommentId;
26 }
27 public void setImCommentId(String imCommentId){
28 this.imCommentId = imCommentId;
29 }
30 public String getImProductId(){
31 return imProductId;
32 }
33 public void setImProductId(String imProductId){
34 this.imProductId = imProductId;
35 }
36 public String getCommentMemberId(){
37 return commentMemberId;
38 }
39 public void setCommentMemberId(String commentMemberId){
40 this.commentMemberId = commentMemberId;
41 }
42 public String getOrderId(){
43 return orderId;
44 }
45 public void setOrderId(String orderId){
46 this.orderId = orderId;
47 }
48 public String getContent(){
49 return content;
50 }
51 public void setContent(String content){
52 this.content = content;
53 }
54 public Integer getStatus(){
55 return status;
56 }
57 public void setStatus(Integer status){
58 this.status = status;
59 }
60 public Integer getGrade(){
61 return grade;
62 }
63 public void setGrade(Integer grade){
64 this.grade = grade;
65 }
66 public Date getCreateDate(){
67 return createDate;
68 }
69 public void setCreateDate(Date createDate){
70 this.createDate = createDate;
71 }
72 public Date getUpdateDate(){
73 return updateDate;
74 }
75 public void setUpdateDate(Date updateDate){
76 this.updateDate = updateDate;
77 }
78 public Boolean getDeleteFlag(){
79 return deleteFlag;
80 }
81 public void setDeleteFlag(Boolean deleteFlag){
82 this.deleteFlag = deleteFlag;
83 }
84
85 }
86
1 package com.sibu.orderHelper.integral.model.bean;
2
3 import java.io.Serializable;
4 import java.util.Date;
5
6 /**
7 * IMProductEntryBean
8 *
9 * @version 1.0
10 * @author xiaoheliu
11 */
12 public class IMProductEntryBean implements Serializable {
13 private static final long serialVersionUID = 1L;
14 private String entryId;
15 private String entryUsername;
16 private String entryPhone;
17 private String entryWechat;
18 private String entryProductId;
19 private Integer entryProductStock;
20 private Date createDt;
21
22 public String getEntryId() {
23 return entryId;
24 }
25
26 public void setEntryId(String entryId) {
27 this.entryId = entryId;
28 }
29
30 public String getEntryUsername() {
31 return entryUsername;
32 }
33
34 public void setEntryUsername(String entryUsername) {
35 this.entryUsername = entryUsername;
36 }
37
38 public String getEntryPhone() {
39 return entryPhone;
40 }
41
42 public void setEntryPhone(String entryPhone) {
43 this.entryPhone = entryPhone;
44 }
45
46 public String getEntryWechat() {
47 return entryWechat;
48 }
49
50 public void setEntryWechat(String entryWechat) {
51 this.entryWechat = entryWechat;
52 }
53
54 public String getEntryProductId() {
55 return entryProductId;
56 }
57
58 public void setEntryProductId(String entryProductId) {
59 this.entryProductId = entryProductId;
60 }
61
62 public Integer getEntryProductStock() {
63 return entryProductStock;
64 }
65
66 public void setEntryProductStock(Integer entryProductStock) {
67 this.entryProductStock = entryProductStock;
68 }
69
70 public Date getCreateDt() {
71 return createDt;
72 }
73
74 public void setCreateDt(Date createDt) {
75 this.createDt = createDt;
76 }
77
78 }
此文件的差异太大,无法显示。