a234a46b 陈志杭(后端)

初始化项目

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

要显示的修改太多。

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

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