Kaynağa Gözat

lrl --gmjh模块

lirl 3 yıl önce
ebeveyn
işleme
8a1b72f4f2

+ 261 - 0
src/main/java/com/steerinfo/ems/emsgmpcjh/controller/EmsGmPcJhController.java

@@ -0,0 +1,261 @@
+package com.steerinfo.ems.emsgmpcjh.controller;
+
+import com.steerinfo.auth.utils.JwtUtil;
+import com.steerinfo.ems.Utils.DateUtils;
+import com.steerinfo.ems.emsgmpcjh.mapper.EmsGmPcJhMapper;
+import com.steerinfo.ems.emsgmpcjh.model.EmsGmPcJh;
+import com.steerinfo.framework.controller.BaseRESTfulController;
+import com.steerinfo.framework.controller.RESTfulResult;
+import com.steerinfo.framework.service.pagehelper.PageList;
+import com.steerinfo.ems.emsgmpcjh.service.IEmsGmPcJhService;
+import io.swagger.annotations.ApiImplicitParam;
+import io.swagger.annotations.ApiImplicitParams;
+import io.swagger.annotations.ApiOperation;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.*;
+
+import java.math.BigDecimal;
+import java.rmi.MarshalledObject;
+import java.util.*;
+
+/**
+ * EmsGmPcJh RESTful接口:
+ * @author generator
+ * @version 1.0-SNAPSHORT 2021-09-10 07:00
+ * 类描述
+ * 修订历史:
+ * 日期:2021-09-10
+ * 作者:generator
+ * 参考:
+ * 描述:EmsGmPcJh RESTful接口
+ * @see null
+ * @Copyright 湖南视拓信息技术股份有限公司. All rights reserved.
+ */
+@RestController
+@RequestMapping("/${api.version}/emsgmpcjhs")
+public class EmsGmPcJhController extends BaseRESTfulController {
+    private static  final  String AT2005 = "G-G1-";
+    private static  final  String AT2006 = "G-G2-";
+    private static  final  String AT2004 = "G-L1-";
+    private static  final  String AT2007 = "G-X1-";
+
+    @Autowired
+    IEmsGmPcJhService emsGmPcJhService;
+    @Autowired
+    EmsGmPcJhMapper emsGmPcJhMapper;
+
+    @ApiOperation(value="获取列表", notes="分页查询")
+    @ApiImplicitParams({
+            @ApiImplicitParam(name = "pageNum", value = "查询页数", required = false, dataType = "Integer"),
+            @ApiImplicitParam(name = "pageSize", value = "每页记录数", required = false, dataType = "Integer")
+    })
+    //@RequiresPermissions("emsgmpcjh:view")
+    @GetMapping(value = "/")
+    public RESTfulResult list(@RequestParam HashMap parmas,Integer pageNum, Integer pageSize){
+        PageList<EmsGmPcJh> list = emsGmPcJhService.queryForPage(parmas, pageNum, pageSize);
+        return success(list);
+    }
+
+    @ApiOperation(value="获取列表", notes="分页模糊查询")
+    @ApiImplicitParams({
+            @ApiImplicitParam(name = "pageNum", value = "查询页数", required = false, dataType = "Integer"),
+            @ApiImplicitParam(name = "pageSize", value = "每页记录数", required = false, dataType = "Integer")
+    })
+    //@RequiresPermissions("emsgmpcjh:view")
+    @GetMapping(value = "/like/")
+    public RESTfulResult listLike(@RequestParam HashMap parmas,Integer pageNum, Integer pageSize){
+        PageList<EmsGmPcJh> list = emsGmPcJhService.queryLikeForPage(parmas, pageNum, pageSize);
+        return success(list);
+    }
+
+    @ApiOperation(value="创建", notes="根据EmsGmPcJh对象创建GM计划")
+    @ApiImplicitParam(name = "emsGmPcJh", value = "详细实体emsGmPcJh", required = true, dataType = "EmsGmPcJh")
+    //@RequiresPermissions("emsgmpcjh:create")
+    @PostMapping(value = "/")
+    public RESTfulResult add(@RequestBody EmsGmPcJh model){
+        String userId = JwtUtil.getUseridByToken();
+        String yyyymmdd = DateUtils.dateStr(model.getJhTime(), "yyyyMMdd");
+        model.setStartTime(yyyymmdd);
+        model.setType(this.getType(model));
+        String maxid = emsGmPcJhService.getMaxid(model);
+        model.setId(maxid);
+        model.setKxfWeight(model.getPlanWeight());
+        model.setYxfWeight(new BigDecimal("0"));
+        model.setCreateTime(new Date());
+        model.setCreateMan(userId);
+        EmsGmPcJh emsGmPcJh = emsGmPcJhService.add(model);
+        return success(emsGmPcJh);
+    }
+
+    @ApiOperation(value="创建", notes="根据EmsGmPcJh对象创建GM计划")
+    @ApiImplicitParam(name = "emsGmPcJh", value = "详细实体emsGmPcJh", required = true, dataType = "EmsGmPcJh")
+    //@RequiresPermissions("emsgmpcjh:create")
+    @PostMapping(value = "/addNbJH")
+    public RESTfulResult addNbJH(@RequestBody EmsGmPcJh model){
+        String userId = JwtUtil.getUseridByToken();
+        String yyyymmdd = DateUtils.dateStr(model.getJhTime(), "yyyyMMdd");
+        model.setStartTime(yyyymmdd);
+        model.setType(this.getNbJH(model));
+        String maxid = emsGmPcJhService.getMaxid(model);
+        model.setId(maxid);
+        model.setPlanWeight(model.getPlanWeight() == null ? new BigDecimal("0"): model.getPlanWeight());
+        model.setKxfWeight(model.getPlanWeight() == null ? new BigDecimal("0"): model.getPlanWeight());
+        model.setYxfWeight(new BigDecimal("0"));
+        model.setCreateTime(new Date());
+        model.setState("1");
+        model.setCreateMan(userId);
+        EmsGmPcJh emsGmPcJh = emsGmPcJhService.add(model);
+        return success(emsGmPcJh);
+    }
+
+    @ApiOperation(value="获取详细信息", notes="根据url的id来获取详细信息")
+    @ApiImplicitParam(paramType = "path", name = "id", value = "ID", required = true, dataType = "String")
+    //@RequiresPermissions("emsgmpcjh:view")
+    @GetMapping(value = "/{id}")
+    public RESTfulResult get(@PathVariable String id){
+        EmsGmPcJh emsGmPcJh = emsGmPcJhService.getById(id);
+        return success(emsGmPcJh);
+    }
+
+    @ApiOperation(value="更新详细信息", notes="根据url的id来指定更新对象,并根据传过来的emsGmPcJh信息来更新详细信息")
+    @ApiImplicitParams({
+            @ApiImplicitParam(paramType = "path", name = "id", value = "ID", required = true, dataType = "String"),
+            @ApiImplicitParam(name = "emsGmPcJh", value = "详细实体emsGmPcJh", required = true, dataType = "EmsGmPcJh")
+    })
+    //@RequiresPermissions("emsgmpcjh:update")
+    @PutMapping(value = "/batchupdate", produces  = "application/json;charset=UTF-8")
+    public RESTfulResult update(@RequestBody EmsGmPcJh[] models){
+        String userId = JwtUtil.getUseridByToken();
+        for (EmsGmPcJh model : models) {
+            EmsGmPcJh emsGmPcJh = this.emsGmPcJhMapper.selectByPrimaryKey(model.getId());
+            if(emsGmPcJh.getState().equals("2")) {
+                return failed(null,"操作失败,编号为"+emsGmPcJh.getId()+"已经接收");
+            }
+            if (model.getState().equals("1")) {
+                return failed(model, "计划号为:" + model.getId() + "已下发无法做修改操作,请取消下发");
+            }
+            model.setYxfWeight(new BigDecimal("0"));
+            model.setKxfWeight(model.getPlanWeight());
+            model.setUpdateMan(userId);
+            model.setUpdateTime(new Date());
+            emsGmPcJhMapper.updateByPrimaryKey(model);
+        }
+        return success();
+    }
+
+    @ApiOperation(value="删除", notes="根据url的id来指定删除对象")
+    @ApiImplicitParam(paramType = "path", name = "id", value = "ID", required = true, dataType = "String")
+    //@RequiresPermissions("emsgmpcjh:delete")
+    @DeleteMapping(value = "/delete",produces  = "application/json;charset=UTF-8")//String
+    public RESTfulResult delete(@RequestBody EmsGmPcJh[] models){
+        for (EmsGmPcJh model : models) {
+            EmsGmPcJh emsGmPcJh = this.emsGmPcJhMapper.selectByPrimaryKey(model.getId());
+            if(emsGmPcJh.getState().equals("2")) {
+                return failed(null,"操作失败,编号为"+emsGmPcJh.getId()+"已经接收");
+            }
+            if (model.getState().equals("1")) {
+                return failed(model,"计划号为:"+model.getId()+"已下发无法做删除操作,请取消下发");
+            }
+            emsGmPcJhMapper.deleteByPrimaryKey(model.getId());
+        }
+        return success();
+    }
+
+    @ApiOperation(value="更新详细信息", notes="根据url的id来指定更新对象,并根据传过来的emsGmPcJh信息来更新详细信息")
+    @ApiImplicitParams({
+            @ApiImplicitParam(paramType = "path", name = "id", value = "ID", required = true, dataType = "String"),
+            @ApiImplicitParam(name = "emsGmPcJh", value = "详细实体emsGmPcJh", required = true, dataType = "EmsGmPcJh")
+    })
+    //@RequiresPermissions("emsgmpcjh:update")
+    @PutMapping(value = "/updatestate", produces  = "application/json;charset=UTF-8")
+    public RESTfulResult updatestate(@RequestBody EmsGmPcJh[] models){
+        String userId = JwtUtil.getUseridByToken();
+        for (EmsGmPcJh model : models) {
+            EmsGmPcJh emsGmPcJh = this.emsGmPcJhMapper.selectByPrimaryKey(model.getId());
+            if(emsGmPcJh.getState().equals("2")) {
+                return failed(null,"操作失败,编号为"+emsGmPcJh.getId()+"已经接收");
+            }
+            model.setYxfWeight(new BigDecimal("0"));
+            model.setKxfWeight(model.getPlanWeight());
+            model.setUpdateTime(new Date());
+            model.setUpdateMan(userId);
+            emsGmPcJhService.updateState(model);
+        }
+        return success();
+    }
+    @ApiOperation(value="获取列表", notes="分页模糊查询")
+    @ApiImplicitParams({
+            @ApiImplicitParam(name = "pageNum", value = "查询页数", required = false, dataType = "Integer"),
+            @ApiImplicitParam(name = "pageSize", value = "每页记录数", required = false, dataType = "Integer")
+    })
+    @GetMapping("/getGmDates")
+    public RESTfulResult getGmDates(@RequestParam HashMap<String,Object> parmas,Integer pageNum,Integer pageSize){
+        if(parmas.get("workprocType") != null && !parmas.get("workprocType").toString().isEmpty()){
+            String workprocType = parmas.get("workprocType").toString();
+            if(!workprocType.startsWith("'")){
+                workprocType = "'" + workprocType.replaceAll(",", "','").replaceAll(",", "','") + "'";
+            }
+            parmas.put("workprocType", workprocType);
+        }
+        PageList<Map<String, Object>> gmPcJhDataForPage = emsGmPcJhService.getGmPcJhDataForPage(parmas, pageNum, pageSize);
+        return success(gmPcJhDataForPage);
+    }
+
+    @ApiOperation(value="更新详细信息", notes="根据url的id来指定更新对象,并根据传过来的emsGmPcJh信息来更新详细信息")
+    @ApiImplicitParams({
+            @ApiImplicitParam(paramType = "path", name = "id", value = "ID", required = true, dataType = "String"),
+            @ApiImplicitParam(name = "emsGmPcJh", value = "详细实体emsGmPcJh", required = true, dataType = "EmsGmPcJh")
+    })
+    //@RequiresPermissions("emsgmpcjh:update")
+    @PutMapping(value = "/batchcopy", produces  = "application/json;charset=UTF-8")
+    public RESTfulResult batchcopy(@RequestBody EmsGmPcJh[] models){
+        String userId = JwtUtil.getUseridByToken();
+        for (EmsGmPcJh model : models) {
+            String yyyymmdd = DateUtils.dateStr(model.getJhTime(), "yyyyMMdd");
+            model.setStartTime(yyyymmdd);
+            model.setType(this.getType(model));
+            String maxid = emsGmPcJhService.getMaxid(model);
+            model.setId(maxid);
+            model.setState("0");
+            model.setKxfWeight(model.getPlanWeight());
+            model.setYxfWeight(new BigDecimal("0"));
+            model.setUpdateTime(null);
+            model.setUpdateMan(null);
+            model.setCreateTime(new Date());
+            model.setCreateMan(userId);
+            emsGmPcJhService.add(model);
+        }
+        return success();
+    }
+
+    public String getType (EmsGmPcJh emsGmPcJh){
+        if (emsGmPcJh.getWorkprocType().equals("AT2004")){
+            return AT2004;
+        }
+        if(emsGmPcJh.getWorkprocType().equals("AT2005")){
+            return AT2005;
+        }
+        if (emsGmPcJh.getWorkprocType().equals("AT2006")){
+            return AT2006;
+        }
+        if (emsGmPcJh.getWorkprocType().equals("AT2007")) {
+            return  AT2007;
+        }
+        return null;
+    }
+    public String getNbJH (EmsGmPcJh emsGmPcJh){
+        if (emsGmPcJh.getWorkprocType().equals("AT2004")){
+            return "N-L1-";
+        }
+        if(emsGmPcJh.getWorkprocType().equals("AT2005")){
+            return "N-G1-";
+        }
+        if (emsGmPcJh.getWorkprocType().equals("AT2006")){
+            return "N-G2-";
+        }
+        if (emsGmPcJh.getWorkprocType().equals("AT2007")) {
+            return  "N-X1-";
+        }
+        return null;
+    }
+}

+ 20 - 0
src/main/java/com/steerinfo/ems/emsgmpcjh/mapper/EmsGmPcJhMapper.java

@@ -0,0 +1,20 @@
+package com.steerinfo.ems.emsgmpcjh.mapper;
+
+import com.steerinfo.ems.emsgmpcjh.model.EmsGmPcJh;
+import com.steerinfo.framework.mapper.IBaseMapper;
+
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+
+import org.apache.ibatis.annotations.Mapper;
+
+@Mapper
+public interface EmsGmPcJhMapper extends IBaseMapper<EmsGmPcJh, String> {
+    //获取国贸编号
+    String getMaxid(EmsGmPcJh emsGmPcJh);
+    //下发与取消下发
+    int  updateState(EmsGmPcJh emsGmPcJh);
+    //轮次计划页面查询
+    List<Map<String, Object>> getGmPcJhData(HashMap<String, Object> parmas);
+}

+ 745 - 0
src/main/java/com/steerinfo/ems/emsgmpcjh/mapper/EmsGmPcJhMapper.xml

@@ -0,0 +1,745 @@
+<?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.steerinfo.ems.emsgmpcjh.mapper.EmsGmPcJhMapper">
+  <resultMap id="BaseResultMap" type="com.steerinfo.ems.emsgmpcjh.model.EmsGmPcJh">
+    <id column="ID" jdbcType="VARCHAR" property="id" />
+    <result column="JH_TIME" jdbcType="DATE" property="jhTime" />
+    <result column="STATE" jdbcType="VARCHAR" property="state" />
+    <result column="GRADES" jdbcType="VARCHAR" property="grades" />
+    <result column="SPECIFICATIONS" jdbcType="VARCHAR" property="specifications" />
+    <result column="LENGTHS" jdbcType="DECIMAL" property="lengths" />
+    <result column="CHEMICAL_STANDARD" jdbcType="VARCHAR" property="chemicalStandard" />
+    <result column="SURFACE_STANDARD" jdbcType="VARCHAR" property="surfaceStandard" />
+    <result column="WORKPROC_TYPE" jdbcType="VARCHAR" property="workprocType" />
+    <result column="IATERAL_AREA" jdbcType="VARCHAR" property="iateralArea" />
+    <result column="LENGTH_TIMES_WIDTH" jdbcType="VARCHAR" property="lengthTimesWidth" />
+    <result column="TRANSPORT_TYPE" jdbcType="VARCHAR" property="transportType" />
+    <result column="RECEIVE_TIME" jdbcType="TIMESTAMP" property="receiveTime" />
+    <result column="CREATE_MAN" jdbcType="VARCHAR" property="createMan" />
+    <result column="CREATE_TIME" jdbcType="TIMESTAMP" property="createTime" />
+    <result column="UPDATE_MAN" jdbcType="VARCHAR" property="updateMan" />
+    <result column="UPDATE_TIME" jdbcType="TIMESTAMP" property="updateTime" />
+    <result column="MEMO" jdbcType="VARCHAR" property="memo" />
+    <result column="PURPOSE" jdbcType="VARCHAR" property="purpose" />
+    <result column="UNITID" jdbcType="VARCHAR" property="unitid" />
+    <result column="DIMENSION" jdbcType="VARCHAR" property="dimension" />
+    <result column="KXF_WEIGHT" jdbcType="DECIMAL" property="kxfWeight" />
+    <result column="YXF_WEIGHT" jdbcType="DECIMAL" property="yxfWeight" />
+    <result column="PLAN_WEIGHT" jdbcType="DECIMAL" property="planWeight" />
+  </resultMap>
+  <sql id="columns">
+    ID, JH_TIME, STATE, GRADES, SPECIFICATIONS, LENGTHS, CHEMICAL_STANDARD, SURFACE_STANDARD, 
+    WORKPROC_TYPE, IATERAL_AREA, LENGTH_TIMES_WIDTH, TRANSPORT_TYPE, RECEIVE_TIME, CREATE_MAN, 
+    CREATE_TIME, UPDATE_MAN, UPDATE_TIME, MEMO, PURPOSE, UNITID, DIMENSION, KXF_WEIGHT, 
+    YXF_WEIGHT, PLAN_WEIGHT
+  </sql>
+  <sql id="columns_alias">
+    t.ID, t.JH_TIME, t.STATE, t.GRADES, t.SPECIFICATIONS, t.LENGTHS, t.CHEMICAL_STANDARD, 
+    t.SURFACE_STANDARD, t.WORKPROC_TYPE, t.IATERAL_AREA, t.LENGTH_TIMES_WIDTH, t.TRANSPORT_TYPE, 
+    t.RECEIVE_TIME, t.CREATE_MAN, t.CREATE_TIME, t.UPDATE_MAN, t.UPDATE_TIME, t.MEMO, 
+    t.PURPOSE, t.UNITID, t.DIMENSION, t.KXF_WEIGHT, t.YXF_WEIGHT, t.PLAN_WEIGHT
+  </sql>
+  <sql id="select">
+    SELECT <include refid="columns"/> FROM EMS_GM_PC_JH
+  </sql>
+  <sql id="select_alias">
+    SELECT <include refid="columns_alias"/> FROM EMS_GM_PC_JH t
+  </sql>
+  <sql id="where">
+    <where>
+      <if test="state != null and state != ''">
+        and STATE = #{state}
+      </if>
+      <if test="grades != null and grades != ''">
+        and GRADES = #{grades}
+      </if>
+      <if test="specifications != null and specifications != ''">
+        and SPECIFICATIONS = #{specifications}
+      </if>
+      <if test="lengths != null">
+        and LENGTHS = #{lengths}
+      </if>
+      <if test="chemicalStandard != null and chemicalStandard != ''">
+        and CHEMICAL_STANDARD = #{chemicalStandard}
+      </if>
+      <if test="surfaceStandard != null and surfaceStandard != ''">
+        and SURFACE_STANDARD = #{surfaceStandard}
+      </if>
+      <if test="workprocType != null and workprocType != ''">
+        and WORKPROC_TYPE = #{workprocType}
+      </if>
+      <if test="iateralArea != null and iateralArea != ''">
+        and IATERAL_AREA = #{iateralArea}
+      </if>
+      <if test="lengthTimesWidth != null and lengthTimesWidth != ''">
+        and LENGTH_TIMES_WIDTH = #{lengthTimesWidth}
+      </if>
+      <if test="transportType != null and transportType != ''">
+        and TRANSPORT_TYPE = #{transportType}
+      </if>
+      <if test="receiveTime != null">
+        and TO_CHAR(RECEIVE_TIME,'yyyy-MM-dd') = #{receiveTime}
+      </if>
+      <if test="createMan != null and createMan != ''">
+        and CREATE_MAN = #{createMan}
+      </if>
+      <if test="createTime != null">
+        and TO_CHAR(CREATE_TIME,'yyyy-MM-dd') = #{createTime}
+      </if>
+      <if test="updateMan != null and updateMan != ''">
+        and UPDATE_MAN = #{updateMan}
+      </if>
+      <if test="updateTime != null">
+        and TO_CHAR(UPDATE_TIME,'yyyy-MM-dd') = #{updateTime}
+      </if>
+      <if test="memo != null and memo != ''">
+        and MEMO = #{memo}
+      </if>
+      <if test="purpose != null and purpose != ''">
+        and PURPOSE = #{purpose}
+      </if>
+      <if test="unitid != null and unitid != ''">
+        and UNITID = #{unitid}
+      </if>
+      <if test="dimension != null and dimension != ''">
+        and DIMENSION = #{dimension}
+      </if>
+      <if test="kxfWeight != null">
+        and KXF_WEIGHT = #{kxfWeight}
+      </if>
+      <if test="yxfWeight != null">
+        and YXF_WEIGHT = #{yxfWeight}
+      </if>
+      <if test="planWeight != null">
+        and PLAN_WEIGHT = #{planWeight}
+      </if>
+      <if test="startTime != null and startTime !='' and endTime != null and endTime != ''">
+        and JH_TIME BETWEEN TO_DATE(#{startTime},'yyyy-mm-dd') AND TO_DATE(#{endTime},'yyyy-mm-dd')
+      </if>
+      AND ID like '%G-%'
+    </where>
+  </sql>
+  <sql id="whereLike">
+    <where> 
+      <if test="id != null and id != ''">
+        and ID LIKE '%${id}%'
+      </if>
+      <if test="jhTime != null">
+        and TO_CHAR(JH_TIME,'yyyy-MM-dd') = #{jhTime}
+      </if>
+      <if test="state != null and state != ''">
+        and STATE LIKE '%${state}%'
+      </if>
+      <if test="grades != null and grades != ''">
+        and GRADES LIKE '%${grades}%'
+      </if>
+      <if test="specifications != null and specifications != ''">
+        and SPECIFICATIONS LIKE '%${specifications}%'
+      </if>
+      <if test="lengths != null">
+        and LENGTHS = #{lengths}
+      </if>
+      <if test="chemicalStandard != null and chemicalStandard != ''">
+        and CHEMICAL_STANDARD LIKE '%${chemicalStandard}%'
+      </if>
+      <if test="surfaceStandard != null and surfaceStandard != ''">
+        and SURFACE_STANDARD LIKE '%${surfaceStandard}%'
+      </if>
+      <if test="workprocType != null and workprocType != ''">
+        and WORKPROC_TYPE LIKE '%${workprocType}%'
+      </if>
+      <if test="iateralArea != null and iateralArea != ''">
+        and IATERAL_AREA LIKE '%${iateralArea}%'
+      </if>
+      <if test="lengthTimesWidth != null and lengthTimesWidth != ''">
+        and LENGTH_TIMES_WIDTH LIKE '%${lengthTimesWidth}%'
+      </if>
+      <if test="transportType != null and transportType != ''">
+        and TRANSPORT_TYPE LIKE '%${transportType}%'
+      </if>
+      <if test="receiveTime != null">
+        and TO_CHAR(RECEIVE_TIME,'yyyy-MM-dd') = #{receiveTime}
+      </if>
+      <if test="createMan != null and createMan != ''">
+        and CREATE_MAN LIKE '%${createMan}%'
+      </if>
+      <if test="createTime != null">
+        and TO_CHAR(CREATE_TIME,'yyyy-MM-dd') = #{createTime}
+      </if>
+      <if test="updateMan != null and updateMan != ''">
+        and UPDATE_MAN LIKE '%${updateMan}%'
+      </if>
+      <if test="updateTime != null">
+        and TO_CHAR(UPDATE_TIME,'yyyy-MM-dd') = #{updateTime}
+      </if>
+      <if test="memo != null and memo != ''">
+        and MEMO LIKE '%${memo}%'
+      </if>
+      <if test="purpose != null and purpose != ''">
+        and PURPOSE LIKE '%${purpose}%'
+      </if>
+      <if test="unitid != null and unitid != ''">
+        and UNITID LIKE '%${unitid}%'
+      </if>
+      <if test="dimension != null and dimension != ''">
+        and DIMENSION LIKE '%${dimension}%'
+      </if>
+      <if test="kxfWeight != null">
+        and KXF_WEIGHT = #{kxfWeight}
+      </if>
+      <if test="yxfWeight != null">
+        and YXF_WEIGHT = #{yxfWeight}
+      </if>
+      <if test="planWeight != null">
+        and PLAN_WEIGHT = #{planWeight}
+      </if>
+    </where>
+  </sql>
+  <delete id="deleteByPrimaryKey" parameterType="java.lang.String">
+    delete from EMS_GM_PC_JH
+    where ID = #{id,jdbcType=VARCHAR}
+  </delete>
+  <delete id="deleteBySelectiveElement" parameterType="java.util.HashMap">
+    delete from EMS_GM_PC_JH
+    where 1!=1 
+      <if test="jhTime != null">
+        or TO_CHAR(JH_TIME,'yyyy-MM-dd') = '#{jhTime}'
+      </if>
+      <if test="state != null and state != ''">
+        or STATE = #{state}
+      </if>
+      <if test="grades != null and grades != ''">
+        or GRADES = #{grades}
+      </if>
+      <if test="specifications != null and specifications != ''">
+        or SPECIFICATIONS = #{specifications}
+      </if>
+      <if test="lengths != null">
+        or LENGTHS = #{lengths}
+      </if>
+      <if test="chemicalStandard != null and chemicalStandard != ''">
+        or CHEMICAL_STANDARD = #{chemicalStandard}
+      </if>
+      <if test="surfaceStandard != null and surfaceStandard != ''">
+        or SURFACE_STANDARD = #{surfaceStandard}
+      </if>
+      <if test="workprocType != null and workprocType != ''">
+        or WORKPROC_TYPE = #{workprocType}
+      </if>
+      <if test="iateralArea != null and iateralArea != ''">
+        or IATERAL_AREA = #{iateralArea}
+      </if>
+      <if test="lengthTimesWidth != null and lengthTimesWidth != ''">
+        or LENGTH_TIMES_WIDTH = #{lengthTimesWidth}
+      </if>
+      <if test="transportType != null and transportType != ''">
+        or TRANSPORT_TYPE = #{transportType}
+      </if>
+      <if test="receiveTime != null">
+        or TO_CHAR(RECEIVE_TIME,'yyyy-MM-dd') = '#{receiveTime}'
+      </if>
+      <if test="createMan != null and createMan != ''">
+        or CREATE_MAN = #{createMan}
+      </if>
+      <if test="createTime != null">
+        or TO_CHAR(CREATE_TIME,'yyyy-MM-dd') = '#{createTime}'
+      </if>
+      <if test="updateMan != null and updateMan != ''">
+        or UPDATE_MAN = #{updateMan}
+      </if>
+      <if test="updateTime != null">
+        or TO_CHAR(UPDATE_TIME,'yyyy-MM-dd') = '#{updateTime}'
+      </if>
+      <if test="memo != null and memo != ''">
+        or MEMO = #{memo}
+      </if>
+      <if test="purpose != null and purpose != ''">
+        or PURPOSE = #{purpose}
+      </if>
+      <if test="unitid != null and unitid != ''">
+        or UNITID = #{unitid}
+      </if>
+      <if test="dimension != null and dimension != ''">
+        or DIMENSION = #{dimension}
+      </if>
+      <if test="kxfWeight != null">
+        or KXF_WEIGHT = #{kxfWeight}
+      </if>
+      <if test="yxfWeight != null">
+        or YXF_WEIGHT = #{yxfWeight}
+      </if>
+      <if test="planWeight != null">
+        or PLAN_WEIGHT = #{planWeight}
+      </if>
+  </delete>
+  <insert id="insert" parameterType="com.steerinfo.ems.emsgmpcjh.model.EmsGmPcJh">
+    insert into EMS_GM_PC_JH (ID, JH_TIME, STATE, 
+      GRADES, SPECIFICATIONS, LENGTHS, 
+      CHEMICAL_STANDARD, SURFACE_STANDARD, WORKPROC_TYPE, 
+      IATERAL_AREA, LENGTH_TIMES_WIDTH, TRANSPORT_TYPE, 
+      RECEIVE_TIME, CREATE_MAN, CREATE_TIME, 
+      UPDATE_MAN, UPDATE_TIME, MEMO, 
+      PURPOSE, UNITID, DIMENSION, 
+      KXF_WEIGHT, YXF_WEIGHT, PLAN_WEIGHT
+      )
+    values (#{id,jdbcType=VARCHAR}, #{jhTime,jdbcType=TIMESTAMP}, #{state,jdbcType=VARCHAR}, 
+      #{grades,jdbcType=VARCHAR}, #{specifications,jdbcType=VARCHAR}, #{lengths,jdbcType=DECIMAL}, 
+      #{chemicalStandard,jdbcType=VARCHAR}, #{surfaceStandard,jdbcType=VARCHAR}, #{workprocType,jdbcType=VARCHAR}, 
+      #{iateralArea,jdbcType=VARCHAR}, #{lengthTimesWidth,jdbcType=VARCHAR}, #{transportType,jdbcType=VARCHAR}, 
+      #{receiveTime,jdbcType=TIMESTAMP}, #{createMan,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, 
+      #{updateMan,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP}, #{memo,jdbcType=VARCHAR}, 
+      #{purpose,jdbcType=VARCHAR}, #{unitid,jdbcType=VARCHAR}, #{dimension,jdbcType=VARCHAR}, 
+      #{kxfWeight,jdbcType=DECIMAL}, #{yxfWeight,jdbcType=DECIMAL}, #{planWeight,jdbcType=DECIMAL}
+      )
+  </insert>
+  <insert id="insertSelective" parameterType="com.steerinfo.ems.emsgmpcjh.model.EmsGmPcJh">
+    insert into EMS_GM_PC_JH
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        ID,
+      </if>
+      <if test="jhTime != null">
+        JH_TIME,
+      </if>
+      <if test="state != null">
+        STATE,
+      </if>
+      <if test="grades != null">
+        GRADES,
+      </if>
+      <if test="specifications != null">
+        SPECIFICATIONS,
+      </if>
+      <if test="lengths != null">
+        LENGTHS,
+      </if>
+      <if test="chemicalStandard != null">
+        CHEMICAL_STANDARD,
+      </if>
+      <if test="surfaceStandard != null">
+        SURFACE_STANDARD,
+      </if>
+      <if test="workprocType != null">
+        WORKPROC_TYPE,
+      </if>
+      <if test="iateralArea != null">
+        IATERAL_AREA,
+      </if>
+      <if test="lengthTimesWidth != null">
+        LENGTH_TIMES_WIDTH,
+      </if>
+      <if test="transportType != null">
+        TRANSPORT_TYPE,
+      </if>
+      <if test="receiveTime != null">
+        RECEIVE_TIME,
+      </if>
+      <if test="createMan != null">
+        CREATE_MAN,
+      </if>
+      <if test="createTime != null">
+        CREATE_TIME,
+      </if>
+      <if test="updateMan != null">
+        UPDATE_MAN,
+      </if>
+      <if test="updateTime != null">
+        UPDATE_TIME,
+      </if>
+      <if test="memo != null">
+        MEMO,
+      </if>
+      <if test="purpose != null">
+        PURPOSE,
+      </if>
+      <if test="unitid != null">
+        UNITID,
+      </if>
+      <if test="dimension != null">
+        DIMENSION,
+      </if>
+      <if test="kxfWeight != null">
+        KXF_WEIGHT,
+      </if>
+      <if test="yxfWeight != null">
+        YXF_WEIGHT,
+      </if>
+      <if test="planWeight != null">
+        PLAN_WEIGHT,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        #{id,jdbcType=VARCHAR},
+      </if>
+      <if test="jhTime != null">
+        #{jhTime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="state != null">
+        #{state,jdbcType=VARCHAR},
+      </if>
+      <if test="grades != null">
+        #{grades,jdbcType=VARCHAR},
+      </if>
+      <if test="specifications != null">
+        #{specifications,jdbcType=VARCHAR},
+      </if>
+      <if test="lengths != null">
+        #{lengths,jdbcType=DECIMAL},
+      </if>
+      <if test="chemicalStandard != null">
+        #{chemicalStandard,jdbcType=VARCHAR},
+      </if>
+      <if test="surfaceStandard != null">
+        #{surfaceStandard,jdbcType=VARCHAR},
+      </if>
+      <if test="workprocType != null">
+        #{workprocType,jdbcType=VARCHAR},
+      </if>
+      <if test="iateralArea != null">
+        #{iateralArea,jdbcType=VARCHAR},
+      </if>
+      <if test="lengthTimesWidth != null">
+        #{lengthTimesWidth,jdbcType=VARCHAR},
+      </if>
+      <if test="transportType != null">
+        #{transportType,jdbcType=VARCHAR},
+      </if>
+      <if test="receiveTime != null">
+        #{receiveTime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="createMan != null">
+        #{createMan,jdbcType=VARCHAR},
+      </if>
+      <if test="createTime != null">
+        #{createTime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="updateMan != null">
+        #{updateMan,jdbcType=VARCHAR},
+      </if>
+      <if test="updateTime != null">
+        #{updateTime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="memo != null">
+        #{memo,jdbcType=VARCHAR},
+      </if>
+      <if test="purpose != null">
+        #{purpose,jdbcType=VARCHAR},
+      </if>
+      <if test="unitid != null">
+        #{unitid,jdbcType=VARCHAR},
+      </if>
+      <if test="dimension != null">
+        #{dimension,jdbcType=VARCHAR},
+      </if>
+      <if test="kxfWeight != null">
+        #{kxfWeight,jdbcType=DECIMAL},
+      </if>
+      <if test="yxfWeight != null">
+        #{yxfWeight,jdbcType=DECIMAL},
+      </if>
+      <if test="planWeight != null">
+        #{planWeight,jdbcType=DECIMAL},
+      </if>
+    </trim>
+  </insert>
+  <update id="updateByPrimaryKey" parameterType="com.steerinfo.ems.emsgmpcjh.model.EmsGmPcJh">
+    update EMS_GM_PC_JH
+    set JH_TIME = #{jhTime,jdbcType=TIMESTAMP},
+      STATE = #{state,jdbcType=VARCHAR},
+      GRADES = #{grades,jdbcType=VARCHAR},
+      SPECIFICATIONS = #{specifications,jdbcType=VARCHAR},
+      LENGTHS = #{lengths,jdbcType=DECIMAL},
+      CHEMICAL_STANDARD = #{chemicalStandard,jdbcType=VARCHAR},
+      SURFACE_STANDARD = #{surfaceStandard,jdbcType=VARCHAR},
+      WORKPROC_TYPE = #{workprocType,jdbcType=VARCHAR},
+      IATERAL_AREA = #{iateralArea,jdbcType=VARCHAR},
+      LENGTH_TIMES_WIDTH = #{lengthTimesWidth,jdbcType=VARCHAR},
+      TRANSPORT_TYPE = #{transportType,jdbcType=VARCHAR},
+      RECEIVE_TIME = #{receiveTime,jdbcType=TIMESTAMP},
+      CREATE_MAN = #{createMan,jdbcType=VARCHAR},
+      CREATE_TIME = #{createTime,jdbcType=TIMESTAMP},
+      UPDATE_MAN = #{updateMan,jdbcType=VARCHAR},
+      UPDATE_TIME = #{updateTime,jdbcType=TIMESTAMP},
+      MEMO = #{memo,jdbcType=VARCHAR},
+      PURPOSE = #{purpose,jdbcType=VARCHAR},
+      UNITID = #{unitid,jdbcType=VARCHAR},
+      DIMENSION = #{dimension,jdbcType=VARCHAR},
+      KXF_WEIGHT = #{kxfWeight,jdbcType=DECIMAL},
+      YXF_WEIGHT = #{yxfWeight,jdbcType=DECIMAL},
+      PLAN_WEIGHT = #{planWeight,jdbcType=DECIMAL}
+    where ID = #{id,jdbcType=VARCHAR}
+  </update>
+  <update id="updateByPrimaryKeySelective" parameterType="com.steerinfo.ems.emsgmpcjh.model.EmsGmPcJh">
+    update EMS_GM_PC_JH
+    <set>
+      <if test="jhTime != null">
+        JH_TIME = #{jhTime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="state != null">
+        STATE = #{state,jdbcType=VARCHAR},
+      </if>
+      <if test="grades != null">
+        GRADES = #{grades,jdbcType=VARCHAR},
+      </if>
+      <if test="specifications != null">
+        SPECIFICATIONS = #{specifications,jdbcType=VARCHAR},
+      </if>
+      <if test="lengths != null">
+        LENGTHS = #{lengths,jdbcType=DECIMAL},
+      </if>
+      <if test="chemicalStandard != null">
+        CHEMICAL_STANDARD = #{chemicalStandard,jdbcType=VARCHAR},
+      </if>
+      <if test="surfaceStandard != null">
+        SURFACE_STANDARD = #{surfaceStandard,jdbcType=VARCHAR},
+      </if>
+      <if test="workprocType != null">
+        WORKPROC_TYPE = #{workprocType,jdbcType=VARCHAR},
+      </if>
+      <if test="iateralArea != null">
+        IATERAL_AREA = #{iateralArea,jdbcType=VARCHAR},
+      </if>
+      <if test="lengthTimesWidth != null">
+        LENGTH_TIMES_WIDTH = #{lengthTimesWidth,jdbcType=VARCHAR},
+      </if>
+      <if test="transportType != null">
+        TRANSPORT_TYPE = #{transportType,jdbcType=VARCHAR},
+      </if>
+      <if test="receiveTime != null">
+        RECEIVE_TIME = #{receiveTime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="createMan != null">
+        CREATE_MAN = #{createMan,jdbcType=VARCHAR},
+      </if>
+      <if test="createTime != null">
+        CREATE_TIME = #{createTime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="updateMan != null">
+        UPDATE_MAN = #{updateMan,jdbcType=VARCHAR},
+      </if>
+      <if test="updateTime != null">
+        UPDATE_TIME = #{updateTime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="memo != null">
+        MEMO = #{memo,jdbcType=VARCHAR},
+      </if>
+      <if test="purpose != null">
+        PURPOSE = #{purpose,jdbcType=VARCHAR},
+      </if>
+      <if test="unitid != null">
+        UNITID = #{unitid,jdbcType=VARCHAR},
+      </if>
+      <if test="dimension != null">
+        DIMENSION = #{dimension,jdbcType=VARCHAR},
+      </if>
+      <if test="kxfWeight != null">
+        KXF_WEIGHT = #{kxfWeight,jdbcType=DECIMAL},
+      </if>
+      <if test="yxfWeight != null">
+        YXF_WEIGHT = #{yxfWeight,jdbcType=DECIMAL},
+      </if>
+      <if test="planWeight != null">
+        PLAN_WEIGHT = #{planWeight,jdbcType=DECIMAL},
+      </if>
+    </set>
+    where ID = #{id,jdbcType=VARCHAR}
+  </update>
+  <select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap">
+    <include refid="select"/>
+    where ID = #{id,jdbcType=VARCHAR}
+  </select>
+  <select id="selectByParameters" parameterType="java.util.HashMap" resultMap="BaseResultMap">
+    <include refid="select"/>
+    <include refid="where"/>
+  </select>
+  <select id="selectLikeByParameters" parameterType="java.util.HashMap" resultMap="BaseResultMap">
+    <include refid="select"/>
+    <include refid="whereLike"/>
+  </select>
+  <insert id="batchInsert" parameterType="java.util.List">
+    insert into EMS_GM_PC_JH 
+      (ID, 
+      JH_TIME, STATE, GRADES, 
+      SPECIFICATIONS, LENGTHS, CHEMICAL_STANDARD, 
+      SURFACE_STANDARD, WORKPROC_TYPE, 
+      IATERAL_AREA, LENGTH_TIMES_WIDTH, 
+      TRANSPORT_TYPE, RECEIVE_TIME, 
+      CREATE_MAN, CREATE_TIME, UPDATE_MAN, 
+      UPDATE_TIME, MEMO, PURPOSE, 
+      UNITID, DIMENSION, KXF_WEIGHT, 
+      YXF_WEIGHT, PLAN_WEIGHT)
+    ( <foreach collection="list" item="item" separator="union all"> 
+   select  
+      #{item.id,jdbcType=VARCHAR}, 
+      #{item.jhTime,jdbcType=TIMESTAMP}, #{item.state,jdbcType=VARCHAR}, #{item.grades,jdbcType=VARCHAR}, 
+      #{item.specifications,jdbcType=VARCHAR}, #{item.lengths,jdbcType=DECIMAL}, #{item.chemicalStandard,jdbcType=VARCHAR}, 
+      #{item.surfaceStandard,jdbcType=VARCHAR}, #{item.workprocType,jdbcType=VARCHAR}, 
+      #{item.iateralArea,jdbcType=VARCHAR}, #{item.lengthTimesWidth,jdbcType=VARCHAR}, 
+      #{item.transportType,jdbcType=VARCHAR}, #{item.receiveTime,jdbcType=TIMESTAMP}, 
+      #{item.createMan,jdbcType=VARCHAR}, #{item.createTime,jdbcType=TIMESTAMP}, #{item.updateMan,jdbcType=VARCHAR}, 
+      #{item.updateTime,jdbcType=TIMESTAMP}, #{item.memo,jdbcType=VARCHAR}, #{item.purpose,jdbcType=VARCHAR}, 
+      #{item.unitid,jdbcType=VARCHAR}, #{item.dimension,jdbcType=VARCHAR}, #{item.kxfWeight,jdbcType=DECIMAL}, 
+      #{item.yxfWeight,jdbcType=DECIMAL}, #{item.planWeight,jdbcType=DECIMAL} from dual  
+   </foreach> )
+  </insert>
+  <update id="batchUpdate" parameterType="java.util.List">
+     update EMS_GM_PC_JH
+     set
+       ID=
+       <foreach collection="list" item="item" index="index" separator=" " open="case ID" close="end">
+          when #{item.id,jdbcType=VARCHAR} then #{item.id,jdbcType=VARCHAR}
+       </foreach>
+       ,JH_TIME=
+       <foreach collection="list" item="item" index="index" separator=" " open="case ID" close="end">
+          when #{item.id,jdbcType=VARCHAR} then #{item.jhTime,jdbcType=TIMESTAMP}
+       </foreach>
+       ,STATE=
+       <foreach collection="list" item="item" index="index" separator=" " open="case ID" close="end">
+          when #{item.id,jdbcType=VARCHAR} then #{item.state,jdbcType=VARCHAR}
+       </foreach>
+       ,GRADES=
+       <foreach collection="list" item="item" index="index" separator=" " open="case ID" close="end">
+          when #{item.id,jdbcType=VARCHAR} then #{item.grades,jdbcType=VARCHAR}
+       </foreach>
+       ,SPECIFICATIONS=
+       <foreach collection="list" item="item" index="index" separator=" " open="case ID" close="end">
+          when #{item.id,jdbcType=VARCHAR} then #{item.specifications,jdbcType=VARCHAR}
+       </foreach>
+       ,LENGTHS=
+       <foreach collection="list" item="item" index="index" separator=" " open="case ID" close="end">
+          when #{item.id,jdbcType=VARCHAR} then #{item.lengths,jdbcType=DECIMAL}
+       </foreach>
+       ,CHEMICAL_STANDARD=
+       <foreach collection="list" item="item" index="index" separator=" " open="case ID" close="end">
+          when #{item.id,jdbcType=VARCHAR} then #{item.chemicalStandard,jdbcType=VARCHAR}
+       </foreach>
+       ,SURFACE_STANDARD=
+       <foreach collection="list" item="item" index="index" separator=" " open="case ID" close="end">
+          when #{item.id,jdbcType=VARCHAR} then #{item.surfaceStandard,jdbcType=VARCHAR}
+       </foreach>
+       ,WORKPROC_TYPE=
+       <foreach collection="list" item="item" index="index" separator=" " open="case ID" close="end">
+          when #{item.id,jdbcType=VARCHAR} then #{item.workprocType,jdbcType=VARCHAR}
+       </foreach>
+       ,IATERAL_AREA=
+       <foreach collection="list" item="item" index="index" separator=" " open="case ID" close="end">
+          when #{item.id,jdbcType=VARCHAR} then #{item.iateralArea,jdbcType=VARCHAR}
+       </foreach>
+       ,LENGTH_TIMES_WIDTH=
+       <foreach collection="list" item="item" index="index" separator=" " open="case ID" close="end">
+          when #{item.id,jdbcType=VARCHAR} then #{item.lengthTimesWidth,jdbcType=VARCHAR}
+       </foreach>
+       ,TRANSPORT_TYPE=
+       <foreach collection="list" item="item" index="index" separator=" " open="case ID" close="end">
+          when #{item.id,jdbcType=VARCHAR} then #{item.transportType,jdbcType=VARCHAR}
+       </foreach>
+       ,RECEIVE_TIME=
+       <foreach collection="list" item="item" index="index" separator=" " open="case ID" close="end">
+          when #{item.id,jdbcType=VARCHAR} then #{item.receiveTime,jdbcType=TIMESTAMP}
+       </foreach>
+       ,CREATE_MAN=
+       <foreach collection="list" item="item" index="index" separator=" " open="case ID" close="end">
+          when #{item.id,jdbcType=VARCHAR} then #{item.createMan,jdbcType=VARCHAR}
+       </foreach>
+       ,CREATE_TIME=
+       <foreach collection="list" item="item" index="index" separator=" " open="case ID" close="end">
+          when #{item.id,jdbcType=VARCHAR} then #{item.createTime,jdbcType=TIMESTAMP}
+       </foreach>
+       ,UPDATE_MAN=
+       <foreach collection="list" item="item" index="index" separator=" " open="case ID" close="end">
+          when #{item.id,jdbcType=VARCHAR} then #{item.updateMan,jdbcType=VARCHAR}
+       </foreach>
+       ,UPDATE_TIME=
+       <foreach collection="list" item="item" index="index" separator=" " open="case ID" close="end">
+          when #{item.id,jdbcType=VARCHAR} then #{item.updateTime,jdbcType=TIMESTAMP}
+       </foreach>
+       ,MEMO=
+       <foreach collection="list" item="item" index="index" separator=" " open="case ID" close="end">
+          when #{item.id,jdbcType=VARCHAR} then #{item.memo,jdbcType=VARCHAR}
+       </foreach>
+       ,PURPOSE=
+       <foreach collection="list" item="item" index="index" separator=" " open="case ID" close="end">
+          when #{item.id,jdbcType=VARCHAR} then #{item.purpose,jdbcType=VARCHAR}
+       </foreach>
+       ,UNITID=
+       <foreach collection="list" item="item" index="index" separator=" " open="case ID" close="end">
+          when #{item.id,jdbcType=VARCHAR} then #{item.unitid,jdbcType=VARCHAR}
+       </foreach>
+       ,DIMENSION=
+       <foreach collection="list" item="item" index="index" separator=" " open="case ID" close="end">
+          when #{item.id,jdbcType=VARCHAR} then #{item.dimension,jdbcType=VARCHAR}
+       </foreach>
+       ,KXF_WEIGHT=
+       <foreach collection="list" item="item" index="index" separator=" " open="case ID" close="end">
+          when #{item.id,jdbcType=VARCHAR} then #{item.kxfWeight,jdbcType=DECIMAL}
+       </foreach>
+       ,YXF_WEIGHT=
+       <foreach collection="list" item="item" index="index" separator=" " open="case ID" close="end">
+          when #{item.id,jdbcType=VARCHAR} then #{item.yxfWeight,jdbcType=DECIMAL}
+       </foreach>
+       ,PLAN_WEIGHT=
+       <foreach collection="list" item="item" index="index" separator=" " open="case ID" close="end">
+          when #{item.id,jdbcType=VARCHAR} then #{item.planWeight,jdbcType=DECIMAL}
+       </foreach>
+     where ID in 
+     <foreach collection="list" index="index" item="item" separator="," open="(" close=")">
+    #{item.id,jdbcType=VARCHAR}
+     </foreach> 
+  </update>
+  <delete id="batchDelete" parameterType="java.util.List">
+    delete from EMS_GM_PC_JH
+    where ID in 
+    <foreach collection="list" item="id" open="(" close=")" separator=",">
+      #{id}
+    </foreach>
+  </delete>
+  <!-- 友情提示!!!-->
+  <!-- 请将自己写的代码放在此标签之下,方便以后粘贴复制。-->
+  <select id="getMaxid" parameterType="com.steerinfo.ems.emsgmpcjh.model.EmsGmPcJh" resultType="java.lang.String">
+ select #{type} || #{startTime} || '-' ||
+       to_char(nvl(max(substr(ID, 15, 2) + 1), 1), 'fm00') as ID
+  from ems_gm_pc_jh
+ where WORKPROC_TYPE = #{workprocType}
+   and ID like '%' || #{type} || '%'
+   and JH_TIME = #{jhTime}
+  </select>
+  <update id="updateState" parameterType="com.steerinfo.ems.emsgmpcjh.model.EmsGmPcJh">
+    update ems_gm_pc_jh
+    <set>
+      <if test="state != null and state != ''">
+        STATE = #{state}
+      </if>
+    </set>
+    <where>
+      <if test="workprocType != null and workprocType!= ''">
+        and WORKPROC_TYPE = #{workprocType}
+      </if>
+      <if test="id != null and id !=''">
+        and  ID = #{id}
+      </if>
+    </where>
+  </update>
+  <!--轮次计划页面查询-->
+  <select id="getGmPcJhData" parameterType="java.util.HashMap" resultType="Map">
+    SELECT  ID as id , to_char(JH_TIME,'yyyy-mm-dd') as jhTime, STATE as state, GRADES as grades, SPECIFICATIONS as specifications, LENGTHS as lengths, CHEMICAL_STANDARD as chemicalstandard, SURFACE_STANDARD as surfacestandard,
+    WORKPROC_TYPE as workprocType, IATERAL_AREA as iateralArea,  LENGTH_TIMES_WIDTH as lengthtimeswidth, TRANSPORT_TYPE as transportType , RECEIVE_TIME as receivetime, CREATE_MAN as createman,
+    CREATE_TIME as createtime, UPDATE_MAN as updateman, UPDATE_TIME as updatime , MEMO as memo , PURPOSE as purpose, UNITID as unitid, DIMENSION as dimension, PLAN_WEIGHT as planweight,KXF_WEIGHT,YXF_WEIGHT
+    FROM
+    EMS_GM_PC_JH
+    <where>
+      <if test="startTime != null and startTime != '' and endTime !=null and endTime!='' ">
+        and  JH_TIME between to_date(#{startTime},'yyyy-mm-dd')  and to_date(#{endTime},'yyyy-mm-dd')
+      </if>
+      <if test="workprocType != null and workprocType!= '' ">
+        and WORKPROC_TYPE in (${workprocType})
+      </if>
+      <if test="id !=null and id != ''">
+       and ID= #{id}
+      </if>
+      and state in ('1','2')
+      order by jhTime,ID
+    </where>
+  </select>
+  
+</mapper>

+ 417 - 0
src/main/java/com/steerinfo/ems/emsgmpcjh/model/EmsGmPcJh.java

@@ -0,0 +1,417 @@
+package com.steerinfo.ems.emsgmpcjh.model;
+
+import com.alibaba.fastjson.annotation.JSONField;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import com.steerinfo.framework.model.IBasePO;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import org.springframework.format.annotation.DateTimeFormat;
+
+import java.math.BigDecimal;
+import java.util.Date;
+
+@ApiModel(value="国贸排产计划表")
+public class EmsGmPcJh implements IBasePO<String> {
+    /**
+     * 主键(ID,VARCHAR,100)
+     */
+    @ApiModelProperty(value="主键",required=true)
+    private String id;
+
+    /**
+     * 计划时间(JH_TIME,TIMESTAMP,7)
+     */
+    @ApiModelProperty(value="计划时间",required=false)
+    @JSONField(format = "yyyy-MM-dd")
+    private Date jhTime;
+
+    /**
+     * 状态(0已编辑1已下发2已接收)(STATE,VARCHAR,1)
+     */
+    @ApiModelProperty(value="状态(0已编辑1已下发2已接收)",required=false)
+    private String state;
+
+    /**
+     * 钢种(GRADES,VARCHAR,100)
+     */
+    @ApiModelProperty(value="钢种",required=false)
+    private String grades;
+
+    /**
+     * 规格(SPECIFICATIONS,VARCHAR,100)
+     */
+    @ApiModelProperty(value="规格",required=false)
+    private String specifications;
+
+    /**
+     * 长度(LENGTHS,DECIMAL,0)
+     */
+    @ApiModelProperty(value="长度",required=false)
+    private BigDecimal lengths;
+
+    /**
+     * 化学成分标准(CHEMICAL_STANDARD,VARCHAR,100)
+     */
+    @ApiModelProperty(value="化学成分标准",required=false)
+    private String chemicalStandard;
+
+    /**
+     * 表面成分标准(SURFACE_STANDARD,VARCHAR,100)
+     */
+    @ApiModelProperty(value="表面成分标准",required=false)
+        private String surfaceStandard;
+
+    /**
+     * 工序类型(WORKPROC_TYPE,VARCHAR,100)
+     */
+    @ApiModelProperty(value="工序类型",required=false)
+    private String workprocType;
+
+    /**
+     * 断面(IATERAL_AREA,VARCHAR,100)
+     */
+    @ApiModelProperty(value="断面",required=false)
+    private String iateralArea;
+
+    /**
+     * 长度*宽度(LENGTH_TIMES_WIDTH,VARCHAR,100)
+     */
+    @ApiModelProperty(value="长度*宽度",required=false)
+    private String lengthTimesWidth;
+
+    /**
+     * 运输方式(TRANSPORT_TYPE,VARCHAR,100)
+     */
+    @ApiModelProperty(value="运输方式",required=false)
+    private String transportType;
+
+    /**
+     * 接收时间(RECEIVE_TIME,TIMESTAMP,7)
+     */
+    @ApiModelProperty(value="接收时间",required=false)
+    private Date receiveTime;
+
+    /**
+     * 创建人(CREATE_MAN,VARCHAR,100)
+     */
+    @ApiModelProperty(value="创建人",required=false)
+    private String createMan;
+
+    /**
+     * 创建时间(CREATE_TIME,TIMESTAMP,7)
+     */
+    @ApiModelProperty(value="创建时间",required=false)
+    private Date createTime;
+
+    /**
+     * 修改人(UPDATE_MAN,VARCHAR,100)
+     */
+    @ApiModelProperty(value="修改人",required=false)
+    private String updateMan;
+
+    /**
+     * 修改时间(UPDATE_TIME,TIMESTAMP,7)
+     */
+    @ApiModelProperty(value="修改时间",required=false)
+    private Date updateTime;
+
+    /**
+     * 备注(MEMO,VARCHAR,100)
+     */
+    @ApiModelProperty(value="备注",required=false)
+    private String memo;
+
+    /**
+     * 用途(PURPOSE,VARCHAR,100)
+     */
+    @ApiModelProperty(value="用途",required=false)
+    private String purpose;
+
+    /**
+     * 单位id(UNITID,VARCHAR,20)
+     */
+    @ApiModelProperty(value="单位id",required=false)
+    private String unitid;
+
+    /**
+     * 截面尺寸(DIMENSION,VARCHAR,100)
+     */
+    @ApiModelProperty(value="截面尺寸",required=false)
+    private String dimension;
+
+    /**
+     * 可下发量(KXF_WEIGHT,DECIMAL,0)
+     */
+    @ApiModelProperty(value="可下发量",required=false)
+    private BigDecimal kxfWeight;
+
+    /**
+     * 已下发量(YXF_WEIGHT,DECIMAL,0)
+     */
+    @ApiModelProperty(value="已下发量",required=false)
+    private BigDecimal yxfWeight;
+
+    /**
+     * 计划量(PLAN_WEIGHT,DECIMAL,0)
+     */
+    @ApiModelProperty(value="计划量",required=false)
+    private BigDecimal planWeight;
+
+    private String type;
+
+    public String getType() {
+        return type;
+    }
+
+    public void setType(String type) {
+        this.type = type;
+    }
+
+    private static final long serialVersionUID = 1L;
+
+    public String getId() {
+        return id;
+    }
+
+    public void setId(String id) {
+        this.id = id == null ? null : id.trim();
+    }
+
+    public Date getJhTime() {
+        return jhTime;
+    }
+
+    public void setJhTime(Date jhTime) {
+        this.jhTime = jhTime;
+    }
+
+    public String getState() {
+        return state;
+    }
+
+    public void setState(String state) {
+        this.state = state == null ? null : state.trim();
+    }
+
+    public String getGrades() {
+        return grades;
+    }
+
+    public void setGrades(String grades) {
+        this.grades = grades == null ? null : grades.trim();
+    }
+
+    public String getSpecifications() {
+        return specifications;
+    }
+
+    public void setSpecifications(String specifications) {
+        this.specifications = specifications == null ? null : specifications.trim();
+    }
+
+    public BigDecimal getLengths() {
+        return lengths;
+    }
+
+    public void setLengths(BigDecimal lengths) {
+        this.lengths = lengths;
+    }
+
+    public String getChemicalStandard() {
+        return chemicalStandard;
+    }
+
+    public void setChemicalStandard(String chemicalStandard) {
+        this.chemicalStandard = chemicalStandard == null ? null : chemicalStandard.trim();
+    }
+
+    public String getSurfaceStandard() {
+        return surfaceStandard;
+    }
+
+    public void setSurfaceStandard(String surfaceStandard) {
+        this.surfaceStandard = surfaceStandard == null ? null : surfaceStandard.trim();
+    }
+
+    public String getWorkprocType() {
+        return workprocType;
+    }
+
+    public void setWorkprocType(String workprocType) {
+        this.workprocType = workprocType == null ? null : workprocType.trim();
+    }
+
+    public String getIateralArea() {
+        return iateralArea;
+    }
+
+    public void setIateralArea(String iateralArea) {
+        this.iateralArea = iateralArea == null ? null : iateralArea.trim();
+    }
+
+    public String getLengthTimesWidth() {
+        return lengthTimesWidth;
+    }
+
+    public void setLengthTimesWidth(String lengthTimesWidth) {
+        this.lengthTimesWidth = lengthTimesWidth == null ? null : lengthTimesWidth.trim();
+    }
+
+    public String getTransportType() {
+        return transportType;
+    }
+
+    public void setTransportType(String transportType) {
+        this.transportType = transportType == null ? null : transportType.trim();
+    }
+
+    public Date getReceiveTime() {
+        return receiveTime;
+    }
+
+    public void setReceiveTime(Date receiveTime) {
+        this.receiveTime = receiveTime;
+    }
+
+    public String getCreateMan() {
+        return createMan;
+    }
+
+    public void setCreateMan(String createMan) {
+        this.createMan = createMan == null ? null : createMan.trim();
+    }
+
+    public Date getCreateTime() {
+        return createTime;
+    }
+
+    public void setCreateTime(Date createTime) {
+        this.createTime = createTime;
+    }
+
+    public String getUpdateMan() {
+        return updateMan;
+    }
+
+    public void setUpdateMan(String updateMan) {
+        this.updateMan = updateMan == null ? null : updateMan.trim();
+    }
+
+    public Date getUpdateTime() {
+        return updateTime;
+    }
+
+    public void setUpdateTime(Date updateTime) {
+        this.updateTime = updateTime;
+    }
+
+    public String getMemo() {
+        return memo;
+    }
+
+    public void setMemo(String memo) {
+        this.memo = memo == null ? null : memo.trim();
+    }
+
+    public String getPurpose() {
+        return purpose;
+    }
+
+    public void setPurpose(String purpose) {
+        this.purpose = purpose == null ? null : purpose.trim();
+    }
+
+    public String getUnitid() {
+        return unitid;
+    }
+
+    public void setUnitid(String unitid) {
+        this.unitid = unitid == null ? null : unitid.trim();
+    }
+
+    public String getDimension() {
+        return dimension;
+    }
+
+    public void setDimension(String dimension) {
+        this.dimension = dimension == null ? null : dimension.trim();
+    }
+
+    public BigDecimal getKxfWeight() {
+        return kxfWeight;
+    }
+
+    public void setKxfWeight(BigDecimal kxfWeight) {
+        this.kxfWeight = kxfWeight;
+    }
+
+    public BigDecimal getYxfWeight() {
+        return yxfWeight;
+    }
+
+    public void setYxfWeight(BigDecimal yxfWeight) {
+        this.yxfWeight = yxfWeight;
+    }
+
+    public BigDecimal getPlanWeight() {
+        return planWeight;
+    }
+
+    public void setPlanWeight(BigDecimal planWeight) {
+        this.planWeight = planWeight;
+    }
+    private String startTime;
+
+    public String getStartTime() {
+        return startTime;
+    }
+
+    public void setStartTime(String startTime) {
+        this.startTime = startTime;
+    }
+
+    public String getEndTime() {
+        return endTime;
+    }
+
+    public void setEndTime(String endTime) {
+        this.endTime = endTime;
+    }
+
+    private String endTime;
+
+    @Override
+    public String toString() {
+        StringBuilder sb = new StringBuilder();
+        sb.append(getClass().getSimpleName());
+        sb.append(" [");
+        sb.append("Hash = ").append(hashCode());
+        sb.append(", id=").append(id);
+        sb.append(", jhTime=").append(jhTime);
+        sb.append(", state=").append(state);
+        sb.append(", grades=").append(grades);
+        sb.append(", specifications=").append(specifications);
+        sb.append(", lengths=").append(lengths);
+        sb.append(", chemicalStandard=").append(chemicalStandard);
+        sb.append(", surfaceStandard=").append(surfaceStandard);
+        sb.append(", workprocType=").append(workprocType);
+        sb.append(", iateralArea=").append(iateralArea);
+        sb.append(", lengthTimesWidth=").append(lengthTimesWidth);
+        sb.append(", transportType=").append(transportType);
+        sb.append(", receiveTime=").append(receiveTime);
+        sb.append(", createMan=").append(createMan);
+        sb.append(", createTime=").append(createTime);
+        sb.append(", updateMan=").append(updateMan);
+        sb.append(", updateTime=").append(updateTime);
+        sb.append(", memo=").append(memo);
+        sb.append(", purpose=").append(purpose);
+        sb.append(", unitid=").append(unitid);
+        sb.append(", dimension=").append(dimension);
+        sb.append(", kxfWeight=").append(kxfWeight);
+        sb.append(", yxfWeight=").append(yxfWeight);
+        sb.append(", planWeight=").append(planWeight);
+        sb.append(", serialVersionUID=").append(serialVersionUID);
+        sb.append("]");
+        return sb.toString();
+    }
+}

+ 32 - 0
src/main/java/com/steerinfo/ems/emsgmpcjh/service/IEmsGmPcJhService.java

@@ -0,0 +1,32 @@
+package com.steerinfo.ems.emsgmpcjh.service;
+
+import com.steerinfo.ems.emsgmpcjh.model.EmsGmPcJh;
+import com.steerinfo.framework.service.IBaseService;
+import com.steerinfo.framework.service.pagehelper.PageList;
+
+import java.util.HashMap;
+import java.util.Map;
+
+/**
+ * EmsGmPcJh服务接口:
+ * @author generator
+ * @version 1.0-SNAPSHORT 2021-09-11 03:49
+ * 类描述
+ * 修订历史:
+ * 日期:2021-09-11
+ * 作者:generator
+ * 参考:
+ * 描述:EmsGmPcJh服务接口
+ * @see null
+ * @Copyright 湖南视拓信息技术股份有限公司. All rights reserved.
+ */
+public interface IEmsGmPcJhService extends IBaseService<EmsGmPcJh, String>{
+    //获取国贸标号
+    String getMaxid(EmsGmPcJh emsGmPcJh);
+    //下发与取消下发
+    int  updateState(EmsGmPcJh emsGmPcJh);
+    //轮次计划查询
+    PageList<Map<String, Object>>  getGmPcJhDataForPage(HashMap<String, Object> parmas, Integer pageNum,
+                                                         Integer pageSize);
+
+}

+ 59 - 0
src/main/java/com/steerinfo/ems/emsgmpcjh/service/impl/EmsGmPcJhServiceImpl.java

@@ -0,0 +1,59 @@
+package com.steerinfo.ems.emsgmpcjh.service.impl;
+
+import com.steerinfo.ems.emsgmpcjh.model.EmsGmPcJh;
+import com.steerinfo.framework.mapper.IBaseMapper;
+import com.steerinfo.framework.service.impl.BaseServiceImpl;
+import com.steerinfo.ems.emsgmpcjh.mapper.EmsGmPcJhMapper;
+import com.steerinfo.ems.emsgmpcjh.service.IEmsGmPcJhService;
+import com.steerinfo.framework.service.pagehelper.PageHelper;
+import com.steerinfo.framework.service.pagehelper.PageList;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+
+/**
+ * EmsGmPcJh服务实现:
+ * @author generator
+ * @version 1.0-SNAPSHORT 2021-09-11 03:49
+ * 类描述
+ * 修订历史:
+ * 日期:2021-09-11
+ * 作者:generator
+ * 参考:
+ * 描述:EmsGmPcJh服务实现
+ * @see null
+ * @Copyright 湖南视拓信息技术股份有限公司. All rights reserved.
+ */
+@Service(value = "emsGmPcJhService")
+public class EmsGmPcJhServiceImpl extends BaseServiceImpl<EmsGmPcJh, String> implements IEmsGmPcJhService {
+
+    @Autowired
+    private EmsGmPcJhMapper emsGmPcJhMapper;
+
+    @Override
+    protected IBaseMapper<EmsGmPcJh, String> getMapper() {
+        return emsGmPcJhMapper;
+    }
+
+    @Override
+    public String getMaxid(EmsGmPcJh emsGmPcJh) {
+        return emsGmPcJhMapper.getMaxid(emsGmPcJh);
+    }
+
+    @Override
+    public int updateState(EmsGmPcJh emsGmPcJh) {
+        return emsGmPcJhMapper.updateState(emsGmPcJh);
+    }
+
+    @Override
+    public PageList<Map<String, Object>> getGmPcJhDataForPage(HashMap<String, Object> parmas, Integer pageNum, Integer pageSize) {
+        PageHelper.startPage(pageNum, pageSize);
+        List<Map<String, Object>> gmPcJhData = emsGmPcJhMapper.getGmPcJhData(parmas);
+        PageList<Map<String,Object>> plist = new PageList<Map<String,Object>>(gmPcJhData);
+        return plist;
+    }
+
+}

+ 107 - 0
src/main/resources/application.properties

@@ -0,0 +1,107 @@
+server.port=${SERVER_PORT:8086}
+#\u5FAE\u670D\u52A1\u7AEF\u53E3
+spring.jmx.default-domain=ems
+#\u6307\u5B9A\u7248\u672C
+api.version=v1
+#\u6307\u5B9Aencoding\u683C\u5F0F
+server.tomcat.uri-encoding=UTF-8
+
+# \u5B9A\u4E49swagger2\u5305\u8DEF\u5F84
+swagger2.enable=true
+swagger2.basepackage=com.steerinfo
+
+#\u542F\u7528shutdown
+# endpoints.shutdown.enabled=true
+#\u7981\u7528\u5BC6\u7801\u9A8C\u8BC1
+# endpoints.shutdown.sensitive=false
+
+#7*24*60*60*1000
+access.token.ttl=604800000
+#3*7*24*60*60*1000
+refresh.token.ttl=1814400000
+#;/${api.version}/sys/**/export;/${api.version}/sys/**/import;/**,auth
+# \u62E6\u622A\u5668\u9644\u52A0\u914D\u7F6E\uFF1A\u6BCF\u4E2Aurl\u8DEF\u5F84\u4EE5;\u5206\u9694\uFF1Burl\u7684\u9017\u53F7\u540Eauth\u8868\u793A\u9700\u8981\u8BA4\u8BC1\u540E\u624D\u80FD\u8BBF\u95EE\uFF0C\u6CA1\u6709\u6216\u8005anon\u8868\u793A\u4E0D\u6821\u9A8C
+shiro.chains=/auth/login/**;/ktr/;/${api.version}/sys/**/export;/${api.version}/syspromachineauths/verify**;/${api.version}/sys/**/import;/**,auth
+# \u62E6\u622A\u5668\u9644\u52A0\u914D\u7F6E\uFF1A\u6BCF\u4E2Aurl\u8DEF\u5F84\u4EE5;\u5206\u9694\uFF1Burl\u7684\u9017\u53F7\u540Eauth\u8868\u793A\u8BA4\u8BC1\u540E\u624D\u80FD\u8BBF\u95EE\uFF0C\u6CA1\u6709\u6216\u8005anon\u8868\u793A\u4E0D\u6821\u9A8C
+shiro.chains.append=/swagger**;/idmg/**;/ktr/;/${api.version}/sysposts/list/user**;/webjars/**;/v2/api**;/images/**;/configuration/**;
+
+# Redis\u7F13\u5B58\u914D\u7F6E
+cache.level=2
+#Redis\u7F13\u5B58\u914D\u7F6E
+redis.host=172.16.90.238
+redis.port=6379
+redis.pwd=123456
+redis.project.prefix=slts
+redis.pool.maxTotal=8
+redis.pool.maxWaitMillis=1000
+redis.pool.maxIdle=4
+redis.cache.time=864000000
+redis.database=0
+
+#mq
+spring.rabbitmq.host=172.16.90.238
+spring.rabbitmq.port=8084 
+spring.rabbitmq.username=admin
+spring.rabbitmq.password=123456
+
+#\u65E5\u5FD7 purchase
+#\u652F\u6301\u9AD8\u4EAE\u8F93\u51FA
+spring.output.ansi.enabled=ALWAYS
+spring.main.show-banner=false
+logging.level.com.steer=DEBUG
+
+#\u56FD\u9645\u5316
+spring.messages.basename=message
+spring.messages.encoding=UTF-8
+
+management.health.mail.enabled=false
+# MyBatis \u914D\u7F6E
+mybatis.mapper-locations=classpath*:com/hnshituo/mapper/*.xml
+###spring boot\u81EA\u52A8\u914D\u7F6E\u5355\u6570\u636E\u6E90###
+#spring.datasource.url=jdbc:oracle:thin:@192.168.1.160:1521:orcl
+#spring.datasource.username=sale
+#spring.datasource.password=oracle
+
+#\u591A\u6570\u636E\u6E90\u914D\u7F6E
+#master
+multiple.datasource.master.driver-class-name=oracle.jdbc.driver.OracleDriver
+multiple.datasource.master.url=jdbc:oracle:thin:@172.16.90.237:1521:zngksid
+multiple.datasource.master.username=ems
+multiple.datasource.master.password=123456
+multiple.datasource.master.initial-size=3
+multiple.datasource.master.min-idle=3
+multiple.datasource.master.maxActive=10
+multiple.datasource.master.maxWait=60000
+multiple.datasource.master.timeBetweenEvictionRunsMillis=60000
+multiple.datasource.master.minEvictableIdleTimeMillis=300000
+
+#slave1
+multiple.datasource.slave1.driver-class-name=
+multiple.datasource.slave1.url=
+multiple.datasource.slave1.username=
+multiple.datasource.slave1.password=
+#slave2
+multiple.datasource.slave2.driver-class-name=
+multiple.datasource.slave2.url=
+multiple.datasource.slave2.username=
+multiple.datasource.slave2.password=
+#other
+multiple.datasource.other.driver-class-name=com.microsoft.sqlserver.jdbc.SQLServerDriver
+multiple.datasource.other.url= jdbc:sqlserver://47.114.7.173:1433;database=Meter_Base
+multiple.datasource.other.username=mb
+multiple.datasource.other.password=mb@8888
+#ftp
+custom.config.file-server.ip= 192.168.3.49
+custom.config.file-server.port= 21
+custom.config.file-ftp-user= ATEMSFTP
+custom.config.file-ftp-password= 123456
+
+web.upload-path=/static/
+genxml.pth=/genxml/
+spring.http.encoding.force=true
+spring.mvc.static-path-pattern=/**
+spring.resources.static-locations=classpath:/META-INF/resources/,classpath:/resources/,\
+  classpath:/static/,classpath:/genxml/,classpath:/public/,file:${web.upload-path},file:${genxml.pth}
+
+#\uFFFD\u013C\uFFFD\u00B7\uFFFD\uFFFD
+web.apk-path=data/lims/test/