2018.06.19 訂單明細修改
阿新 • • 發佈:2018-12-14
-----------------------------2018-06-06 訂單明細修改---------------------- 訂單明細頁面修改 shipping-platform\web\pages\transport\transportStatus_index.jsp 訂單明細SQL查詢--增加識別掛號小包,跟蹤小包資訊 shipping-platform-service\src\main\resources\eub\sqlmapper\OrderMapper.xml --selectByMailNum 功能程式碼入口-->呼叫transportStatusHandler.java檔案。 shipping-platform\src\com\teamsun\oms\internat\action\transport\TransportStatusAction.java 加入redis程式碼從快取中獲取使用者資訊(orgname,orgcode)-->eub.sqlmapper.OrderMapper.selectByMailNum呼叫SQL配置檔案查詢 shipping-platform-service\src\main\java\com\teamsun\shipping\handler\impl\transport\TransportStatusHandler.java --52 呼叫redis的配置--shipping-platform-service\src\main\configAli\applicationContext.xml 1.配置redis地址 <bean id="jedisPoolConfig" class="redis.clients.jedis.JedisPoolConfig"> <property name="maxIdle" value="10" /> <property name="maxTotal" value="2000" /> <property name="maxWaitMillis" value="9000" /> <property name="testOnBorrow" value="false" /> </bean> <bean id="jedispool" class="redis.clients.jedis.JedisPool"> <constructor-arg name="poolConfig" ref="jedisPoolConfig" /> <!-- 內網(內網是部署專案時的連線) --> <!-- <constructor-arg name="host" value=" r-2ze5d836dbca4f64.redis.rds.aliyuncs.com"/> --> <!-- 外網(外網是本地測試連線) --> <!-- <constructor-arg name="host" value=" 47.95.163.70" /> --> <constructor-arg name="host" value=" 47.95.49.40"/> </bean> 2.加入jar包 jedis-2.9.0.jar commons-pool2-2.4.2.jar 3.新增redis輔助類 shipping-platform-service\src\main\java\com\teamsun\shipping\entity\RedisUserVo.java