tudc 4 년 전
부모
커밋
83ab17c3ea

+ 4 - 0
src/main/java/com/minpay/common/constant/Constant.java

@@ -309,6 +309,10 @@ public class Constant implements IMINBusinessConstant{
 	 * 原始文件类型 1000005:过电压
 	 */
 	public static final String FILE_DETAIL_TYPE_04 = "1000005";
+	/**
+	 * 原始文件类型 1000006:95598工单
+	 */
+	public static final String FILE_DETAIL_TYPE_05 = "1000006";
 	
 	/**
 	 * 报表类型 TQTDRB:台区停电日报

+ 97 - 0
src/main/java/com/minpay/db/table/mapper/Dw95598GdlxMapper.java

@@ -0,0 +1,97 @@
+package com.minpay.db.table.mapper;
+
+import com.minpay.db.table.model.Dw95598Gdlx;
+import com.minpay.db.table.model.Dw95598GdlxExample;
+import com.startup.minpay.frame.jdbc.IMINMybatisEntityMapper;
+import java.util.List;
+import org.apache.ibatis.annotations.Param;
+
+public interface Dw95598GdlxMapper extends IMINMybatisEntityMapper<Dw95598Gdlx, String, Dw95598GdlxExample> {
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table dw_95598_gdlx
+     *
+     * @mbggenerated
+     */
+    int countByExample(Dw95598GdlxExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table dw_95598_gdlx
+     *
+     * @mbggenerated
+     */
+    int deleteByExample(Dw95598GdlxExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table dw_95598_gdlx
+     *
+     * @mbggenerated
+     */
+    int deleteByPrimaryKey(String id);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table dw_95598_gdlx
+     *
+     * @mbggenerated
+     */
+    int insert(Dw95598Gdlx record);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table dw_95598_gdlx
+     *
+     * @mbggenerated
+     */
+    int insertSelective(Dw95598Gdlx record);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table dw_95598_gdlx
+     *
+     * @mbggenerated
+     */
+    List<Dw95598Gdlx> selectByExample(Dw95598GdlxExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table dw_95598_gdlx
+     *
+     * @mbggenerated
+     */
+    Dw95598Gdlx selectByPrimaryKey(String id);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table dw_95598_gdlx
+     *
+     * @mbggenerated
+     */
+    int updateByExampleSelective(@Param("record") Dw95598Gdlx record, @Param("example") Dw95598GdlxExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table dw_95598_gdlx
+     *
+     * @mbggenerated
+     */
+    int updateByExample(@Param("record") Dw95598Gdlx record, @Param("example") Dw95598GdlxExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table dw_95598_gdlx
+     *
+     * @mbggenerated
+     */
+    int updateByPrimaryKeySelective(Dw95598Gdlx record);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table dw_95598_gdlx
+     *
+     * @mbggenerated
+     */
+    int updateByPrimaryKey(Dw95598Gdlx record);
+}

+ 97 - 0
src/main/java/com/minpay/db/table/mapper/DwFileDetail05Mapper.java

@@ -0,0 +1,97 @@
+package com.minpay.db.table.mapper;
+
+import com.minpay.db.table.model.DwFileDetail05;
+import com.minpay.db.table.model.DwFileDetail05Example;
+import com.startup.minpay.frame.jdbc.IMINMybatisEntityMapper;
+import java.util.List;
+import org.apache.ibatis.annotations.Param;
+
+public interface DwFileDetail05Mapper extends IMINMybatisEntityMapper<DwFileDetail05, String, DwFileDetail05Example> {
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table dw_file_detail_05
+     *
+     * @mbggenerated
+     */
+    int countByExample(DwFileDetail05Example example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table dw_file_detail_05
+     *
+     * @mbggenerated
+     */
+    int deleteByExample(DwFileDetail05Example example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table dw_file_detail_05
+     *
+     * @mbggenerated
+     */
+    int deleteByPrimaryKey(String id);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table dw_file_detail_05
+     *
+     * @mbggenerated
+     */
+    int insert(DwFileDetail05 record);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table dw_file_detail_05
+     *
+     * @mbggenerated
+     */
+    int insertSelective(DwFileDetail05 record);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table dw_file_detail_05
+     *
+     * @mbggenerated
+     */
+    List<DwFileDetail05> selectByExample(DwFileDetail05Example example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table dw_file_detail_05
+     *
+     * @mbggenerated
+     */
+    DwFileDetail05 selectByPrimaryKey(String id);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table dw_file_detail_05
+     *
+     * @mbggenerated
+     */
+    int updateByExampleSelective(@Param("record") DwFileDetail05 record, @Param("example") DwFileDetail05Example example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table dw_file_detail_05
+     *
+     * @mbggenerated
+     */
+    int updateByExample(@Param("record") DwFileDetail05 record, @Param("example") DwFileDetail05Example example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table dw_file_detail_05
+     *
+     * @mbggenerated
+     */
+    int updateByPrimaryKeySelective(DwFileDetail05 record);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table dw_file_detail_05
+     *
+     * @mbggenerated
+     */
+    int updateByPrimaryKey(DwFileDetail05 record);
+}

+ 133 - 0
src/main/java/com/minpay/db/table/model/Dw95598Gdlx.java

@@ -0,0 +1,133 @@
+package com.minpay.db.table.model;
+
+import com.startup.minpay.frame.data.AbstractMINBean;
+
+public class Dw95598Gdlx extends AbstractMINBean {
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column dw_95598_gdlx.D9G_ID
+     *
+     * @mbggenerated
+     */
+    private String id;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column dw_95598_gdlx.D9G_NAME
+     *
+     * @mbggenerated
+     */
+    private String name;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column dw_95598_gdlx.D9G_PARENT_ID
+     *
+     * @mbggenerated
+     */
+    private String parentId;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column dw_95598_gdlx.D9G_LEVEL
+     *
+     * @mbggenerated
+     */
+    private String level;
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column dw_95598_gdlx.D9G_ID
+     *
+     * @return the value of dw_95598_gdlx.D9G_ID
+     *
+     * @mbggenerated
+     */
+    public String getId() {
+        return id;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column dw_95598_gdlx.D9G_ID
+     *
+     * @param id the value for dw_95598_gdlx.D9G_ID
+     *
+     * @mbggenerated
+     */
+    public void setId(String id) {
+        this.id = id == null ? null : id.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column dw_95598_gdlx.D9G_NAME
+     *
+     * @return the value of dw_95598_gdlx.D9G_NAME
+     *
+     * @mbggenerated
+     */
+    public String getName() {
+        return name;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column dw_95598_gdlx.D9G_NAME
+     *
+     * @param name the value for dw_95598_gdlx.D9G_NAME
+     *
+     * @mbggenerated
+     */
+    public void setName(String name) {
+        this.name = name == null ? null : name.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column dw_95598_gdlx.D9G_PARENT_ID
+     *
+     * @return the value of dw_95598_gdlx.D9G_PARENT_ID
+     *
+     * @mbggenerated
+     */
+    public String getParentId() {
+        return parentId;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column dw_95598_gdlx.D9G_PARENT_ID
+     *
+     * @param parentId the value for dw_95598_gdlx.D9G_PARENT_ID
+     *
+     * @mbggenerated
+     */
+    public void setParentId(String parentId) {
+        this.parentId = parentId == null ? null : parentId.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column dw_95598_gdlx.D9G_LEVEL
+     *
+     * @return the value of dw_95598_gdlx.D9G_LEVEL
+     *
+     * @mbggenerated
+     */
+    public String getLevel() {
+        return level;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column dw_95598_gdlx.D9G_LEVEL
+     *
+     * @param level the value for dw_95598_gdlx.D9G_LEVEL
+     *
+     * @mbggenerated
+     */
+    public void setLevel(String level) {
+        this.level = level == null ? null : level.trim();
+    }
+}

+ 593 - 0
src/main/java/com/minpay/db/table/model/Dw95598GdlxExample.java

@@ -0,0 +1,593 @@
+package com.minpay.db.table.model;
+
+import java.util.ArrayList;
+import java.util.List;
+
+public class Dw95598GdlxExample {
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table dw_95598_gdlx
+     *
+     * @mbggenerated
+     */
+    protected String orderByClause;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table dw_95598_gdlx
+     *
+     * @mbggenerated
+     */
+    protected boolean distinct;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table dw_95598_gdlx
+     *
+     * @mbggenerated
+     */
+    protected List<Criteria> oredCriteria;
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table dw_95598_gdlx
+     *
+     * @mbggenerated
+     */
+    public Dw95598GdlxExample() {
+        oredCriteria = new ArrayList<Criteria>();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table dw_95598_gdlx
+     *
+     * @mbggenerated
+     */
+    public void setOrderByClause(String orderByClause) {
+        this.orderByClause = orderByClause;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table dw_95598_gdlx
+     *
+     * @mbggenerated
+     */
+    public String getOrderByClause() {
+        return orderByClause;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table dw_95598_gdlx
+     *
+     * @mbggenerated
+     */
+    public void setDistinct(boolean distinct) {
+        this.distinct = distinct;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table dw_95598_gdlx
+     *
+     * @mbggenerated
+     */
+    public boolean isDistinct() {
+        return distinct;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table dw_95598_gdlx
+     *
+     * @mbggenerated
+     */
+    public List<Criteria> getOredCriteria() {
+        return oredCriteria;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table dw_95598_gdlx
+     *
+     * @mbggenerated
+     */
+    public void or(Criteria criteria) {
+        oredCriteria.add(criteria);
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table dw_95598_gdlx
+     *
+     * @mbggenerated
+     */
+    public Criteria or() {
+        Criteria criteria = createCriteriaInternal();
+        oredCriteria.add(criteria);
+        return criteria;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table dw_95598_gdlx
+     *
+     * @mbggenerated
+     */
+    public Criteria createCriteria() {
+        Criteria criteria = createCriteriaInternal();
+        if (oredCriteria.size() == 0) {
+            oredCriteria.add(criteria);
+        }
+        return criteria;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table dw_95598_gdlx
+     *
+     * @mbggenerated
+     */
+    protected Criteria createCriteriaInternal() {
+        Criteria criteria = new Criteria();
+        return criteria;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table dw_95598_gdlx
+     *
+     * @mbggenerated
+     */
+    public void clear() {
+        oredCriteria.clear();
+        orderByClause = null;
+        distinct = false;
+    }
+
+    /**
+     * This class was generated by MyBatis Generator.
+     * This class corresponds to the database table dw_95598_gdlx
+     *
+     * @mbggenerated
+     */
+    protected abstract static class GeneratedCriteria {
+        protected List<Criterion> criteria;
+
+        protected GeneratedCriteria() {
+            super();
+            criteria = new ArrayList<Criterion>();
+        }
+
+        public boolean isValid() {
+            return criteria.size() > 0;
+        }
+
+        public List<Criterion> getCriteria() {
+            return criteria;
+        }
+
+        protected void addCriterion(String condition) {
+            if (condition == null) {
+                throw new RuntimeException("Value for condition cannot be null");
+            }
+            criteria.add(new Criterion(condition));
+        }
+
+        protected void addCriterion(String condition, Object value, String property) {
+            if (value == null) {
+                throw new RuntimeException("Value for " + property + " cannot be null");
+            }
+            criteria.add(new Criterion(condition, value));
+        }
+
+        protected void addCriterion(String condition, Object value1, Object value2, String property) {
+            if (value1 == null || value2 == null) {
+                throw new RuntimeException("Between values for " + property + " cannot be null");
+            }
+            criteria.add(new Criterion(condition, value1, value2));
+        }
+
+        public Criteria andIdIsNull() {
+            addCriterion("D9G_ID is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdIsNotNull() {
+            addCriterion("D9G_ID is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdEqualTo(String value) {
+            if(value == null ){
+                andIdIsNull();
+            } else {
+                addCriterion("D9G_ID =", value, "id");
+            }
+            return (Criteria) this;
+        }
+
+        public Criteria andIdNotEqualTo(String value) {
+            if(value == null ){
+                andIdIsNotNull();
+            } else {
+                addCriterion("D9G_ID <>", value, "id");
+            }
+            return (Criteria) this;
+        }
+
+        public Criteria andIdGreaterThan(String value) {
+            addCriterion("D9G_ID >", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdGreaterThanOrEqualTo(String value) {
+            addCriterion("D9G_ID >=", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdLessThan(String value) {
+            addCriterion("D9G_ID <", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdLessThanOrEqualTo(String value) {
+            addCriterion("D9G_ID <=", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdLike(String value) {
+            addCriterion("D9G_ID like", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdNotLike(String value) {
+            addCriterion("D9G_ID not like", value, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdIn(List<String> values) {
+            addCriterion("D9G_ID in", values, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdNotIn(List<String> values) {
+            addCriterion("D9G_ID not in", values, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdBetween(String value1, String value2) {
+            addCriterion("D9G_ID between", value1, value2, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andIdNotBetween(String value1, String value2) {
+            addCriterion("D9G_ID not between", value1, value2, "id");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameIsNull() {
+            addCriterion("D9G_NAME is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameIsNotNull() {
+            addCriterion("D9G_NAME is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameEqualTo(String value) {
+            if(value == null ){
+                andNameIsNull();
+            } else {
+                addCriterion("D9G_NAME =", value, "name");
+            }
+            return (Criteria) this;
+        }
+
+        public Criteria andNameNotEqualTo(String value) {
+            if(value == null ){
+                andNameIsNotNull();
+            } else {
+                addCriterion("D9G_NAME <>", value, "name");
+            }
+            return (Criteria) this;
+        }
+
+        public Criteria andNameGreaterThan(String value) {
+            addCriterion("D9G_NAME >", value, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameGreaterThanOrEqualTo(String value) {
+            addCriterion("D9G_NAME >=", value, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameLessThan(String value) {
+            addCriterion("D9G_NAME <", value, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameLessThanOrEqualTo(String value) {
+            addCriterion("D9G_NAME <=", value, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameLike(String value) {
+            addCriterion("D9G_NAME like", value, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameNotLike(String value) {
+            addCriterion("D9G_NAME not like", value, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameIn(List<String> values) {
+            addCriterion("D9G_NAME in", values, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameNotIn(List<String> values) {
+            addCriterion("D9G_NAME not in", values, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameBetween(String value1, String value2) {
+            addCriterion("D9G_NAME between", value1, value2, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andNameNotBetween(String value1, String value2) {
+            addCriterion("D9G_NAME not between", value1, value2, "name");
+            return (Criteria) this;
+        }
+
+        public Criteria andParentIdIsNull() {
+            addCriterion("D9G_PARENT_ID is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andParentIdIsNotNull() {
+            addCriterion("D9G_PARENT_ID is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andParentIdEqualTo(String value) {
+            if(value == null ){
+                andParentIdIsNull();
+            } else {
+                addCriterion("D9G_PARENT_ID =", value, "parentId");
+            }
+            return (Criteria) this;
+        }
+
+        public Criteria andParentIdNotEqualTo(String value) {
+            if(value == null ){
+                andParentIdIsNotNull();
+            } else {
+                addCriterion("D9G_PARENT_ID <>", value, "parentId");
+            }
+            return (Criteria) this;
+        }
+
+        public Criteria andParentIdGreaterThan(String value) {
+            addCriterion("D9G_PARENT_ID >", value, "parentId");
+            return (Criteria) this;
+        }
+
+        public Criteria andParentIdGreaterThanOrEqualTo(String value) {
+            addCriterion("D9G_PARENT_ID >=", value, "parentId");
+            return (Criteria) this;
+        }
+
+        public Criteria andParentIdLessThan(String value) {
+            addCriterion("D9G_PARENT_ID <", value, "parentId");
+            return (Criteria) this;
+        }
+
+        public Criteria andParentIdLessThanOrEqualTo(String value) {
+            addCriterion("D9G_PARENT_ID <=", value, "parentId");
+            return (Criteria) this;
+        }
+
+        public Criteria andParentIdLike(String value) {
+            addCriterion("D9G_PARENT_ID like", value, "parentId");
+            return (Criteria) this;
+        }
+
+        public Criteria andParentIdNotLike(String value) {
+            addCriterion("D9G_PARENT_ID not like", value, "parentId");
+            return (Criteria) this;
+        }
+
+        public Criteria andParentIdIn(List<String> values) {
+            addCriterion("D9G_PARENT_ID in", values, "parentId");
+            return (Criteria) this;
+        }
+
+        public Criteria andParentIdNotIn(List<String> values) {
+            addCriterion("D9G_PARENT_ID not in", values, "parentId");
+            return (Criteria) this;
+        }
+
+        public Criteria andParentIdBetween(String value1, String value2) {
+            addCriterion("D9G_PARENT_ID between", value1, value2, "parentId");
+            return (Criteria) this;
+        }
+
+        public Criteria andParentIdNotBetween(String value1, String value2) {
+            addCriterion("D9G_PARENT_ID not between", value1, value2, "parentId");
+            return (Criteria) this;
+        }
+
+        public Criteria andLevelIsNull() {
+            addCriterion("D9G_LEVEL is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andLevelIsNotNull() {
+            addCriterion("D9G_LEVEL is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andLevelEqualTo(String value) {
+            if(value == null ){
+                andLevelIsNull();
+            } else {
+                addCriterion("D9G_LEVEL =", value, "level");
+            }
+            return (Criteria) this;
+        }
+
+        public Criteria andLevelNotEqualTo(String value) {
+            if(value == null ){
+                andLevelIsNotNull();
+            } else {
+                addCriterion("D9G_LEVEL <>", value, "level");
+            }
+            return (Criteria) this;
+        }
+
+        public Criteria andLevelGreaterThan(String value) {
+            addCriterion("D9G_LEVEL >", value, "level");
+            return (Criteria) this;
+        }
+
+        public Criteria andLevelGreaterThanOrEqualTo(String value) {
+            addCriterion("D9G_LEVEL >=", value, "level");
+            return (Criteria) this;
+        }
+
+        public Criteria andLevelLessThan(String value) {
+            addCriterion("D9G_LEVEL <", value, "level");
+            return (Criteria) this;
+        }
+
+        public Criteria andLevelLessThanOrEqualTo(String value) {
+            addCriterion("D9G_LEVEL <=", value, "level");
+            return (Criteria) this;
+        }
+
+        public Criteria andLevelLike(String value) {
+            addCriterion("D9G_LEVEL like", value, "level");
+            return (Criteria) this;
+        }
+
+        public Criteria andLevelNotLike(String value) {
+            addCriterion("D9G_LEVEL not like", value, "level");
+            return (Criteria) this;
+        }
+
+        public Criteria andLevelIn(List<String> values) {
+            addCriterion("D9G_LEVEL in", values, "level");
+            return (Criteria) this;
+        }
+
+        public Criteria andLevelNotIn(List<String> values) {
+            addCriterion("D9G_LEVEL not in", values, "level");
+            return (Criteria) this;
+        }
+
+        public Criteria andLevelBetween(String value1, String value2) {
+            addCriterion("D9G_LEVEL between", value1, value2, "level");
+            return (Criteria) this;
+        }
+
+        public Criteria andLevelNotBetween(String value1, String value2) {
+            addCriterion("D9G_LEVEL not between", value1, value2, "level");
+            return (Criteria) this;
+        }
+    }
+
+    /**
+     * This class was generated by MyBatis Generator.
+     * This class corresponds to the database table dw_95598_gdlx
+     *
+     * @mbggenerated do_not_delete_during_merge
+     */
+    public static class Criteria extends GeneratedCriteria {
+
+        protected Criteria() {
+            super();
+        }
+    }
+
+    /**
+     * This class was generated by MyBatis Generator.
+     * This class corresponds to the database table dw_95598_gdlx
+     *
+     * @mbggenerated
+     */
+    public static class Criterion {
+        private String condition;
+
+        private Object value;
+
+        private Object secondValue;
+
+        private boolean noValue;
+
+        private boolean singleValue;
+
+        private boolean betweenValue;
+
+        private boolean listValue;
+
+        public String getCondition() {
+            return condition;
+        }
+
+        public Object getValue() {
+            return value;
+        }
+
+        public Object getSecondValue() {
+            return secondValue;
+        }
+
+        public boolean isNoValue() {
+            return noValue;
+        }
+
+        public boolean isSingleValue() {
+            return singleValue;
+        }
+
+        public boolean isBetweenValue() {
+            return betweenValue;
+        }
+
+        public boolean isListValue() {
+            return listValue;
+        }
+
+        protected Criterion(String condition) {
+            super();
+            this.condition = condition;
+            this.noValue = true;
+        }
+
+        protected Criterion(String condition, Object value) {
+            super();
+            this.condition = condition;
+            this.value = value;
+            if (value instanceof List<?>) {
+                this.listValue = true;
+            } else {
+                this.singleValue = true;
+            }
+        }
+
+        protected Criterion(String condition, Object value, Object secondValue) {
+            super();
+            this.condition = condition;
+            this.value = value;
+            this.secondValue = secondValue;
+            this.betweenValue = true;
+        }
+    }
+}

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 1349 - 0
src/main/java/com/minpay/db/table/model/DwFileDetail05.java


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 3557 - 0
src/main/java/com/minpay/db/table/model/DwFileDetail05Example.java


+ 61 - 4
src/main/java/com/minpay/reportManage/action/DataWareManageAction.java

@@ -2,7 +2,6 @@ package com.minpay.reportManage.action;
 
 import java.io.IOException;
 import java.lang.reflect.InvocationTargetException;
-import java.text.DateFormat;
 import java.text.SimpleDateFormat;
 import java.util.Date;
 import java.util.HashMap;
@@ -29,6 +28,7 @@ import com.minpay.db.table.mapper.DwFileDetail01Mapper;
 import com.minpay.db.table.mapper.DwFileDetail02Mapper;
 import com.minpay.db.table.mapper.DwFileDetail03Mapper;
 import com.minpay.db.table.mapper.DwFileDetail04Mapper;
+import com.minpay.db.table.mapper.DwFileDetail05Mapper;
 import com.minpay.db.table.mapper.DwFileInfMapper;
 import com.minpay.db.table.mapper.DwReporttypeFiletypeRelMapper;
 import com.minpay.db.table.mapper.ImUserMapper;
@@ -39,6 +39,7 @@ import com.minpay.db.table.model.DwFileDetail01Example;
 import com.minpay.db.table.model.DwFileDetail02;
 import com.minpay.db.table.model.DwFileDetail03;
 import com.minpay.db.table.model.DwFileDetail04;
+import com.minpay.db.table.model.DwFileDetail05;
 import com.minpay.db.table.model.DwFileInf;
 import com.minpay.db.table.model.DwReporttypeFiletypeRelExample;
 import com.minpay.db.table.model.DwReporttypeFiletypeRelKey;
@@ -59,7 +60,6 @@ import com.startup.minpay.frame.session.MINSession;
 import com.startup.minpay.frame.target.MINAction;
 import com.startup.minpay.frame.target.MINComponent;
 import com.startup.minpay.frame.target.MINParam;
-import com.sun.tools.example.debug.expr.ParseException;
 
 import net.sf.json.JSONArray;
 
@@ -320,7 +320,7 @@ public class DataWareManageAction implements IMINAction {
 				fileDetail02.setFileId(fileId);
 				db.insertSelective(DwFileDetail02Mapper.class, fileDetail02);
 			}
-		}else if(Constant.FILE_DETAIL_TYPE_03.equals(fileType)){
+		} else if(Constant.FILE_DETAIL_TYPE_03.equals(fileType)) {
 			String[] titleKey = new String[]{"no","sgsmc","xgsmc","bdzmc","xlmc","tqid","byqmc","yhgldw1","yhid","yhmc","yhgldw2","dymax","dymin","dyhgl","csxl","cxxl","dysc","gdlx","ljts","sjrq","gddw"};         
 			list = FilesUtil.readExecleasy(fileItem, titleKey, 3);
 			
@@ -370,7 +370,7 @@ public class DataWareManageAction implements IMINAction {
 				fileDetail03.setFileId(fileId);
 				db.insertSelective(DwFileDetail03Mapper.class, fileDetail03);
 			}
-		}else if(Constant.FILE_DETAIL_TYPE_04.equals(fileType)){
+		} else if(Constant.FILE_DETAIL_TYPE_04.equals(fileType)) {
 			String[] titleKey = new String[]{"no","sgsmc","xgsmc","bdzmc","xlmc","tqid","byqmc","yhgldw1","yhid","yhmc","yhgldw2","dymax","dymin","dyhgl","csxl","cxxl","gdysc","gdlx","ljts","gddw","sjrq"};         
 			list = FilesUtil.readExecleasy(fileItem, titleKey, 3);
 			
@@ -420,6 +420,63 @@ public class DataWareManageAction implements IMINAction {
 				fileDetail04.setFileId(fileId);
 				db.insertSelective(DwFileDetail04Mapper.class, fileDetail04);
 			}
+		// 95598工单原始数据上传
+		} else if(Constant.FILE_DETAIL_TYPE_05.equals(fileType)) {
+			String[] titleKey = new String[]{"NO","GDBH","GWGDBH","ZT","YWLX","DQBZ","SLRY","SLSJ","SLLR","YHBH","YHMC","LXDZ","LXDH","HFNR","YJFL","EJFL",
+					"YWZL","SJDW","GDDW","CBD","CLJG","CLDW","CLBM","GLGD","WTYYFL","GDFJ","ZRBM","GDSJ","GQSJ","GQYY","FWQD","SJHTZRYY","GDDWG","CLDWG"
+					,"BL1","BL2","ZBY","SSDW","XLX","XH2"};         
+			list = FilesUtil.readExecleasy(fileItem, titleKey, 3);
+			
+			if (list.size() == 0) {
+				throw new MINBusinessException("无数据,请添加数据");//无数据,请添加数据
+			}
+			// 详情数据存入数据库
+			for (Map<String,String> excelMap : list) {
+				String fileDetailId = db.getMybatisMapper(SequenceMapper.class).getSequence("FILE_DETAIL_05_NO");
+				DwFileDetail05 fileDetail05 = new DwFileDetail05();
+				fileDetail05.setId(fileDetailId);
+				fileDetail05.setNo(excelMap.get("NO"));
+				fileDetail05.setGdbh(excelMap.get("GDBH"));
+				fileDetail05.setGwgdbh(excelMap.get("GWGDBH"));
+				fileDetail05.setZt(excelMap.get("ZT"));
+				fileDetail05.setYwlx(excelMap.get("YWLX"));
+				fileDetail05.setDqbz(excelMap.get("DQBZ"));
+				fileDetail05.setSlry(excelMap.get("SLRY"));
+				fileDetail05.setSlsj(excelMap.get("SLSJ"));
+				fileDetail05.setSllr(excelMap.get("SLLR"));
+				fileDetail05.setYhbh(excelMap.get("YHBH"));
+				fileDetail05.setYhmc(excelMap.get("YHMC"));
+				fileDetail05.setLxdz(excelMap.get("LXDZ"));
+				fileDetail05.setLxdh(excelMap.get("LXDH"));
+				fileDetail05.setHfnr(excelMap.get("HFNR"));
+				fileDetail05.setYjfl(excelMap.get("YJFL"));
+				fileDetail05.setEjfl(excelMap.get("EJFL"));
+				fileDetail05.setYwzl(excelMap.get("YWZL"));
+				fileDetail05.setSjdw(excelMap.get("SJDW"));
+				fileDetail05.setGddw(excelMap.get("GDDW"));
+				fileDetail05.setCbd(excelMap.get("CBD"));
+				fileDetail05.setCljg(excelMap.get("CLJG"));
+				fileDetail05.setCldw(excelMap.get("CLDW"));
+				fileDetail05.setClbm(excelMap.get("CLBM"));
+				fileDetail05.setGlgd(excelMap.get("GLGD"));
+				fileDetail05.setWtyyfl(excelMap.get("WTYYFL"));
+				fileDetail05.setGdfj(excelMap.get("GDFJ"));
+				fileDetail05.setZrbm(excelMap.get("ZRBM"));
+				fileDetail05.setGdsj(excelMap.get("GDSJ"));
+				fileDetail05.setGqyy(excelMap.get("GQYY"));
+				fileDetail05.setFwqd(excelMap.get("FWQD"));
+				fileDetail05.setSjhtzryy(excelMap.get("SJHTZRYY"));
+				fileDetail05.setGddwg(excelMap.get("GDDWG"));
+				fileDetail05.setCldwg(excelMap.get("CLDWG"));
+				fileDetail05.setBl1(excelMap.get("BL1"));
+				fileDetail05.setBl2(excelMap.get("BL2"));
+				fileDetail05.setZby(excelMap.get("ZBY"));
+				fileDetail05.setSsdw(excelMap.get("SSDW"));
+				fileDetail05.setXlx(excelMap.get("XLX"));
+				fileDetail05.setXh2(excelMap.get("XH2"));
+				fileDetail05.setFileId(fileId);
+				db.insertSelective(DwFileDetail05Mapper.class, fileDetail05);
+			}
 		}
 		
 		// 文件名

+ 162 - 0
src/main/java/com/minpay/reportManage/action/Report95598Action.java

@@ -0,0 +1,162 @@
+package com.minpay.reportManage.action;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+
+import com.minpay.common.util.CommonUtil;
+import com.minpay.db.table.mapper.Dw95598GdlxMapper;
+import com.minpay.db.table.model.Dw95598Gdlx;
+import com.minpay.db.table.model.Dw95598GdlxExample;
+import com.minpay.db.table.own.mapper.SequenceMapper;
+import com.startup.minpay.frame.business.IMINAction;
+import com.startup.minpay.frame.business.res.MINActionResult;
+import com.startup.minpay.frame.constant.IMINTransactionEnum;
+import com.startup.minpay.frame.exception.MINBusinessException;
+import com.startup.minpay.frame.service.base.IMINDataBaseService;
+import com.startup.minpay.frame.service.base.Service;
+import com.startup.minpay.frame.session.MINSession;
+import com.startup.minpay.frame.target.MINAction;
+import com.startup.minpay.frame.target.MINComponent;
+import com.startup.minpay.frame.target.MINParam;
+
+@MINComponent
+public class Report95598Action implements IMINAction {
+	private IMINDataBaseService db;
+    
+    /** 95598 节点编辑 */
+    public final static String TYPE_EDIT_95598 = "typeEdit95598";
+    
+    public void queryChildType(List<Map<String, Object>> resList) throws MINBusinessException{
+    	db = Service.lookup(IMINDataBaseService.class);
+    	for (Map<String, Object> map : resList) {
+    		String level = String.valueOf(map.get("level"));
+    		if ("2".equals(level)) {
+    			continue;
+    		}
+    		// 查询子节点
+    		Dw95598GdlxExample gdlxExample = new Dw95598GdlxExample();
+    		gdlxExample.createCriteria().andParentIdEqualTo(String.valueOf(map.get("id")));
+    		List<Dw95598Gdlx> gdlxList = db.selectByExample(Dw95598GdlxMapper.class, gdlxExample);
+    		// 无子节点
+    		if (gdlxList.size() == 0) {
+    			continue;
+    		}
+    		List<Map<String, Object>> children = new ArrayList<Map<String, Object>>(); 
+    		for (Dw95598Gdlx dw95598Gdlx : gdlxList) {
+    			Map<String, Object> resMap = new HashMap<String, Object>();
+        		resMap.put("title", dw95598Gdlx.getName());
+            	resMap.put("id", dw95598Gdlx.getId());
+            	resMap.put("level", dw95598Gdlx.getLevel());
+            	resMap.put("spread", true);
+            	children.add(resMap);
+			}
+    		map.put("children", children);
+    		// 查询子节点下的子节点
+    		queryChildType(children);
+		}
+    }
+    
+    /**
+     * 节点编辑
+     * @param type
+     * @param nodeName
+     * @param id
+     * @param session
+     * @return
+     * @throws MINBusinessException
+     */
+    @MINAction(value = TYPE_EDIT_95598, transaction = IMINTransactionEnum.CMT)
+    public MINActionResult typeEdit95598(
+		@MINParam(key = "type") String type,
+        @MINParam(key = "nodeName") String nodeName,
+        @MINParam(key = "id") String id,
+        MINSession session
+    ) throws MINBusinessException {
+        MINActionResult res = new MINActionResult();
+        db = Service.lookup(IMINDataBaseService.class);
+        
+        // 新增节点
+        if ("add".equals(type)) {
+        	// 查询父节点下是否有相同的名称
+        	Dw95598GdlxExample gdlxExample = new Dw95598GdlxExample();
+        	gdlxExample.createCriteria().andParentIdEqualTo(id).andNameEqualTo(nodeName);
+        	List<Dw95598Gdlx> node = db.getMybatisMapper(Dw95598GdlxMapper.class).selectByExample(gdlxExample);
+        	if (node.size() != 0) {
+        		throw new MINBusinessException("已存在相同名称的类型!");
+        	}
+        	
+        	// 查询父节点信息
+    		Dw95598Gdlx gdlxParent = db.selectByPrimaryKey(Dw95598GdlxMapper.class, id);
+    		// 获取节点级别
+    		String level = CommonUtil.add(gdlxParent.getLevel(), "1");
+    		
+        	String typeId = db.getMybatisMapper(SequenceMapper.class).getSequence("95598_TYPE_NO");
+        	Dw95598Gdlx dw95598Gdlx = new Dw95598Gdlx();
+        	dw95598Gdlx.setId(typeId);
+        	dw95598Gdlx.setLevel(level);
+        	dw95598Gdlx.setName("未命名");
+        	dw95598Gdlx.setParentId(id);
+        	db.insert(Dw95598GdlxMapper.class, dw95598Gdlx);
+        // 编辑节点
+        } else if ("update".equals(type)) {
+        	// 查询父节点下是否有相同的名称
+        	Dw95598Gdlx gdlx = db.selectByPrimaryKey(Dw95598GdlxMapper.class, id);
+        	String parentId = gdlx.getParentId();
+        	Dw95598GdlxExample gdlxExample = new Dw95598GdlxExample();
+        	gdlxExample.createCriteria().andNameEqualTo(nodeName).andParentIdEqualTo(parentId).andIdNotEqualTo(id);
+        	List<Dw95598Gdlx> node = db.getMybatisMapper(Dw95598GdlxMapper.class).selectByExample(gdlxExample);
+        	if (node.size() != 0) {
+        		throw new MINBusinessException("已存在相同名称的类型!");
+        	}
+        	
+        	// 修改节点名称
+        	Dw95598Gdlx dw95598Gdlx = new Dw95598Gdlx();
+        	dw95598Gdlx.setId(id);
+        	dw95598Gdlx.setName(nodeName);
+        	db.updateByPrimaryKeySelective(Dw95598GdlxMapper.class, dw95598Gdlx);
+        // 删除节点
+        } else if ("del".equals(type)) {
+        	deleteNode(id);
+        }
+       
+        // 查询新的节点返回
+        Dw95598GdlxExample gdlxExample = new Dw95598GdlxExample();
+        gdlxExample.createCriteria().andLevelEqualTo("0");
+        List<Dw95598Gdlx> gdlxList = db.selectByExample(Dw95598GdlxMapper.class, gdlxExample);
+        
+        List<Map<String, Object>> resList = new ArrayList<Map<String, Object>>();
+        for (Dw95598Gdlx dw95598Gdlx : gdlxList) {
+        	Map<String, Object> resMap = new HashMap<String, Object>();
+        	resMap.put("title", dw95598Gdlx.getName());
+        	resMap.put("id", dw95598Gdlx.getId());
+        	resMap.put("level", dw95598Gdlx.getLevel());
+        	resMap.put("spread", true);
+        	resList.add(resMap);
+		}
+        queryChildType(resList);
+        res.set("resList", resList);
+        
+		return res;
+    }
+    
+    /**
+     * 删除节点下的所有子节点
+     * @param id
+     * @throws MINBusinessException
+     */
+    public void deleteNode(String id) throws MINBusinessException {
+    	Dw95598GdlxExample gdlxExample = new Dw95598GdlxExample();
+    	gdlxExample.createCriteria().andParentIdEqualTo(id);
+    	List<Dw95598Gdlx> childNodes = db.selectByExample(Dw95598GdlxMapper.class, gdlxExample);
+    	
+    	// 处理子节点
+    	for (Dw95598Gdlx dw95598Gdlx : childNodes) {
+    		deleteNode(dw95598Gdlx.getId());
+		}
+    	
+    	// 删除节点
+    	db.deleteByPrimaryKey(Dw95598GdlxMapper.class, id);
+    }
+}

+ 256 - 0
src/main/resources/com/minpay/db/table/mapper/Dw95598GdlxMapper.xml

@@ -0,0 +1,256 @@
+<?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.minpay.db.table.mapper.Dw95598GdlxMapper" >
+  <resultMap id="BaseResultMap" type="com.minpay.db.table.model.Dw95598Gdlx" >
+    <!--
+      WARNING - @mbggenerated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <id column="D9G_ID" property="id" jdbcType="VARCHAR" />
+    <result column="D9G_NAME" property="name" jdbcType="VARCHAR" />
+    <result column="D9G_PARENT_ID" property="parentId" jdbcType="VARCHAR" />
+    <result column="D9G_LEVEL" property="level" jdbcType="VARCHAR" />
+  </resultMap>
+  <sql id="Example_Where_Clause" >
+    <!--
+      WARNING - @mbggenerated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <where >
+      <foreach collection="oredCriteria" item="criteria" separator="or" >
+        <if test="criteria.valid" >
+          <trim prefix="(" suffix=")" prefixOverrides="and" >
+            <foreach collection="criteria.criteria" item="criterion" >
+              <choose >
+                <when test="criterion.noValue" >
+                  and ${criterion.condition}
+                </when>
+                <when test="criterion.singleValue" >
+                  and ${criterion.condition} #{criterion.value}
+                </when>
+                <when test="criterion.betweenValue" >
+                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+                </when>
+                <when test="criterion.listValue" >
+                  and ${criterion.condition}
+                  <foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
+                    #{listItem}
+                  </foreach>
+                </when>
+              </choose>
+            </foreach>
+          </trim>
+        </if>
+      </foreach>
+    </where>
+  </sql>
+  <sql id="Update_By_Example_Where_Clause" >
+    <!--
+      WARNING - @mbggenerated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <where >
+      <foreach collection="example.oredCriteria" item="criteria" separator="or" >
+        <if test="criteria.valid" >
+          <trim prefix="(" suffix=")" prefixOverrides="and" >
+            <foreach collection="criteria.criteria" item="criterion" >
+              <choose >
+                <when test="criterion.noValue" >
+                  and ${criterion.condition}
+                </when>
+                <when test="criterion.singleValue" >
+                  and ${criterion.condition} #{criterion.value}
+                </when>
+                <when test="criterion.betweenValue" >
+                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+                </when>
+                <when test="criterion.listValue" >
+                  and ${criterion.condition}
+                  <foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
+                    #{listItem}
+                  </foreach>
+                </when>
+              </choose>
+            </foreach>
+          </trim>
+        </if>
+      </foreach>
+    </where>
+  </sql>
+  <sql id="Base_Column_List" >
+    <!--
+      WARNING - @mbggenerated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    D9G_ID, D9G_NAME, D9G_PARENT_ID, D9G_LEVEL
+  </sql>
+  <select id="selectByExample" resultMap="BaseResultMap" parameterType="com.minpay.db.table.model.Dw95598GdlxExample" >
+    <!--
+      WARNING - @mbggenerated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select
+    <if test="distinct" >
+      distinct
+    </if>
+    <include refid="Base_Column_List" />
+    from dw_95598_gdlx
+    <if test="_parameter != null" >
+      <include refid="Example_Where_Clause" />
+    </if>
+    <if test="orderByClause != null" >
+      order by ${orderByClause}
+    </if>
+  </select>
+  <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.String" >
+    <!--
+      WARNING - @mbggenerated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select 
+    <include refid="Base_Column_List" />
+    from dw_95598_gdlx
+    where D9G_ID = #{id,jdbcType=VARCHAR}
+  </select>
+  <delete id="deleteByPrimaryKey" parameterType="java.lang.String" >
+    <!--
+      WARNING - @mbggenerated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from dw_95598_gdlx
+    where D9G_ID = #{id,jdbcType=VARCHAR}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.minpay.db.table.model.Dw95598GdlxExample" >
+    <!--
+      WARNING - @mbggenerated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from dw_95598_gdlx
+    <if test="_parameter != null" >
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  <insert id="insert" parameterType="com.minpay.db.table.model.Dw95598Gdlx" >
+    <!--
+      WARNING - @mbggenerated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into dw_95598_gdlx (D9G_ID, D9G_NAME, D9G_PARENT_ID, 
+      D9G_LEVEL)
+    values (#{id,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, #{parentId,jdbcType=VARCHAR}, 
+      #{level,jdbcType=VARCHAR})
+  </insert>
+  <insert id="insertSelective" parameterType="com.minpay.db.table.model.Dw95598Gdlx" >
+    <!--
+      WARNING - @mbggenerated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into dw_95598_gdlx
+    <trim prefix="(" suffix=")" suffixOverrides="," >
+      <if test="id != null" >
+        D9G_ID,
+      </if>
+      <if test="name != null" >
+        D9G_NAME,
+      </if>
+      <if test="parentId != null" >
+        D9G_PARENT_ID,
+      </if>
+      <if test="level != null" >
+        D9G_LEVEL,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides="," >
+      <if test="id != null" >
+        #{id,jdbcType=VARCHAR},
+      </if>
+      <if test="name != null" >
+        #{name,jdbcType=VARCHAR},
+      </if>
+      <if test="parentId != null" >
+        #{parentId,jdbcType=VARCHAR},
+      </if>
+      <if test="level != null" >
+        #{level,jdbcType=VARCHAR},
+      </if>
+    </trim>
+  </insert>
+  <select id="countByExample" parameterType="com.minpay.db.table.model.Dw95598GdlxExample" resultType="java.lang.Integer" >
+    <!--
+      WARNING - @mbggenerated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select count(*) from dw_95598_gdlx
+    <if test="_parameter != null" >
+      <include refid="Example_Where_Clause" />
+    </if>
+  </select>
+  <update id="updateByExampleSelective" parameterType="map" >
+    <!--
+      WARNING - @mbggenerated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update dw_95598_gdlx
+    <set >
+      <if test="record.id != null" >
+        D9G_ID = #{record.id,jdbcType=VARCHAR},
+      </if>
+      <if test="record.name != null" >
+        D9G_NAME = #{record.name,jdbcType=VARCHAR},
+      </if>
+      <if test="record.parentId != null" >
+        D9G_PARENT_ID = #{record.parentId,jdbcType=VARCHAR},
+      </if>
+      <if test="record.level != null" >
+        D9G_LEVEL = #{record.level,jdbcType=VARCHAR},
+      </if>
+    </set>
+    <if test="_parameter != null" >
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByExample" parameterType="map" >
+    <!--
+      WARNING - @mbggenerated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update dw_95598_gdlx
+    set D9G_ID = #{record.id,jdbcType=VARCHAR},
+      D9G_NAME = #{record.name,jdbcType=VARCHAR},
+      D9G_PARENT_ID = #{record.parentId,jdbcType=VARCHAR},
+      D9G_LEVEL = #{record.level,jdbcType=VARCHAR}
+    <if test="_parameter != null" >
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByPrimaryKeySelective" parameterType="com.minpay.db.table.model.Dw95598Gdlx" >
+    <!--
+      WARNING - @mbggenerated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update dw_95598_gdlx
+    <set >
+      <if test="name != null" >
+        D9G_NAME = #{name,jdbcType=VARCHAR},
+      </if>
+      <if test="parentId != null" >
+        D9G_PARENT_ID = #{parentId,jdbcType=VARCHAR},
+      </if>
+      <if test="level != null" >
+        D9G_LEVEL = #{level,jdbcType=VARCHAR},
+      </if>
+    </set>
+    where D9G_ID = #{id,jdbcType=VARCHAR}
+  </update>
+  <update id="updateByPrimaryKey" parameterType="com.minpay.db.table.model.Dw95598Gdlx" >
+    <!--
+      WARNING - @mbggenerated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update dw_95598_gdlx
+    set D9G_NAME = #{name,jdbcType=VARCHAR},
+      D9G_PARENT_ID = #{parentId,jdbcType=VARCHAR},
+      D9G_LEVEL = #{level,jdbcType=VARCHAR}
+    where D9G_ID = #{id,jdbcType=VARCHAR}
+  </update>
+</mapper>

+ 851 - 0
src/main/resources/com/minpay/db/table/mapper/DwFileDetail05Mapper.xml

@@ -0,0 +1,851 @@
+<?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.minpay.db.table.mapper.DwFileDetail05Mapper">
+  <resultMap id="BaseResultMap" type="com.minpay.db.table.model.DwFileDetail05">
+    <!--
+      WARNING - @mbggenerated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <id column="DFD5_ID" jdbcType="VARCHAR" property="id" />
+    <result column="DFD5_NO" jdbcType="VARCHAR" property="no" />
+    <result column="DFD5_GDBH" jdbcType="VARCHAR" property="gdbh" />
+    <result column="DFD5_GWGDBH" jdbcType="VARCHAR" property="gwgdbh" />
+    <result column="DFD5_ZT" jdbcType="VARCHAR" property="zt" />
+    <result column="DFD5_YWLX" jdbcType="VARCHAR" property="ywlx" />
+    <result column="DFD5_DQBZ" jdbcType="VARCHAR" property="dqbz" />
+    <result column="DFD5_SLRY" jdbcType="VARCHAR" property="slry" />
+    <result column="DFD5_SLSJ" jdbcType="VARCHAR" property="slsj" />
+    <result column="DFD5_SLLR" jdbcType="VARCHAR" property="sllr" />
+    <result column="DFD5_YHBH" jdbcType="VARCHAR" property="yhbh" />
+    <result column="DFD5_YHMC" jdbcType="VARCHAR" property="yhmc" />
+    <result column="DFD5_LXDZ" jdbcType="VARCHAR" property="lxdz" />
+    <result column="DFD5_LXDH" jdbcType="VARCHAR" property="lxdh" />
+    <result column="DFD5_HFNR" jdbcType="VARCHAR" property="hfnr" />
+    <result column="DFD5_YJFL" jdbcType="VARCHAR" property="yjfl" />
+    <result column="DFD5_EJFL" jdbcType="VARCHAR" property="ejfl" />
+    <result column="DFD5_YWZL" jdbcType="VARCHAR" property="ywzl" />
+    <result column="DFD5_SJDW" jdbcType="VARCHAR" property="sjdw" />
+    <result column="DFD5_GDDW" jdbcType="VARCHAR" property="gddw" />
+    <result column="DFD5_CBD" jdbcType="VARCHAR" property="cbd" />
+    <result column="DFD5_CLJG" jdbcType="VARCHAR" property="cljg" />
+    <result column="DFD5_CLDW" jdbcType="VARCHAR" property="cldw" />
+    <result column="DFD5_CLBM" jdbcType="VARCHAR" property="clbm" />
+    <result column="DFD5_GLGD" jdbcType="VARCHAR" property="glgd" />
+    <result column="DFD5_WTYYFL" jdbcType="VARCHAR" property="wtyyfl" />
+    <result column="DFD5_GDFJ" jdbcType="VARCHAR" property="gdfj" />
+    <result column="DFD5_ZRBM" jdbcType="VARCHAR" property="zrbm" />
+    <result column="DFD5_GDSJ" jdbcType="VARCHAR" property="gdsj" />
+    <result column="DFD5_GQSJ" jdbcType="VARCHAR" property="gqsj" />
+    <result column="DFD5_GQYY" jdbcType="VARCHAR" property="gqyy" />
+    <result column="DFD5_FWQD" jdbcType="VARCHAR" property="fwqd" />
+    <result column="DFD5_SJHTZRYY" jdbcType="VARCHAR" property="sjhtzryy" />
+    <result column="DFD5_FILE_ID" jdbcType="VARCHAR" property="fileId" />
+    <result column="DFD5_GDDWG" jdbcType="VARCHAR" property="gddwg" />
+    <result column="DFD5_CLDWG" jdbcType="VARCHAR" property="cldwg" />
+    <result column="DFD5_BL1" jdbcType="VARCHAR" property="bl1" />
+    <result column="DFD5_BL2" jdbcType="VARCHAR" property="bl2" />
+    <result column="DFD5_ZBY" jdbcType="VARCHAR" property="zby" />
+    <result column="DFD5_SSDW" jdbcType="VARCHAR" property="ssdw" />
+    <result column="DFD5_XLX" jdbcType="VARCHAR" property="xlx" />
+    <result column="DFD5_XH2" jdbcType="VARCHAR" property="xh2" />
+  </resultMap>
+  <sql id="Example_Where_Clause">
+    <!--
+      WARNING - @mbggenerated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <where>
+      <foreach collection="oredCriteria" item="criteria" separator="or">
+        <if test="criteria.valid">
+          <trim prefix="(" prefixOverrides="and" suffix=")">
+            <foreach collection="criteria.criteria" item="criterion">
+              <choose>
+                <when test="criterion.noValue">
+                  and ${criterion.condition}
+                </when>
+                <when test="criterion.singleValue">
+                  and ${criterion.condition} #{criterion.value}
+                </when>
+                <when test="criterion.betweenValue">
+                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+                </when>
+                <when test="criterion.listValue">
+                  and ${criterion.condition}
+                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
+                    #{listItem}
+                  </foreach>
+                </when>
+              </choose>
+            </foreach>
+          </trim>
+        </if>
+      </foreach>
+    </where>
+  </sql>
+  <sql id="Update_By_Example_Where_Clause">
+    <!--
+      WARNING - @mbggenerated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    <where>
+      <foreach collection="example.oredCriteria" item="criteria" separator="or">
+        <if test="criteria.valid">
+          <trim prefix="(" prefixOverrides="and" suffix=")">
+            <foreach collection="criteria.criteria" item="criterion">
+              <choose>
+                <when test="criterion.noValue">
+                  and ${criterion.condition}
+                </when>
+                <when test="criterion.singleValue">
+                  and ${criterion.condition} #{criterion.value}
+                </when>
+                <when test="criterion.betweenValue">
+                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+                </when>
+                <when test="criterion.listValue">
+                  and ${criterion.condition}
+                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
+                    #{listItem}
+                  </foreach>
+                </when>
+              </choose>
+            </foreach>
+          </trim>
+        </if>
+      </foreach>
+    </where>
+  </sql>
+  <sql id="Base_Column_List">
+    <!--
+      WARNING - @mbggenerated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    DFD5_ID, DFD5_NO, DFD5_GDBH, DFD5_GWGDBH, DFD5_ZT, DFD5_YWLX, DFD5_DQBZ, DFD5_SLRY, 
+    DFD5_SLSJ, DFD5_SLLR, DFD5_YHBH, DFD5_YHMC, DFD5_LXDZ, DFD5_LXDH, DFD5_HFNR, DFD5_YJFL, 
+    DFD5_EJFL, DFD5_YWZL, DFD5_SJDW, DFD5_GDDW, DFD5_CBD, DFD5_CLJG, DFD5_CLDW, DFD5_CLBM, 
+    DFD5_GLGD, DFD5_WTYYFL, DFD5_GDFJ, DFD5_ZRBM, DFD5_GDSJ, DFD5_GQSJ, DFD5_GQYY, DFD5_FWQD, 
+    DFD5_SJHTZRYY, DFD5_FILE_ID, DFD5_GDDWG, DFD5_CLDWG, DFD5_BL1, DFD5_BL2, DFD5_ZBY, 
+    DFD5_SSDW, DFD5_XLX, DFD5_XH2
+  </sql>
+  <select id="selectByExample" parameterType="com.minpay.db.table.model.DwFileDetail05Example" resultMap="BaseResultMap">
+    <!--
+      WARNING - @mbggenerated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select
+    <if test="distinct">
+      distinct
+    </if>
+    <include refid="Base_Column_List" />
+    from dw_file_detail_05
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+    <if test="orderByClause != null">
+      order by ${orderByClause}
+    </if>
+  </select>
+  <select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap">
+    <!--
+      WARNING - @mbggenerated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select 
+    <include refid="Base_Column_List" />
+    from dw_file_detail_05
+    where DFD5_ID = #{id,jdbcType=VARCHAR}
+  </select>
+  <delete id="deleteByPrimaryKey" parameterType="java.lang.String">
+    <!--
+      WARNING - @mbggenerated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from dw_file_detail_05
+    where DFD5_ID = #{id,jdbcType=VARCHAR}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.minpay.db.table.model.DwFileDetail05Example">
+    <!--
+      WARNING - @mbggenerated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    delete from dw_file_detail_05
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  <insert id="insert" parameterType="com.minpay.db.table.model.DwFileDetail05">
+    <!--
+      WARNING - @mbggenerated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into dw_file_detail_05 (DFD5_ID, DFD5_NO, DFD5_GDBH, 
+      DFD5_GWGDBH, DFD5_ZT, DFD5_YWLX, DFD5_DQBZ, 
+      DFD5_SLRY, DFD5_SLSJ, DFD5_SLLR, DFD5_YHBH, 
+      DFD5_YHMC, DFD5_LXDZ, DFD5_LXDH, DFD5_HFNR, 
+      DFD5_YJFL, DFD5_EJFL, DFD5_YWZL, DFD5_SJDW, 
+      DFD5_GDDW, DFD5_CBD, DFD5_CLJG, DFD5_CLDW, 
+      DFD5_CLBM, DFD5_GLGD, DFD5_WTYYFL, 
+      DFD5_GDFJ, DFD5_ZRBM, DFD5_GDSJ, DFD5_GQSJ, 
+      DFD5_GQYY, DFD5_FWQD, DFD5_SJHTZRYY, 
+      DFD5_FILE_ID, DFD5_GDDWG, DFD5_CLDWG, 
+      DFD5_BL1, DFD5_BL2, DFD5_ZBY, DFD5_SSDW, 
+      DFD5_XLX, DFD5_XH2)
+    values (#{id,jdbcType=VARCHAR}, #{no,jdbcType=VARCHAR}, #{gdbh,jdbcType=VARCHAR}, 
+      #{gwgdbh,jdbcType=VARCHAR}, #{zt,jdbcType=VARCHAR}, #{ywlx,jdbcType=VARCHAR}, #{dqbz,jdbcType=VARCHAR}, 
+      #{slry,jdbcType=VARCHAR}, #{slsj,jdbcType=VARCHAR}, #{sllr,jdbcType=VARCHAR}, #{yhbh,jdbcType=VARCHAR}, 
+      #{yhmc,jdbcType=VARCHAR}, #{lxdz,jdbcType=VARCHAR}, #{lxdh,jdbcType=VARCHAR}, #{hfnr,jdbcType=VARCHAR}, 
+      #{yjfl,jdbcType=VARCHAR}, #{ejfl,jdbcType=VARCHAR}, #{ywzl,jdbcType=VARCHAR}, #{sjdw,jdbcType=VARCHAR}, 
+      #{gddw,jdbcType=VARCHAR}, #{cbd,jdbcType=VARCHAR}, #{cljg,jdbcType=VARCHAR}, #{cldw,jdbcType=VARCHAR}, 
+      #{clbm,jdbcType=VARCHAR}, #{glgd,jdbcType=VARCHAR}, #{wtyyfl,jdbcType=VARCHAR}, 
+      #{gdfj,jdbcType=VARCHAR}, #{zrbm,jdbcType=VARCHAR}, #{gdsj,jdbcType=VARCHAR}, #{gqsj,jdbcType=VARCHAR}, 
+      #{gqyy,jdbcType=VARCHAR}, #{fwqd,jdbcType=VARCHAR}, #{sjhtzryy,jdbcType=VARCHAR}, 
+      #{fileId,jdbcType=VARCHAR}, #{gddwg,jdbcType=VARCHAR}, #{cldwg,jdbcType=VARCHAR}, 
+      #{bl1,jdbcType=VARCHAR}, #{bl2,jdbcType=VARCHAR}, #{zby,jdbcType=VARCHAR}, #{ssdw,jdbcType=VARCHAR}, 
+      #{xlx,jdbcType=VARCHAR}, #{xh2,jdbcType=VARCHAR})
+  </insert>
+  <insert id="insertSelective" parameterType="com.minpay.db.table.model.DwFileDetail05">
+    <!--
+      WARNING - @mbggenerated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    insert into dw_file_detail_05
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        DFD5_ID,
+      </if>
+      <if test="no != null">
+        DFD5_NO,
+      </if>
+      <if test="gdbh != null">
+        DFD5_GDBH,
+      </if>
+      <if test="gwgdbh != null">
+        DFD5_GWGDBH,
+      </if>
+      <if test="zt != null">
+        DFD5_ZT,
+      </if>
+      <if test="ywlx != null">
+        DFD5_YWLX,
+      </if>
+      <if test="dqbz != null">
+        DFD5_DQBZ,
+      </if>
+      <if test="slry != null">
+        DFD5_SLRY,
+      </if>
+      <if test="slsj != null">
+        DFD5_SLSJ,
+      </if>
+      <if test="sllr != null">
+        DFD5_SLLR,
+      </if>
+      <if test="yhbh != null">
+        DFD5_YHBH,
+      </if>
+      <if test="yhmc != null">
+        DFD5_YHMC,
+      </if>
+      <if test="lxdz != null">
+        DFD5_LXDZ,
+      </if>
+      <if test="lxdh != null">
+        DFD5_LXDH,
+      </if>
+      <if test="hfnr != null">
+        DFD5_HFNR,
+      </if>
+      <if test="yjfl != null">
+        DFD5_YJFL,
+      </if>
+      <if test="ejfl != null">
+        DFD5_EJFL,
+      </if>
+      <if test="ywzl != null">
+        DFD5_YWZL,
+      </if>
+      <if test="sjdw != null">
+        DFD5_SJDW,
+      </if>
+      <if test="gddw != null">
+        DFD5_GDDW,
+      </if>
+      <if test="cbd != null">
+        DFD5_CBD,
+      </if>
+      <if test="cljg != null">
+        DFD5_CLJG,
+      </if>
+      <if test="cldw != null">
+        DFD5_CLDW,
+      </if>
+      <if test="clbm != null">
+        DFD5_CLBM,
+      </if>
+      <if test="glgd != null">
+        DFD5_GLGD,
+      </if>
+      <if test="wtyyfl != null">
+        DFD5_WTYYFL,
+      </if>
+      <if test="gdfj != null">
+        DFD5_GDFJ,
+      </if>
+      <if test="zrbm != null">
+        DFD5_ZRBM,
+      </if>
+      <if test="gdsj != null">
+        DFD5_GDSJ,
+      </if>
+      <if test="gqsj != null">
+        DFD5_GQSJ,
+      </if>
+      <if test="gqyy != null">
+        DFD5_GQYY,
+      </if>
+      <if test="fwqd != null">
+        DFD5_FWQD,
+      </if>
+      <if test="sjhtzryy != null">
+        DFD5_SJHTZRYY,
+      </if>
+      <if test="fileId != null">
+        DFD5_FILE_ID,
+      </if>
+      <if test="gddwg != null">
+        DFD5_GDDWG,
+      </if>
+      <if test="cldwg != null">
+        DFD5_CLDWG,
+      </if>
+      <if test="bl1 != null">
+        DFD5_BL1,
+      </if>
+      <if test="bl2 != null">
+        DFD5_BL2,
+      </if>
+      <if test="zby != null">
+        DFD5_ZBY,
+      </if>
+      <if test="ssdw != null">
+        DFD5_SSDW,
+      </if>
+      <if test="xlx != null">
+        DFD5_XLX,
+      </if>
+      <if test="xh2 != null">
+        DFD5_XH2,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        #{id,jdbcType=VARCHAR},
+      </if>
+      <if test="no != null">
+        #{no,jdbcType=VARCHAR},
+      </if>
+      <if test="gdbh != null">
+        #{gdbh,jdbcType=VARCHAR},
+      </if>
+      <if test="gwgdbh != null">
+        #{gwgdbh,jdbcType=VARCHAR},
+      </if>
+      <if test="zt != null">
+        #{zt,jdbcType=VARCHAR},
+      </if>
+      <if test="ywlx != null">
+        #{ywlx,jdbcType=VARCHAR},
+      </if>
+      <if test="dqbz != null">
+        #{dqbz,jdbcType=VARCHAR},
+      </if>
+      <if test="slry != null">
+        #{slry,jdbcType=VARCHAR},
+      </if>
+      <if test="slsj != null">
+        #{slsj,jdbcType=VARCHAR},
+      </if>
+      <if test="sllr != null">
+        #{sllr,jdbcType=VARCHAR},
+      </if>
+      <if test="yhbh != null">
+        #{yhbh,jdbcType=VARCHAR},
+      </if>
+      <if test="yhmc != null">
+        #{yhmc,jdbcType=VARCHAR},
+      </if>
+      <if test="lxdz != null">
+        #{lxdz,jdbcType=VARCHAR},
+      </if>
+      <if test="lxdh != null">
+        #{lxdh,jdbcType=VARCHAR},
+      </if>
+      <if test="hfnr != null">
+        #{hfnr,jdbcType=VARCHAR},
+      </if>
+      <if test="yjfl != null">
+        #{yjfl,jdbcType=VARCHAR},
+      </if>
+      <if test="ejfl != null">
+        #{ejfl,jdbcType=VARCHAR},
+      </if>
+      <if test="ywzl != null">
+        #{ywzl,jdbcType=VARCHAR},
+      </if>
+      <if test="sjdw != null">
+        #{sjdw,jdbcType=VARCHAR},
+      </if>
+      <if test="gddw != null">
+        #{gddw,jdbcType=VARCHAR},
+      </if>
+      <if test="cbd != null">
+        #{cbd,jdbcType=VARCHAR},
+      </if>
+      <if test="cljg != null">
+        #{cljg,jdbcType=VARCHAR},
+      </if>
+      <if test="cldw != null">
+        #{cldw,jdbcType=VARCHAR},
+      </if>
+      <if test="clbm != null">
+        #{clbm,jdbcType=VARCHAR},
+      </if>
+      <if test="glgd != null">
+        #{glgd,jdbcType=VARCHAR},
+      </if>
+      <if test="wtyyfl != null">
+        #{wtyyfl,jdbcType=VARCHAR},
+      </if>
+      <if test="gdfj != null">
+        #{gdfj,jdbcType=VARCHAR},
+      </if>
+      <if test="zrbm != null">
+        #{zrbm,jdbcType=VARCHAR},
+      </if>
+      <if test="gdsj != null">
+        #{gdsj,jdbcType=VARCHAR},
+      </if>
+      <if test="gqsj != null">
+        #{gqsj,jdbcType=VARCHAR},
+      </if>
+      <if test="gqyy != null">
+        #{gqyy,jdbcType=VARCHAR},
+      </if>
+      <if test="fwqd != null">
+        #{fwqd,jdbcType=VARCHAR},
+      </if>
+      <if test="sjhtzryy != null">
+        #{sjhtzryy,jdbcType=VARCHAR},
+      </if>
+      <if test="fileId != null">
+        #{fileId,jdbcType=VARCHAR},
+      </if>
+      <if test="gddwg != null">
+        #{gddwg,jdbcType=VARCHAR},
+      </if>
+      <if test="cldwg != null">
+        #{cldwg,jdbcType=VARCHAR},
+      </if>
+      <if test="bl1 != null">
+        #{bl1,jdbcType=VARCHAR},
+      </if>
+      <if test="bl2 != null">
+        #{bl2,jdbcType=VARCHAR},
+      </if>
+      <if test="zby != null">
+        #{zby,jdbcType=VARCHAR},
+      </if>
+      <if test="ssdw != null">
+        #{ssdw,jdbcType=VARCHAR},
+      </if>
+      <if test="xlx != null">
+        #{xlx,jdbcType=VARCHAR},
+      </if>
+      <if test="xh2 != null">
+        #{xh2,jdbcType=VARCHAR},
+      </if>
+    </trim>
+  </insert>
+  <select id="countByExample" parameterType="com.minpay.db.table.model.DwFileDetail05Example" resultType="java.lang.Integer">
+    <!--
+      WARNING - @mbggenerated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    select count(*) from dw_file_detail_05
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </select>
+  <update id="updateByExampleSelective" parameterType="map">
+    <!--
+      WARNING - @mbggenerated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update dw_file_detail_05
+    <set>
+      <if test="record.id != null">
+        DFD5_ID = #{record.id,jdbcType=VARCHAR},
+      </if>
+      <if test="record.no != null">
+        DFD5_NO = #{record.no,jdbcType=VARCHAR},
+      </if>
+      <if test="record.gdbh != null">
+        DFD5_GDBH = #{record.gdbh,jdbcType=VARCHAR},
+      </if>
+      <if test="record.gwgdbh != null">
+        DFD5_GWGDBH = #{record.gwgdbh,jdbcType=VARCHAR},
+      </if>
+      <if test="record.zt != null">
+        DFD5_ZT = #{record.zt,jdbcType=VARCHAR},
+      </if>
+      <if test="record.ywlx != null">
+        DFD5_YWLX = #{record.ywlx,jdbcType=VARCHAR},
+      </if>
+      <if test="record.dqbz != null">
+        DFD5_DQBZ = #{record.dqbz,jdbcType=VARCHAR},
+      </if>
+      <if test="record.slry != null">
+        DFD5_SLRY = #{record.slry,jdbcType=VARCHAR},
+      </if>
+      <if test="record.slsj != null">
+        DFD5_SLSJ = #{record.slsj,jdbcType=VARCHAR},
+      </if>
+      <if test="record.sllr != null">
+        DFD5_SLLR = #{record.sllr,jdbcType=VARCHAR},
+      </if>
+      <if test="record.yhbh != null">
+        DFD5_YHBH = #{record.yhbh,jdbcType=VARCHAR},
+      </if>
+      <if test="record.yhmc != null">
+        DFD5_YHMC = #{record.yhmc,jdbcType=VARCHAR},
+      </if>
+      <if test="record.lxdz != null">
+        DFD5_LXDZ = #{record.lxdz,jdbcType=VARCHAR},
+      </if>
+      <if test="record.lxdh != null">
+        DFD5_LXDH = #{record.lxdh,jdbcType=VARCHAR},
+      </if>
+      <if test="record.hfnr != null">
+        DFD5_HFNR = #{record.hfnr,jdbcType=VARCHAR},
+      </if>
+      <if test="record.yjfl != null">
+        DFD5_YJFL = #{record.yjfl,jdbcType=VARCHAR},
+      </if>
+      <if test="record.ejfl != null">
+        DFD5_EJFL = #{record.ejfl,jdbcType=VARCHAR},
+      </if>
+      <if test="record.ywzl != null">
+        DFD5_YWZL = #{record.ywzl,jdbcType=VARCHAR},
+      </if>
+      <if test="record.sjdw != null">
+        DFD5_SJDW = #{record.sjdw,jdbcType=VARCHAR},
+      </if>
+      <if test="record.gddw != null">
+        DFD5_GDDW = #{record.gddw,jdbcType=VARCHAR},
+      </if>
+      <if test="record.cbd != null">
+        DFD5_CBD = #{record.cbd,jdbcType=VARCHAR},
+      </if>
+      <if test="record.cljg != null">
+        DFD5_CLJG = #{record.cljg,jdbcType=VARCHAR},
+      </if>
+      <if test="record.cldw != null">
+        DFD5_CLDW = #{record.cldw,jdbcType=VARCHAR},
+      </if>
+      <if test="record.clbm != null">
+        DFD5_CLBM = #{record.clbm,jdbcType=VARCHAR},
+      </if>
+      <if test="record.glgd != null">
+        DFD5_GLGD = #{record.glgd,jdbcType=VARCHAR},
+      </if>
+      <if test="record.wtyyfl != null">
+        DFD5_WTYYFL = #{record.wtyyfl,jdbcType=VARCHAR},
+      </if>
+      <if test="record.gdfj != null">
+        DFD5_GDFJ = #{record.gdfj,jdbcType=VARCHAR},
+      </if>
+      <if test="record.zrbm != null">
+        DFD5_ZRBM = #{record.zrbm,jdbcType=VARCHAR},
+      </if>
+      <if test="record.gdsj != null">
+        DFD5_GDSJ = #{record.gdsj,jdbcType=VARCHAR},
+      </if>
+      <if test="record.gqsj != null">
+        DFD5_GQSJ = #{record.gqsj,jdbcType=VARCHAR},
+      </if>
+      <if test="record.gqyy != null">
+        DFD5_GQYY = #{record.gqyy,jdbcType=VARCHAR},
+      </if>
+      <if test="record.fwqd != null">
+        DFD5_FWQD = #{record.fwqd,jdbcType=VARCHAR},
+      </if>
+      <if test="record.sjhtzryy != null">
+        DFD5_SJHTZRYY = #{record.sjhtzryy,jdbcType=VARCHAR},
+      </if>
+      <if test="record.fileId != null">
+        DFD5_FILE_ID = #{record.fileId,jdbcType=VARCHAR},
+      </if>
+      <if test="record.gddwg != null">
+        DFD5_GDDWG = #{record.gddwg,jdbcType=VARCHAR},
+      </if>
+      <if test="record.cldwg != null">
+        DFD5_CLDWG = #{record.cldwg,jdbcType=VARCHAR},
+      </if>
+      <if test="record.bl1 != null">
+        DFD5_BL1 = #{record.bl1,jdbcType=VARCHAR},
+      </if>
+      <if test="record.bl2 != null">
+        DFD5_BL2 = #{record.bl2,jdbcType=VARCHAR},
+      </if>
+      <if test="record.zby != null">
+        DFD5_ZBY = #{record.zby,jdbcType=VARCHAR},
+      </if>
+      <if test="record.ssdw != null">
+        DFD5_SSDW = #{record.ssdw,jdbcType=VARCHAR},
+      </if>
+      <if test="record.xlx != null">
+        DFD5_XLX = #{record.xlx,jdbcType=VARCHAR},
+      </if>
+      <if test="record.xh2 != null">
+        DFD5_XH2 = #{record.xh2,jdbcType=VARCHAR},
+      </if>
+    </set>
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByExample" parameterType="map">
+    <!--
+      WARNING - @mbggenerated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update dw_file_detail_05
+    set DFD5_ID = #{record.id,jdbcType=VARCHAR},
+      DFD5_NO = #{record.no,jdbcType=VARCHAR},
+      DFD5_GDBH = #{record.gdbh,jdbcType=VARCHAR},
+      DFD5_GWGDBH = #{record.gwgdbh,jdbcType=VARCHAR},
+      DFD5_ZT = #{record.zt,jdbcType=VARCHAR},
+      DFD5_YWLX = #{record.ywlx,jdbcType=VARCHAR},
+      DFD5_DQBZ = #{record.dqbz,jdbcType=VARCHAR},
+      DFD5_SLRY = #{record.slry,jdbcType=VARCHAR},
+      DFD5_SLSJ = #{record.slsj,jdbcType=VARCHAR},
+      DFD5_SLLR = #{record.sllr,jdbcType=VARCHAR},
+      DFD5_YHBH = #{record.yhbh,jdbcType=VARCHAR},
+      DFD5_YHMC = #{record.yhmc,jdbcType=VARCHAR},
+      DFD5_LXDZ = #{record.lxdz,jdbcType=VARCHAR},
+      DFD5_LXDH = #{record.lxdh,jdbcType=VARCHAR},
+      DFD5_HFNR = #{record.hfnr,jdbcType=VARCHAR},
+      DFD5_YJFL = #{record.yjfl,jdbcType=VARCHAR},
+      DFD5_EJFL = #{record.ejfl,jdbcType=VARCHAR},
+      DFD5_YWZL = #{record.ywzl,jdbcType=VARCHAR},
+      DFD5_SJDW = #{record.sjdw,jdbcType=VARCHAR},
+      DFD5_GDDW = #{record.gddw,jdbcType=VARCHAR},
+      DFD5_CBD = #{record.cbd,jdbcType=VARCHAR},
+      DFD5_CLJG = #{record.cljg,jdbcType=VARCHAR},
+      DFD5_CLDW = #{record.cldw,jdbcType=VARCHAR},
+      DFD5_CLBM = #{record.clbm,jdbcType=VARCHAR},
+      DFD5_GLGD = #{record.glgd,jdbcType=VARCHAR},
+      DFD5_WTYYFL = #{record.wtyyfl,jdbcType=VARCHAR},
+      DFD5_GDFJ = #{record.gdfj,jdbcType=VARCHAR},
+      DFD5_ZRBM = #{record.zrbm,jdbcType=VARCHAR},
+      DFD5_GDSJ = #{record.gdsj,jdbcType=VARCHAR},
+      DFD5_GQSJ = #{record.gqsj,jdbcType=VARCHAR},
+      DFD5_GQYY = #{record.gqyy,jdbcType=VARCHAR},
+      DFD5_FWQD = #{record.fwqd,jdbcType=VARCHAR},
+      DFD5_SJHTZRYY = #{record.sjhtzryy,jdbcType=VARCHAR},
+      DFD5_FILE_ID = #{record.fileId,jdbcType=VARCHAR},
+      DFD5_GDDWG = #{record.gddwg,jdbcType=VARCHAR},
+      DFD5_CLDWG = #{record.cldwg,jdbcType=VARCHAR},
+      DFD5_BL1 = #{record.bl1,jdbcType=VARCHAR},
+      DFD5_BL2 = #{record.bl2,jdbcType=VARCHAR},
+      DFD5_ZBY = #{record.zby,jdbcType=VARCHAR},
+      DFD5_SSDW = #{record.ssdw,jdbcType=VARCHAR},
+      DFD5_XLX = #{record.xlx,jdbcType=VARCHAR},
+      DFD5_XH2 = #{record.xh2,jdbcType=VARCHAR}
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByPrimaryKeySelective" parameterType="com.minpay.db.table.model.DwFileDetail05">
+    <!--
+      WARNING - @mbggenerated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update dw_file_detail_05
+    <set>
+      <if test="no != null">
+        DFD5_NO = #{no,jdbcType=VARCHAR},
+      </if>
+      <if test="gdbh != null">
+        DFD5_GDBH = #{gdbh,jdbcType=VARCHAR},
+      </if>
+      <if test="gwgdbh != null">
+        DFD5_GWGDBH = #{gwgdbh,jdbcType=VARCHAR},
+      </if>
+      <if test="zt != null">
+        DFD5_ZT = #{zt,jdbcType=VARCHAR},
+      </if>
+      <if test="ywlx != null">
+        DFD5_YWLX = #{ywlx,jdbcType=VARCHAR},
+      </if>
+      <if test="dqbz != null">
+        DFD5_DQBZ = #{dqbz,jdbcType=VARCHAR},
+      </if>
+      <if test="slry != null">
+        DFD5_SLRY = #{slry,jdbcType=VARCHAR},
+      </if>
+      <if test="slsj != null">
+        DFD5_SLSJ = #{slsj,jdbcType=VARCHAR},
+      </if>
+      <if test="sllr != null">
+        DFD5_SLLR = #{sllr,jdbcType=VARCHAR},
+      </if>
+      <if test="yhbh != null">
+        DFD5_YHBH = #{yhbh,jdbcType=VARCHAR},
+      </if>
+      <if test="yhmc != null">
+        DFD5_YHMC = #{yhmc,jdbcType=VARCHAR},
+      </if>
+      <if test="lxdz != null">
+        DFD5_LXDZ = #{lxdz,jdbcType=VARCHAR},
+      </if>
+      <if test="lxdh != null">
+        DFD5_LXDH = #{lxdh,jdbcType=VARCHAR},
+      </if>
+      <if test="hfnr != null">
+        DFD5_HFNR = #{hfnr,jdbcType=VARCHAR},
+      </if>
+      <if test="yjfl != null">
+        DFD5_YJFL = #{yjfl,jdbcType=VARCHAR},
+      </if>
+      <if test="ejfl != null">
+        DFD5_EJFL = #{ejfl,jdbcType=VARCHAR},
+      </if>
+      <if test="ywzl != null">
+        DFD5_YWZL = #{ywzl,jdbcType=VARCHAR},
+      </if>
+      <if test="sjdw != null">
+        DFD5_SJDW = #{sjdw,jdbcType=VARCHAR},
+      </if>
+      <if test="gddw != null">
+        DFD5_GDDW = #{gddw,jdbcType=VARCHAR},
+      </if>
+      <if test="cbd != null">
+        DFD5_CBD = #{cbd,jdbcType=VARCHAR},
+      </if>
+      <if test="cljg != null">
+        DFD5_CLJG = #{cljg,jdbcType=VARCHAR},
+      </if>
+      <if test="cldw != null">
+        DFD5_CLDW = #{cldw,jdbcType=VARCHAR},
+      </if>
+      <if test="clbm != null">
+        DFD5_CLBM = #{clbm,jdbcType=VARCHAR},
+      </if>
+      <if test="glgd != null">
+        DFD5_GLGD = #{glgd,jdbcType=VARCHAR},
+      </if>
+      <if test="wtyyfl != null">
+        DFD5_WTYYFL = #{wtyyfl,jdbcType=VARCHAR},
+      </if>
+      <if test="gdfj != null">
+        DFD5_GDFJ = #{gdfj,jdbcType=VARCHAR},
+      </if>
+      <if test="zrbm != null">
+        DFD5_ZRBM = #{zrbm,jdbcType=VARCHAR},
+      </if>
+      <if test="gdsj != null">
+        DFD5_GDSJ = #{gdsj,jdbcType=VARCHAR},
+      </if>
+      <if test="gqsj != null">
+        DFD5_GQSJ = #{gqsj,jdbcType=VARCHAR},
+      </if>
+      <if test="gqyy != null">
+        DFD5_GQYY = #{gqyy,jdbcType=VARCHAR},
+      </if>
+      <if test="fwqd != null">
+        DFD5_FWQD = #{fwqd,jdbcType=VARCHAR},
+      </if>
+      <if test="sjhtzryy != null">
+        DFD5_SJHTZRYY = #{sjhtzryy,jdbcType=VARCHAR},
+      </if>
+      <if test="fileId != null">
+        DFD5_FILE_ID = #{fileId,jdbcType=VARCHAR},
+      </if>
+      <if test="gddwg != null">
+        DFD5_GDDWG = #{gddwg,jdbcType=VARCHAR},
+      </if>
+      <if test="cldwg != null">
+        DFD5_CLDWG = #{cldwg,jdbcType=VARCHAR},
+      </if>
+      <if test="bl1 != null">
+        DFD5_BL1 = #{bl1,jdbcType=VARCHAR},
+      </if>
+      <if test="bl2 != null">
+        DFD5_BL2 = #{bl2,jdbcType=VARCHAR},
+      </if>
+      <if test="zby != null">
+        DFD5_ZBY = #{zby,jdbcType=VARCHAR},
+      </if>
+      <if test="ssdw != null">
+        DFD5_SSDW = #{ssdw,jdbcType=VARCHAR},
+      </if>
+      <if test="xlx != null">
+        DFD5_XLX = #{xlx,jdbcType=VARCHAR},
+      </if>
+      <if test="xh2 != null">
+        DFD5_XH2 = #{xh2,jdbcType=VARCHAR},
+      </if>
+    </set>
+    where DFD5_ID = #{id,jdbcType=VARCHAR}
+  </update>
+  <update id="updateByPrimaryKey" parameterType="com.minpay.db.table.model.DwFileDetail05">
+    <!--
+      WARNING - @mbggenerated
+      This element is automatically generated by MyBatis Generator, do not modify.
+    -->
+    update dw_file_detail_05
+    set DFD5_NO = #{no,jdbcType=VARCHAR},
+      DFD5_GDBH = #{gdbh,jdbcType=VARCHAR},
+      DFD5_GWGDBH = #{gwgdbh,jdbcType=VARCHAR},
+      DFD5_ZT = #{zt,jdbcType=VARCHAR},
+      DFD5_YWLX = #{ywlx,jdbcType=VARCHAR},
+      DFD5_DQBZ = #{dqbz,jdbcType=VARCHAR},
+      DFD5_SLRY = #{slry,jdbcType=VARCHAR},
+      DFD5_SLSJ = #{slsj,jdbcType=VARCHAR},
+      DFD5_SLLR = #{sllr,jdbcType=VARCHAR},
+      DFD5_YHBH = #{yhbh,jdbcType=VARCHAR},
+      DFD5_YHMC = #{yhmc,jdbcType=VARCHAR},
+      DFD5_LXDZ = #{lxdz,jdbcType=VARCHAR},
+      DFD5_LXDH = #{lxdh,jdbcType=VARCHAR},
+      DFD5_HFNR = #{hfnr,jdbcType=VARCHAR},
+      DFD5_YJFL = #{yjfl,jdbcType=VARCHAR},
+      DFD5_EJFL = #{ejfl,jdbcType=VARCHAR},
+      DFD5_YWZL = #{ywzl,jdbcType=VARCHAR},
+      DFD5_SJDW = #{sjdw,jdbcType=VARCHAR},
+      DFD5_GDDW = #{gddw,jdbcType=VARCHAR},
+      DFD5_CBD = #{cbd,jdbcType=VARCHAR},
+      DFD5_CLJG = #{cljg,jdbcType=VARCHAR},
+      DFD5_CLDW = #{cldw,jdbcType=VARCHAR},
+      DFD5_CLBM = #{clbm,jdbcType=VARCHAR},
+      DFD5_GLGD = #{glgd,jdbcType=VARCHAR},
+      DFD5_WTYYFL = #{wtyyfl,jdbcType=VARCHAR},
+      DFD5_GDFJ = #{gdfj,jdbcType=VARCHAR},
+      DFD5_ZRBM = #{zrbm,jdbcType=VARCHAR},
+      DFD5_GDSJ = #{gdsj,jdbcType=VARCHAR},
+      DFD5_GQSJ = #{gqsj,jdbcType=VARCHAR},
+      DFD5_GQYY = #{gqyy,jdbcType=VARCHAR},
+      DFD5_FWQD = #{fwqd,jdbcType=VARCHAR},
+      DFD5_SJHTZRYY = #{sjhtzryy,jdbcType=VARCHAR},
+      DFD5_FILE_ID = #{fileId,jdbcType=VARCHAR},
+      DFD5_GDDWG = #{gddwg,jdbcType=VARCHAR},
+      DFD5_CLDWG = #{cldwg,jdbcType=VARCHAR},
+      DFD5_BL1 = #{bl1,jdbcType=VARCHAR},
+      DFD5_BL2 = #{bl2,jdbcType=VARCHAR},
+      DFD5_ZBY = #{zby,jdbcType=VARCHAR},
+      DFD5_SSDW = #{ssdw,jdbcType=VARCHAR},
+      DFD5_XLX = #{xlx,jdbcType=VARCHAR},
+      DFD5_XH2 = #{xh2,jdbcType=VARCHAR}
+    where DFD5_ID = #{id,jdbcType=VARCHAR}
+  </update>
+</mapper>

+ 19 - 0
src/main/webapp/admin/404.html

@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="UTF-8">
+<title>404</title>
+<meta name="renderer" content="webkit">
+<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
+<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
+<meta name="apple-mobile-web-app-status-bar-style" content="black">
+<meta name="apple-mobile-web-app-capable" content="yes">
+<meta name="format-detection" content="telephone=no">
+<script src="../js/min-loader.js"></script>
+</head>
+<body background="images/timg.gif">
+</body>
+<script type="text/javascript">
+alert(getContextPath());
+</script>
+</html>

+ 238 - 0
src/main/webapp/admin/95598/reportManage95598.html

@@ -0,0 +1,238 @@
+<!DOCTYPE html>
+<html>
+
+<head>
+    <meta charset="utf-8">
+    <title>报表管理</title>
+    <script src="../../js/min-loader-next.js"></script>
+</head>
+<body class="content">
+	<div class="order-body">
+		<div class="order-tiaojian back-gray">
+			<div class="tiaojian-part1" id = "conditions">
+				<div class="fl f12-gray4-op">所选条件:</div>
+			</div>
+			<div class="tiaojian-part2 fr  demoTable">
+				<button class="order-bnt1 layui-btn" onclick="reloadSearch()" >查询</button>
+				<button class="layui-btn order-bnt2" onclick="reset()">重置</button>
+				<button class="order-bnt2 layui-btn" onclick="uploadExcel()">报表生成</button>
+				<a href="#" id="toggle" class="top">收起</a>
+			</div>
+		</div>
+		<form class="layui-form" action="" id = "formRole">
+			<div class="order-select back-border" id="content">
+				<div class="d-dashed" style="margin: 10px 0;"></div>
+				<div class="layui-inline">
+					<label class="f12-gray4">生成日期:</label>
+					<div class="layui-input-inline" style="position: relative;">
+						<input type="text" class="layui-input" id="date" placeholder="请选择日期" readOnly/>
+					</div>
+				</div>
+				<div class="layui-inline">
+					<label class="f12-gray4">文件名称:</label>
+					<input name="fileName"  id ="fileName" autocomplete="off" placeholder="请输入文件名称" class="search-select" onchange = "changeSelectCon(1,this,'inp')">
+				</div>
+			</div>
+		</form>
+	</div>
+	<div class="shadow-content" style="margin:1.5rem;">
+    	<table id="tableTest" lay-filter="tableFilter"></table>
+	</div>
+	<script type="text/html" id="barDemo">
+		<a class="layui-btn layui-btn-xs" lay-event="detail">详情查看</a>
+     	<a class="layui-btn layui-btn-xs" lay-event="downLoad">下载</a>
+		<a class="layui-btn layui-btn-xs" lay-event="delete">删除</a>
+   	</script>
+	<script type="text/html" id="algorithmBar">
+		<a class="layui-btn layui-btn-xs" lay-event="algorithmDetail">查看</a>
+   	</script>
+    <script>
+    
+    
+	$("#toggle").click(function() {
+		$(this).html($("#content").is(":hidden") ? "收起" + "<i class='iconfont up iconSelect_drop-down'/></i>" : "展开" +
+			"<i class='iconfont up iconSelect_drop-down'/></i>");
+		$("#content").slideToggle();
+	});
+	var pageId = "240000";
+	// 终端投托运报表
+	var reportType = "FADZBB";
+	
+     var table;
+     var form;
+     layui.use(['table','laydate','form'], function(){
+    	  var laydate = layui.laydate;
+    	  laydate.render({ 
+    		  elem: '#date'
+    		  ,type: 'date'
+    		  ,range: true
+    		  ,done: function(value, date, endDate){
+    			  changeSelectCon(0,"date",'date',value)
+  			  }
+		  });
+    	  
+		  table = layui.table;
+		  
+		  // 加载数据
+		  table.render({
+			id: 'tableTest'
+		    ,elem: '#tableTest'
+		    ,limit:10
+		    ,url: 'ReportManageAction/reportInfQuery' //数据接口
+		    ,method: 'post'
+		    ,where:{MINView:"JSON", reportType : reportType}
+		    ,page: true //开启分页
+		    ,cols: [[ //表头
+		      {field:'num', title: '序号',width:'5%', type:'numbers', align: 'center'}
+		      ,{field: 'uploadDate', title: '生成时间', width:'15%', sort: true}
+		      ,{field: 'fileName', title: '报表名称', width:'30%'}
+		      ,{field: 'algorith', title: '算法', width: '10%', toolbar: '#algorithmBar'}
+		      ,{field: 'operate', title: '操作', width: '40%', toolbar: '#barDemo', fixed : 'right'}
+		    ]]
+		    ,done: function(res, curr, count){
+		    }
+		    ,even: true //开启隔行背景
+		  });
+		  
+		 // 监听工具条(操作)
+		  table.on('tool(tableFilter)', function(obj){ //注:tool是工具条事件名,tableFilter是table原始容器的属性 lay-filter="对应的值"
+		    var data = obj.data; //获得当前行数据
+		    var layEvent = obj.event; //获得 lay-event 对应的值(也可以是表头的 event 参数对应的值)
+		    var tr = obj.tr; //获得当前行 tr 的DOM对象
+		    if (layEvent === 'detail'){ //查看
+		    	showDetail(data);
+		    } else if(layEvent === 'downLoad'){
+		    	window.open("../../ReportManageAction/reportDownLoad?reportId=" + data.id);
+		    } else if(layEvent === 'delete'){
+		    	layer.confirm('确认删除?', function(index){
+	        		layer.close(index);
+			    	$.request({
+						action : 'ReportManageAction/reportInfDelete',
+						data : {
+							reportId : data.id
+						},
+						success : function(data1) {
+							$.SuccAlert("操作成功!");
+							reloadSearch();
+						},
+						error : function(data2) {
+							$.ErrorAlert(data2.MINErrorMessage);
+						}
+		    	  	});
+	      		});
+		    } else if (layEvent === 'algorithmDetail'){ // 算法查看
+		    	algorithmDetail(data);
+		    }
+		  });
+	 });
+      
+      function reloadSearch (t) {
+	    	var fileName = $("#fileName").val();
+	    	var date = $("#date").val();
+	        //执行重载
+ 		    table.reload('tableTest', {
+ 		        page: {
+ 		        	curr: 1 //重新从第 1 页开始
+ 		        }
+ 		        ,where: {
+ 		        	date : date,
+ 		        	fileName : fileName
+ 		        }
+ 		     });
+ 		 if (t == 1) {
+     		  $.Alert("修改成功"); 
+     	 }
+      }
+      
+      function reset(){
+    	  $('#formRole')[0].reset();
+    	  $("#conditions").html('<div class="fl f12-gray4-op">所选条件:</div>');
+      }
+      
+      function uploadExcel(){
+    	  var openPageId = pageId + "-01";
+    	  openMainTabPage(openPageId, "报表生成", "FA/reportProduceFA.html?pageId="+openPageId+"&reportType="+reportType, '', pageId, reloadSearch);
+      }
+      
+      function showDetail(data){
+    	  var openPageId = pageId + "-02";
+    	  openMainTabPage(openPageId, "详情查看", "FA/reportManageDetailFA.html?pageId="+openPageId+"&reportId="+data.id+"&type="+data.type+"&typeId="+data.typeId+"&fileName="+chineseUrlEncode(data.fileName), '', pageId, null);
+      }
+      function algorithmDetail(data){
+   	  	var openPageId = pageId + "-04";
+		openMainTabPage(openPageId, "算法详情", "reprotManage/reportAlgorithm.html?pageId="+openPageId+"&reportTypeId="+data.typeId, '', pageId, null);
+      }
+      
+   	function changeSelectCon(index, t, type, dateValue){
+   		if (type == "date") {
+   			if (isEmpty(dateValue)) {
+   				$("#search" + index).remove();
+   			} else {
+   				$("#search" + index).remove();
+   				if (isEmpty($("#search" + index).attr("name"))) {
+   					$("#conditions").append(getSelectConHtml(index, t, type,dateValue));
+   				}
+   			}
+   		} else if (type == 'inp') {
+   			if (isEmpty($(t).val())) {
+   				$("#search" + index).remove();
+   			} else {
+   				$("#search" + index).remove();
+   				if (isEmpty($("#search" + index).attr("name"))) {
+   					$("#conditions").append(getSelectConHtml(index, t, type));
+   				}
+   			}
+   		} else {
+   			if (isEmpty($(t).val())) {
+   				$("#search" + index).remove();
+   			} else {
+   				$("#search" + index).remove();
+   				if (isEmpty($("#search" + index).attr("name"))) {
+   					$(t).attr("id","subjects");
+   					$("#conditions").append(getSelectConHtml(index, t, type));
+   				}
+   			}
+   		}
+   	}
+    	
+	var array = new Array('生成日期','文件名称');
+	function getSelectConHtml(index, t, type,dateValue){
+		var name;
+		if (type == "date") {
+			name = $("#"+t).attr("id");
+		} else {
+			name = $(t).attr("id");
+		}
+		var value;
+		if(type == "inp"){
+			value = t.value.substr(0,5)+"..";
+		}
+		if (type == "date") {
+			value = dateValue;
+		}
+		if(type == "sel"){
+			value = $("#stateDiv").find("option:selected").text();
+		}
+		var html = '<div class="fl xuanzhong-active" id = "search' + index + '" name = "' + name + '" onclick = "removeSearch(this)">' +
+						'<div class="fl">' + array[index] + '</div>' +
+						':<span>'+value+'</span>' +
+						'<svg class="icon" aria-hidden="true">' +
+						  '<use xlink:href="#iconicon_close1"></use>' +
+						'</svg>' +
+					'</div>';
+		return html;
+	}
+	function removeSearch(t) {
+		if ($(t).attr("name") == 'subjects') {
+			initSelect('stateDiv', "COMPANY_STATE", "state", '', true); 
+			form.render();
+			$(t).remove();
+		} else {
+			$("#"+$(t).attr("name")).val('');
+			$(t).remove();
+		}
+	}
+    </script>
+</body>
+
+</html>

+ 106 - 0
src/main/webapp/admin/95598/typeManage.html

@@ -0,0 +1,106 @@
+<!DOCTYPE html>
+<html>
+
+<head>
+    <meta charset="utf-8">
+    <title>算法管理</title>
+    <script src="../../js/min-loader-next.js"></script>
+</head>
+<body class="content">
+	<div class="order-body" style = "width : 95%; height : 700px; display: inline-table;">
+		<div id="typeTreeDiv" class="demo-tree-more" style = "margin : 20px"></div>
+	</div>
+    <script>
+    	var pageId = "260001";
+    	
+    	var resList = null;
+    	
+    	layui.use(['tree', 'util'], function(){
+    		var tree = layui.tree
+			,layer = layui.layer
+			,util = layui.util;
+    		
+			$.request({
+				action : 'Report95598Action/typeEdit95598',
+				data : {
+				},
+				success : function(data) {
+					resList = data.resList;
+					tree.render({
+					    elem: '#typeTreeDiv'
+					    ,data: resList
+					    ,edit: ['add', 'update', 'del'] //操作节点的图标
+						,operate: function(obj){
+						    var type = obj.type; //得到操作类型:add、edit、del
+						    var data = obj.data; //得到当前节点的数据
+						    var elem = obj.elem; //得到当前节点元素
+						    console.log(obj);
+						    var id = data.id; //得到节点索引
+						    editType(elem, type, data.id, data.title, data.level)
+						}
+					});
+				},
+				error : function(data2) {
+					$.ErrorAlert(data2.MINErrorMessage);
+				}
+		  	});
+    	})
+    	
+    	// 新增节点
+    	function editType(elem, type, id, title, level) {
+    		var nodeName = "未命名";
+    		if (type == "update") {
+    			nodeName = title;
+    		}
+    		
+    		if (type == "add" && level == "2") {
+    			$.ErrorAlert("不可再增加子节点!");
+    			reloadTree();
+    		}
+        	$.request({
+				action : 'Report95598Action/typeEdit95598',
+				data : {
+					type : type,
+					nodeName : nodeName,
+					id : id
+				},
+				success : function(data) {
+					if (data.MINStatus == '0') {
+						resList = data.resList;
+						reloadTree();
+					} else {
+						reloadTree();
+						$.ErrorAlert(data.msg);
+					}
+				},
+				error : function(data2) {
+					reloadTree();
+					$.ErrorAlert(data2.msg);
+				}
+        	})
+    	}
+
+    	function reloadTree() {
+			layui.use(['tree', 'util'], function(){
+				var tree = layui.tree
+				,layer = layui.layer
+				,util = layui.util;
+				tree.render({
+					elem: '#typeTreeDiv'
+					,data: resList
+					,edit: ['add', 'update', 'del'] //操作节点的图标
+					,operate: function(obj){
+					    var type = obj.type; //得到操作类型:add、edit、del
+					    var data = obj.data; //得到当前节点的数据
+					    var elem = obj.elem; //得到当前节点元素
+					    console.log(obj);
+					    var id = data.id; //得到节点索引
+					    editType(elem, type, data.id, data.title, data.level)
+					}
+				});
+			})
+    	}
+    </script>
+</body>
+
+</html>

+ 125 - 1
src/main/webapp/admin/reprotManage/dataWareUpload.html

@@ -195,7 +195,131 @@
 			</tr>
 		</table>
 	</div>
-
+	<div id = "tableDemo1000006" name = "tableDiv" style = "display : none; margin: 10px;">
+		<p style = "font-weight: 700;">表格示例</p>
+		<p>1、请上传有标准行列的一组数据</p>
+		<p>2、日期字段需包含年月日(如:2020/08/08)或年月日时分(如:2020/08/08 00:00:00)</p>
+		<table class="layui-table">
+			<tr>
+				<td>序号</td>
+				<td>工单编号</td>
+				<td>国网工单编号</td>
+				<td>状态</td>
+				<td>业务类型</td>
+				<td>当前步骤</td>
+				<td>受理人员</td>
+				<td>受理时间</td>
+				<td>受理内容</td>
+				<td>用户编号</td>
+				<td>用户名称</td>
+				<td>联系地址</td>
+				<td>联系电话</td>
+				<td>回访内容</td>
+				<td>一级分类</td>
+				<td>二级分类</td>
+				<td>业务子类</td>
+				<td>上级单位</td>
+				<td>供电单位</td>
+				<td>抄表段</td>
+				<td>处理结果</td>
+				<td>处理单位</td>
+				<td>处理部门</td>
+				<td>关联工单</td>
+				<td>问题原因分类</td>
+				<td>工单分级</td>
+				<td>责任部门</td>
+				<td>归档时间</td>
+				<td>挂起时间</td>
+				<td>挂起原因</td>
+				<td>服务渠道</td>
+				<td>省级回退责任原因</td>
+			</tr>
+			<tr>
+				<td>1</td>
+				<td>200620092407</td>
+				<td>2020062006093555</td>
+				<td>完成</td>
+				<td>服务申请</td>
+				<td>结束</td>
+				<td>123</td>
+				<td>2020-06-20 09:55</td>
+				<td>【短信变更】</td>
+				<td>7896</td>
+				<td>先生</td>
+				<td>山东省泰安市泰山区环山路和博阳路交叉口</td>
+				<td>12</td>
+				<td>【非常满意归档】已将处理结果告知客户,客户表示非常满意。</td>
+				<td>用电服务需求</td>
+				<td>客户侧用电需求配合</td>
+				<td>客户侧用电需求配合</td>
+				<td>泰安供电公司</td>
+				<td>高新供电中心</td>
+				<td>23</td>
+				<td>24</td>
+				<td>东部新区供电所</td>
+				<td>营业班</td>
+				<td>否</td>
+				<td></td>
+				<td></td>
+				<td>营销远程工作站</td>
+				<td>2020-06-22 15:47</td>
+				<td></td>
+				<td></td>
+				<td>呼叫中心</td>
+				<td></td>
+				<td></td>
+				<td>高新</td>
+				<td>东部新区供电所</td>
+				<td>泰山</td>
+				<td>0</td>
+				<td>6</td>
+				<td>泰山</td>
+				<td>基础信息</td>
+			</tr>
+			<tr>
+				<td>2</td>
+				<td>200620092407</td>
+				<td>2020062006093555</td>
+				<td>完成</td>
+				<td>服务申请</td>
+				<td>结束</td>
+				<td>123</td>
+				<td>2020-06-20 09:55</td>
+				<td>【短信变更】</td>
+				<td>7896</td>
+				<td>先生</td>
+				<td>山东省泰安市泰山区环山路和博阳路交叉口</td>
+				<td>12</td>
+				<td>【非常满意归档】已将处理结果告知客户,客户表示非常满意。</td>
+				<td>用电服务需求</td>
+				<td>客户侧用电需求配合</td>
+				<td>客户侧用电需求配合</td>
+				<td>泰安供电公司</td>
+				<td>高新供电中心</td>
+				<td>23</td>
+				<td>24</td>
+				<td>东部新区供电所</td>
+				<td>营业班</td>
+				<td>否</td>
+				<td></td>
+				<td></td>
+				<td>营销远程工作站</td>
+				<td>2020-06-22 15:47</td>
+				<td></td>
+				<td></td>
+				<td>呼叫中心</td>
+				<td></td>
+				<td></td>
+				<td>高新</td>
+				<td>东部新区供电所</td>
+				<td>泰山</td>
+				<td>0</td>
+				<td>6</td>
+				<td>泰山</td>
+				<td>基础信息</td>
+			</tr>
+		</table>
+	</div>
 	
     <script>
 		var pageId = getQueryString("pageId");

+ 2 - 2
src/main/webapp/admin/reprotManage/reportAlgorithm.html

@@ -11,9 +11,9 @@
 		<div id="reportTypeTreeDiv" class="demo-tree-more" style = "margin : 35px"></div>
 	</div>
 	<div class="order-body" style="width : 75%; height : 700px; display: inline-table;">
-		<blockquote class="layui-elem-quote" style = "margin : 20px;width: 100%;height: 50px;">数据算法</blockquote>
+		<blockquote class="layui-elem-quote" style = "margin : 20px;width: 90%;height: 50px;">数据算法</blockquote>
 		<p id = "utilName" style = "margin-left : 20px;">工具表:<a id = "utilName"></a></p>
-		<div style = "width: 100%; margin : 20px; text-align:left;" class = "layui-upload-drag">
+		<div style = "width: 100%; margin : 20px; text-align:left;width: 90%;" class = "layui-upload-drag">
 			<p>数据算法如下:</p>
 			<div id = "content"></div>
 		</div>