Commit e51c0c53b37489a8b81072382aa8d21b084ed871

Authored by wangyanxiong
2 parents 709fc605 ac875af4

Merge branch 'develop' of http://172.16.29.40:8010/wms/wms2 into develop

.idea/compiler.xml
... ... @@ -6,8 +6,8 @@
6 6 <sourceOutputDir name="target/generated-sources/annotations" />
7 7 <sourceTestOutputDir name="target/generated-test-sources/test-annotations" />
8 8 <outputRelativeToContentRoot value="true" />
9   - <module name="huaheng" />
10 9 <module name="wms2" />
  10 + <module name="huaheng" />
11 11 </profile>
12 12 </annotationProcessing>
13 13 </component>
... ...
.idea/encodings.xml
... ... @@ -2,6 +2,7 @@
2 2 <project version="4">
3 3 <component name="Encoding" native2AsciiForPropertiesFiles="true" defaultCharsetForPropertiesFiles="UTF-8">
4 4 <file url="file://$PROJECT_DIR$" charset="UTF-8" />
  5 + <file url="file://$PROJECT_DIR$/src/main/java" charset="UTF-8" />
5 6 <file url="PROJECT" charset="UTF-8" />
6 7 </component>
7 8 </project>
8 9 \ No newline at end of file
... ...
.idea/workspace.xml
... ... @@ -160,11 +160,6 @@
160 160 <select />
161 161 </treeState>
162 162 </component>
163   - <component name="ProjectFrameBounds" extendedState="6">
164   - <option name="x" value="470" />
165   - <option name="width" value="980" />
166   - <option name="height" value="1030" />
167   - </component>
168 163 <component name="ProjectId" id="1QOzUtfkdeRmYuw3MIDHXXMLsFH" />
169 164 <component name="ProjectLevelVcsManager">
170 165 <OptionsSetting value="false" id="Update" />
... ...
src/main/resources/application-prd.yml 0 → 100644
  1 +# 数据源配置
  2 +spring:
  3 + datasource:
  4 + type: com.alibaba.druid.pool.DruidDataSource
  5 + driverClassName: com.mysql.cj.jdbc.Driver
  6 + druid:
  7 + # 主库
  8 + master:
  9 + url: jdbc:mysql://localhost:3306/xinyi_wms?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&serverTimezone=GMT%2b8&allowPublicKeyRetrieval=true
  10 + username: root
  11 + password: 123456
  12 + # 从库
  13 + slave:
  14 + # 从库不启用
  15 + enabled: false
  16 + url:
  17 + username:
  18 + password:
  19 + # 初始连接数
  20 + initialSize: 5
  21 + # 最小连接池数量
  22 + minIdle: 10
  23 + # 最大连接池数量
  24 + maxActive: 20
  25 + # 配置获取连接等待超时的时间
  26 + maxWait: 5000
  27 + # \配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒
  28 + timeBetweenEvictionRunsMillis: 60000
  29 + # 配置一个连接在池中最小生存的时间,单位是毫秒
  30 + minEvictableIdleTimeMillis: 30000
  31 + #配置一个连接在池中最大生存的时间,单位是毫秒
  32 + maxEvictableIdleTimeMillis: 300000
  33 + # 配置检测连接是否有效
  34 + validationQuery: SELECT 1 FROM DUAL
  35 + testWhileIdle: true
  36 + testOnBorrow: false
  37 + testOnReturn: false
  38 + webStatFilter:
  39 + enabled: true
  40 + statViewServlet:
  41 + enabled: true
  42 + # 设置白名单,不填则允许所有访问
  43 + allow:
  44 + url-pattern: /druid/*
  45 + # 控制台管理用户名和密码
  46 + login-username:
  47 + login-password:
  48 + filter:
  49 + stat:
  50 + enabled: true
  51 + # 慢SQL记录
  52 + log-slow-sql: true
  53 + slow-sql-millis: 1000
  54 + merge-sql: true
  55 + wall:
  56 + config:
  57 + multi-statement-allow: true
  58 +
  59 +#日志配置
  60 +logging:
  61 + level:
  62 + com.huaheng: debug
  63 + org.springframework: warn
  64 + spring.springboot.dao: DEBUG
  65 +
  66 +server:
  67 + port: 8888
  68 + servlet:
  69 + context-path: /twms/
0 70 \ No newline at end of file
... ...
src/main/resources/mybatis/config/WcsscanbarcodeMapper.xml 0 → 100644
  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
  3 +<mapper namespace="com.huaheng.pc.config.wcsscanbarcode.mapper.WcsscanbarcodeMapper">
  4 + <resultMap id="BaseResultMap" type="com.huaheng.pc.config.wcsscanbarcode.domain.Wcsscanbarcode">
  5 + <!--@mbg.generated-->
  6 + <!--@Table wcsscanbarcode-->
  7 + <id column="id" jdbcType="INTEGER" property="id" />
  8 + <result column="barcode" jdbcType="VARCHAR" property="barcode" />
  9 + <result column="flag" jdbcType="INTEGER" property="flag" />
  10 + <result column="area" jdbcType="INTEGER" property="area" />
  11 + <result column="Created" jdbcType="TIMESTAMP" property="created" />
  12 + <result column="CreatedBy" jdbcType="VARCHAR" property="createdby" />
  13 + <result column="Updated" jdbcType="TIMESTAMP" property="updated" />
  14 + <result column="UpdatedBy" jdbcType="VARCHAR" property="updatedby" />
  15 + <result column="content" jdbcType="VARCHAR" property="content" />
  16 + </resultMap>
  17 + <sql id="Base_Column_List">
  18 + <!--@mbg.generated-->
  19 + id, barcode, flag, area, Created, CreatedBy, Updated, UpdatedBy, content
  20 + </sql>
  21 +</mapper>
0 22 \ No newline at end of file
... ...
src/main/resources/mybatis/xinyi/TokenMapper.xml 0 → 100644
  1 +<?xml version="1.0" encoding="UTF-8"?>
  2 +<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
  3 +<mapper namespace="com.huaheng.api.xinyi.mapper.TokenMapper">
  4 + <resultMap id="BaseResultMap" type="com.huaheng.api.xinyi.domian.TokenEntity">
  5 + <id column="id" jdbcType="INTEGER" property="id"/>
  6 + <result column="access_token" jdbcType="INTEGER" property="access_token" />
  7 + <result column="token_type" jdbcType="VARCHAR" property="token_type" />
  8 + </resultMap>
  9 + <sql id="Base_Column_List">
  10 + <!--@mbg.generated-->
  11 + id, access_token, token_type
  12 + </sql>
  13 +
  14 + <select id="findOneByAll" resultMap="BaseResultMap">
  15 + select * from token_entity limit 1
  16 + </select>
  17 +
  18 + <!--auto generated by MybatisCodeHelper on 2019-12-29-->
  19 + <insert id="insertSelective">
  20 + INSERT INTO token_entity
  21 + <trim prefix="(" suffix=")" suffixOverrides=",">
  22 + <if test="id!=null">id,</if>
  23 + <if test="access_token!=null">access_token,</if>
  24 + <if test="token_type!=null">token_type</if>
  25 + </trim>
  26 + VALUES
  27 + <trim prefix="(" suffix=")" suffixOverrides=",">
  28 + <if test="id!=null">#{id,jdbcType=INTEGER},</if>
  29 + <if test="access_token!=null">#{access_token,jdbcType=INTEGER},</if>
  30 + <if test="token_type!=null">#{token_type,jdbcType=VARCHAR}</if>
  31 + </trim>
  32 + </insert>
  33 +
  34 +</mapper>
0 35 \ No newline at end of file
... ...
src/main/resources/templates/config/container/container.html
... ... @@ -57,6 +57,9 @@
57 57 </a>
58 58 </div>
59 59  
  60 +=======
  61 + </div>
  62 +>>>>>>> Stashed changes
60 63  
61 64 <div class="col-sm-12 select-info">
62 65 <table id="bootstrap-table" data-mobile-responsive="true" class="table table-bordered table-hover"></table>
... ... @@ -199,6 +202,7 @@
199 202 };
200 203 $.table.init(options);
201 204 });
  205 +<<<<<<< Updated upstream
202 206  
203 207 function print() {
204 208 var rows=$("#bootstrap-table").bootstrapTable('getSelections');
... ... @@ -213,6 +217,8 @@
213 217 let url=prefix+'/print/' + ids;
214 218 $.modal.open("打印",url);
215 219 }
  220 +=======
  221 +>>>>>>> Stashed changes
216 222 </script>
217 223 </body>
218 224 </html>
219 225 \ No newline at end of file
... ...
src/main/resources/templates/inventory/inventoryHeader/emptyCheckOut.html
... ... @@ -39,7 +39,11 @@
39 39 },
40 40 },
41 41 submitHandler: function(form) {
  42 +<<<<<<< Updated upstream
42 43 $.operate.save(prefix + "/emptyCheckOut", $('#form-task-emptyInOut').serialize());
  44 +=======
  45 + $.operate.save(prefix + "/emptyCheckOut", $('#form-task-emptyCheckOut').serialize());
  46 +>>>>>>> Stashed changes
43 47 }
44 48 });
45 49  
... ...