فهرست منبع

添加中图版本

DESKTOP-2K9OVK9\siwei 3 ماه پیش
والد
کامیت
3ca1637cb2

+ 1 - 1
onemap-modules/onemap-model/src/main/java/com/onemap/sanya/controller/business/ZtCqBcbzListController.java

@@ -45,7 +45,7 @@ public class ZtCqBcbzListController extends BaseController
     @GetMapping("/list")
     public TableDataInfo list(ZtCqBcbzList ztCqBcbzList)
     {
-        startPage();
+//        startPage();
         List<ZtCqBcbzList> list = ztCqBcbzListService.selectZtCqBcbzListList(ztCqBcbzList);
         return getDataTable(list);
     }

+ 1 - 1
onemap-modules/onemap-model/src/main/java/com/onemap/sanya/controller/business/ZtQmBcbzListController.java

@@ -43,7 +43,7 @@ public class ZtQmBcbzListController extends BaseController
     @GetMapping("/list")
     public TableDataInfo list(ZtQmBcbzList ztQmBcbzList)
     {
-        startPage();
+//        startPage();
         List<ZtQmBcbzList> list = ztQmBcbzListService.selectZtQmBcbzListList(ztQmBcbzList);
         return getDataTable(list);
     }

+ 1 - 1
onemap-modules/onemap-model/src/main/java/com/onemap/sanya/controller/business/ZtZdBcbzListController.java

@@ -43,7 +43,7 @@ public class ZtZdBcbzListController extends BaseController
     @GetMapping("/list")
     public TableDataInfo list(ZtZdBcbzList ztZdBcbzList)
     {
-        startPage();
+//        startPage();
         List<ZtZdBcbzList> list = ztZdBcbzListService.selectZtZdBcbzListList(ztZdBcbzList);
         return getDataTable(list);
     }

+ 5 - 0
onemap-modules/onemap-model/src/main/java/com/onemap/sanya/domain/business/ZtCqBcbzList.java

@@ -58,6 +58,11 @@ public class ZtCqBcbzList extends BaseEntity
         return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
             .append("id", getId())
             .append("name", getName())
+                .append("createBy", getCreateBy())
+                .append("createTime", getCreateTime())
+                .append("updateBy", getUpdateBy())
+                .append("updateTime", getUpdateTime())
+                .append("remark", getRemark())
             .toString();
     }
 }

+ 5 - 0
onemap-modules/onemap-model/src/main/java/com/onemap/sanya/domain/business/ZtQmBcbzList.java

@@ -89,6 +89,11 @@ public class ZtQmBcbzList extends BaseEntity
             .append("nzw", getNzw())
             .append("jjzw", getJjzw())
             .append("sm", getSm())
+                .append("createBy", getCreateBy())
+                .append("createTime", getCreateTime())
+                .append("updateBy", getUpdateBy())
+                .append("updateTime", getUpdateTime())
+                .append("remark", getRemark())
             .toString();
     }
 }

+ 5 - 0
onemap-modules/onemap-model/src/main/java/com/onemap/sanya/domain/business/ZtZdBcbzList.java

@@ -131,6 +131,11 @@ public class ZtZdBcbzList extends BaseEntity
             .append("azbcbs", getAzbcbs())
             .append("azbcf", getAzbcf())
             .append("bchj", getBchj())
+                .append("createBy", getCreateBy())
+                .append("createTime", getCreateTime())
+                .append("updateBy", getUpdateBy())
+                .append("updateTime", getUpdateTime())
+                .append("remark", getRemark())
             .toString();
     }
 }

+ 6 - 0
onemap-modules/onemap-model/src/main/java/com/onemap/sanya/service/impl/ZtCqBcbzListServiceImpl.java

@@ -1,6 +1,8 @@
 package com.onemap.sanya.service.impl;
 
 import java.util.List;
+
+import com.onemap.common.core.utils.DateUtils;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.stereotype.Service;
 import  com.onemap.sanya.mapper.ZtCqBcbzListMapper;
@@ -52,6 +54,8 @@ public class ZtCqBcbzListServiceImpl implements IZtCqBcbzListService
     @Override
     public int insertZtCqBcbzList(ZtCqBcbzList ztCqBcbzList)
     {
+        ztCqBcbzList.setCreateTime(DateUtils.getNowDate());
+
         return ztCqBcbzListMapper.insertZtCqBcbzList(ztCqBcbzList);
     }
 
@@ -64,6 +68,8 @@ public class ZtCqBcbzListServiceImpl implements IZtCqBcbzListService
     @Override
     public int updateZtCqBcbzList(ZtCqBcbzList ztCqBcbzList)
     {
+        ztCqBcbzList.setUpdateTime(DateUtils.getNowDate());
+
         return ztCqBcbzListMapper.updateZtCqBcbzList(ztCqBcbzList);
     }
 

+ 4 - 0
onemap-modules/onemap-model/src/main/java/com/onemap/sanya/service/impl/ZtQmBcbzListServiceImpl.java

@@ -1,6 +1,8 @@
 package com.onemap.sanya.service.impl;
 
 import java.util.List;
+
+import com.onemap.common.core.utils.DateUtils;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.stereotype.Service;
 import  com.onemap.sanya.mapper.ZtQmBcbzListMapper;
@@ -52,6 +54,7 @@ public class ZtQmBcbzListServiceImpl implements IZtQmBcbzListService
     @Override
     public int insertZtQmBcbzList(ZtQmBcbzList ztQmBcbzList)
     {
+        ztQmBcbzList.setCreateTime(DateUtils.getNowDate());
         return ztQmBcbzListMapper.insertZtQmBcbzList(ztQmBcbzList);
     }
        /**
@@ -63,6 +66,7 @@ public class ZtQmBcbzListServiceImpl implements IZtQmBcbzListService
     @Override
     public int updateZtQmBcbzList(ZtQmBcbzList ztQmBcbzList)
     {
+        ztQmBcbzList.setUpdateTime(DateUtils.getNowDate());
         return ztQmBcbzListMapper.updateZtQmBcbzList(ztQmBcbzList);
     }
 

+ 6 - 0
onemap-modules/onemap-model/src/main/java/com/onemap/sanya/service/impl/ZtZdBcbzListServiceImpl.java

@@ -1,6 +1,8 @@
 package com.onemap.sanya.service.impl;
 
 import java.util.List;
+
+import com.onemap.common.core.utils.DateUtils;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.stereotype.Service;
 import  com.onemap.sanya.mapper.ZtZdBcbzListMapper;
@@ -52,6 +54,8 @@ public class ZtZdBcbzListServiceImpl implements IZtZdBcbzListService
     @Override
     public int insertZtZdBcbzList(ZtZdBcbzList ztZdBcbzList)
     {
+        ztZdBcbzList.setCreateTime(DateUtils.getNowDate());
+
         return ztZdBcbzListMapper.insertZtZdBcbzList(ztZdBcbzList);
     }
 
@@ -64,6 +68,8 @@ public class ZtZdBcbzListServiceImpl implements IZtZdBcbzListService
     @Override
     public int updateZtZdBcbzList(ZtZdBcbzList ztZdBcbzList)
     {
+        ztZdBcbzList.setUpdateTime(DateUtils.getNowDate());
+
         return ztZdBcbzListMapper.updateZtZdBcbzList(ztZdBcbzList);
     }
 

+ 21 - 1
onemap-modules/onemap-model/src/main/resources/mapper/sanya/ZtCqBcbzListMapper.xml

@@ -7,6 +7,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
     <resultMap type="com.onemap.sanya.domain.business.ZtCqBcbzList" id="ZtCqBcbzListResult">
         <result property="id"    column="id"    />
         <result property="name"    column="name"    />
+        <result property="createBy"    column="create_by"    />
+        <result property="createTime"    column="create_time"    />
+        <result property="updateBy"    column="update_by"    />
+        <result property="updateTime"    column="update_time"    />
+        <result property="remark"    column="remark"    />
     </resultMap>
 
     <sql id="selectZtCqBcbzListVo">
@@ -18,7 +23,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <where>  
             <if test="name != null  and name != ''"> and name like concat('%', #{name}, '%')</if>
         </where>
-        order by "name" asc
+        order by "create_time" desc
     </select>
     
     <select id="selectZtCqBcbzListById" parameterType="String" resultMap="ZtCqBcbzListResult">
@@ -31,10 +36,20 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <trim prefix="(" suffix=")" suffixOverrides=",">
             <if test="id != null">id,</if>
             <if test="name != null">name,</if>
+            <if test="createBy != null">create_by,</if>
+            <if test="createTime != null">create_time,</if>
+            <if test="updateBy != null">update_by,</if>
+            <if test="updateTime != null">update_time,</if>
+            <if test="remark != null">remark,</if>
          </trim>
         <trim prefix="values (" suffix=")" suffixOverrides=",">
             <if test="id != null">#{id},</if>
             <if test="name != null">#{name},</if>
+            <if test="createBy != null">#{createBy},</if>
+            <if test="createTime != null">#{createTime},</if>
+            <if test="updateBy != null">#{updateBy},</if>
+            <if test="updateTime != null">#{updateTime},</if>
+            <if test="remark != null">#{remark},</if>
          </trim>
     </insert>
 
@@ -42,6 +57,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         update "zt_cq_bcbz_list"
         <trim prefix="SET" suffixOverrides=",">
             <if test="name != null">name = #{name},</if>
+            <if test="createBy != null">create_by = #{createBy},</if>
+            <if test="createTime != null">create_time = #{createTime},</if>
+            <if test="updateBy != null">update_by = #{updateBy},</if>
+            <if test="updateTime != null">update_time = #{updateTime},</if>
+            <if test="remark != null">remark = #{remark},</if>
         </trim>
         where id = #{id}
     </update>

+ 21 - 1
onemap-modules/onemap-model/src/main/resources/mapper/sanya/ZtQmBcbzListMapper.xml

@@ -10,6 +10,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <result property="nzw"    column="nzw"    />
         <result property="jjzw"    column="jjzw"    />
         <result property="sm"    column="sm"    />
+        <result property="createBy"    column="create_by"    />
+        <result property="createTime"    column="create_time"    />
+        <result property="updateBy"    column="update_by"    />
+        <result property="updateTime"    column="update_time"    />
+        <result property="remark"    column="remark"    />
     </resultMap>
 
     <sql id="selectZtQmBcbzListVo">
@@ -24,7 +29,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="jjzw != null "> and jjzw = #{jjzw}</if>
             <if test="sm != null "> and sm = #{sm}</if>
         </where>
-        order by "name" asc
+        order by "create_time" desc
     </select>
     
     <select id="selectZtQmBcbzListById" parameterType="String" resultMap="ZtQmBcbzListResult">
@@ -40,6 +45,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="nzw != null">nzw,</if>
             <if test="jjzw != null">jjzw,</if>
             <if test="sm != null">sm,</if>
+            <if test="createBy != null">create_by,</if>
+            <if test="createTime != null">create_time,</if>
+            <if test="updateBy != null">update_by,</if>
+            <if test="updateTime != null">update_time,</if>
+            <if test="remark != null">remark,</if>
          </trim>
         <trim prefix="values (" suffix=")" suffixOverrides=",">
             <if test="id != null">#{id},</if>
@@ -47,6 +57,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="nzw != null">#{nzw},</if>
             <if test="jjzw != null">#{jjzw},</if>
             <if test="sm != null">#{sm},</if>
+            <if test="createBy != null">#{createBy},</if>
+            <if test="createTime != null">#{createTime},</if>
+            <if test="updateBy != null">#{updateBy},</if>
+            <if test="updateTime != null">#{updateTime},</if>
+            <if test="remark != null">#{remark},</if>
          </trim>
     </insert>
 
@@ -57,6 +72,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="nzw != null">nzw = #{nzw},</if>
             <if test="jjzw != null">jjzw = #{jjzw},</if>
             <if test="sm != null">sm = #{sm},</if>
+            <if test="createBy != null">create_by = #{createBy},</if>
+            <if test="createTime != null">create_time = #{createTime},</if>
+            <if test="updateBy != null">update_by = #{updateBy},</if>
+            <if test="updateTime != null">update_time = #{updateTime},</if>
+            <if test="remark != null">remark = #{remark},</if>
         </trim>
         where id = #{id}
     </update>

+ 21 - 1
onemap-modules/onemap-model/src/main/resources/mapper/sanya/ZtZdBcbzListMapper.xml

@@ -13,6 +13,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <result property="azbcbs"    column="azbcbs"    />
         <result property="azbcf"    column="azbcf"    />
         <result property="bchj"    column="bchj"    />
+        <result property="createBy"    column="create_by"    />
+        <result property="createTime"    column="create_time"    />
+        <result property="updateBy"    column="update_by"    />
+        <result property="updateTime"    column="update_time"    />
+        <result property="remark"    column="remark"    />
     </resultMap>
     <sql id="selectZtZdBcbzListVo">
         select * from "zt_zd_bcbz_list"
@@ -29,7 +34,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="azbcf != null "> and azbcf = #{azbcf}</if>
             <if test="bchj != null "> and bchj = #{bchj}</if>
         </where>
-        order by "name" asc
+        order by "create_time" desc
     </select>
     
     <select id="selectZtZdBcbzListById" parameterType="String" resultMap="ZtZdBcbzListResult">
@@ -48,6 +53,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="azbcbs != null">azbcbs,</if>
             <if test="azbcf != null">azbcf,</if>
             <if test="bchj != null">bchj,</if>
+            <if test="createBy != null">create_by,</if>
+            <if test="createTime != null">create_time,</if>
+            <if test="updateBy != null">update_by,</if>
+            <if test="updateTime != null">update_time,</if>
+            <if test="remark != null">remark,</if>
          </trim>
         <trim prefix="values (" suffix=")" suffixOverrides=",">
             <if test="id != null">#{id},</if>
@@ -58,6 +68,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="azbcbs != null">#{azbcbs},</if>
             <if test="azbcf != null">#{azbcf},</if>
             <if test="bchj != null">#{bchj},</if>
+            <if test="createBy != null">#{createBy},</if>
+            <if test="createTime != null">#{createTime},</if>
+            <if test="updateBy != null">#{updateBy},</if>
+            <if test="updateTime != null">#{updateTime},</if>
+            <if test="remark != null">#{remark},</if>
          </trim>
     </insert>
 
@@ -71,6 +86,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="azbcbs != null">azbcbs = #{azbcbs},</if>
             <if test="azbcf != null">azbcf = #{azbcf},</if>
             <if test="bchj != null">bchj = #{bchj},</if>
+            <if test="createBy != null">create_by = #{createBy},</if>
+            <if test="createTime != null">create_time = #{createTime},</if>
+            <if test="updateBy != null">update_by = #{updateBy},</if>
+            <if test="updateTime != null">update_time = #{updateTime},</if>
+            <if test="remark != null">remark = #{remark},</if>
         </trim>
         where id = #{id}
     </update>