| @@ -4,15 +4,18 @@ import com.ruoyi.common.annotation.Log; | |||||
| import com.ruoyi.common.core.controller.BaseController; | import com.ruoyi.common.core.controller.BaseController; | ||||
| import com.ruoyi.common.core.domain.AjaxResult; | import com.ruoyi.common.core.domain.AjaxResult; | ||||
| import com.ruoyi.common.core.domain.entity.SysDept; | import com.ruoyi.common.core.domain.entity.SysDept; | ||||
| import com.ruoyi.common.core.domain.model.LoginUser; | |||||
| import com.ruoyi.common.core.domain.pdf.PageSet; | import com.ruoyi.common.core.domain.pdf.PageSet; | ||||
| import com.ruoyi.common.core.domain.pdf.PdfProperty; | import com.ruoyi.common.core.domain.pdf.PdfProperty; | ||||
| import com.ruoyi.common.core.domain.pdf.ShoulderItem; | import com.ruoyi.common.core.domain.pdf.ShoulderItem; | ||||
| import com.ruoyi.common.core.page.TableDataInfo; | import com.ruoyi.common.core.page.TableDataInfo; | ||||
| import com.ruoyi.common.enums.BusinessType; | import com.ruoyi.common.enums.BusinessType; | ||||
| import com.ruoyi.common.utils.ServletUtils; | |||||
| import com.ruoyi.common.utils.StringUtils; | import com.ruoyi.common.utils.StringUtils; | ||||
| import com.ruoyi.common.utils.pdf.PdfUtils; | import com.ruoyi.common.utils.pdf.PdfUtils; | ||||
| import com.ruoyi.common.utils.poi.ExcelUtil; | import com.ruoyi.common.utils.poi.ExcelUtil; | ||||
| import com.ruoyi.common.utils.translation.TranslateUtils; | import com.ruoyi.common.utils.translation.TranslateUtils; | ||||
| import com.ruoyi.framework.web.service.TokenService; | |||||
| import com.ruoyi.resource.domain.TResourceLand; | import com.ruoyi.resource.domain.TResourceLand; | ||||
| import com.ruoyi.resource.domain.TResourceOperation; | import com.ruoyi.resource.domain.TResourceOperation; | ||||
| import com.ruoyi.resource.domain.TResourceVo; | import com.ruoyi.resource.domain.TResourceVo; | ||||
| @@ -48,6 +51,10 @@ public class TResourceLandController extends BaseController | |||||
| @Autowired | @Autowired | ||||
| private ISysDeptService deptService; | private ISysDeptService deptService; | ||||
| @Autowired | |||||
| private TokenService tokenService; | |||||
| /** | /** | ||||
| * 查询地块属性列表 | * 查询地块属性列表 | ||||
| */ | */ | ||||
| @@ -55,6 +62,14 @@ public class TResourceLandController extends BaseController | |||||
| @GetMapping("/list") | @GetMapping("/list") | ||||
| public TableDataInfo list(TResourceLand tResourceLand) | public TableDataInfo list(TResourceLand tResourceLand) | ||||
| { | { | ||||
| if(StringUtils.isNull(tResourceLand.getDeptId())){ | |||||
| LoginUser loginUser = tokenService.getLoginUser(ServletUtils.getRequest()); | |||||
| SysDept dept = deptService.selectDeptById(loginUser.getUser().getDeptId()); | |||||
| tResourceLand.setImportCode(dept.getImportCode()); | |||||
| }else{ | |||||
| SysDept dept = deptService.selectDeptById(tResourceLand.getDeptId()); | |||||
| tResourceLand.setImportCode(dept.getImportCode()); | |||||
| } | |||||
| startPage(); | startPage(); | ||||
| List<TResourceLand> list = tResourceLandService.selectTResourceLandList(tResourceLand); | List<TResourceLand> list = tResourceLandService.selectTResourceLandList(tResourceLand); | ||||
| return getDataTable(list); | return getDataTable(list); | ||||
| @@ -69,6 +84,14 @@ public class TResourceLandController extends BaseController | |||||
| @PostMapping("/export") | @PostMapping("/export") | ||||
| public void export(HttpServletResponse response, TResourceLand tResourceLand) | public void export(HttpServletResponse response, TResourceLand tResourceLand) | ||||
| { | { | ||||
| if(StringUtils.isNull(tResourceLand.getDeptId())){ | |||||
| LoginUser loginUser = tokenService.getLoginUser(ServletUtils.getRequest()); | |||||
| SysDept dept = deptService.selectDeptById(loginUser.getUser().getDeptId()); | |||||
| tResourceLand.setImportCode(dept.getImportCode()); | |||||
| }else{ | |||||
| SysDept dept = deptService.selectDeptById(tResourceLand.getDeptId()); | |||||
| tResourceLand.setImportCode(dept.getImportCode()); | |||||
| } | |||||
| List<TResourceLand> list = tResourceLandService.selectTResourceLandList(tResourceLand); | List<TResourceLand> list = tResourceLandService.selectTResourceLandList(tResourceLand); | ||||
| ExcelUtil<TResourceLand> util = new ExcelUtil<TResourceLand>(TResourceLand.class); | ExcelUtil<TResourceLand> util = new ExcelUtil<TResourceLand>(TResourceLand.class); | ||||
| util.exportExcel(response, list, "地块属性数据"); | util.exportExcel(response, list, "地块属性数据"); | ||||
| @@ -143,9 +166,10 @@ public class TResourceLandController extends BaseController | |||||
| resource.setDkImg(operation.getDkImg()); | resource.setDkImg(operation.getDkImg()); | ||||
| resource.setSurveyStatus(operation.getSurveyStatus()); | resource.setSurveyStatus(operation.getSurveyStatus()); | ||||
| TranslateUtils.translate(resource, false); | |||||
| } | } | ||||
| TranslateUtils.translate(resource, false); | |||||
| return success(resource); | return success(resource); | ||||
| } | } | ||||
| @@ -166,6 +190,8 @@ public class TResourceLandController extends BaseController | |||||
| } | } | ||||
| tResourceLand.setImportCode(dept.getImportCode()); | tResourceLand.setImportCode(dept.getImportCode()); | ||||
| tResourceLand.setQsdwdm(dept.getOrgCode()); | |||||
| tResourceLand.setQsdwmc(dept.getDeptName()); | |||||
| if(StringUtils.isNull(tResourceLand.getDkbm())){ | if(StringUtils.isNull(tResourceLand.getDkbm())){ | ||||
| if(dept.getOrgCode().length() == 12){ // 12 村级,要后缀 00 | if(dept.getOrgCode().length() == 12){ // 12 村级,要后缀 00 | ||||
| tResourceLand.setDkbm(tResourceLandService.selectTResourceLandAutoGenCode(dept.getOrgCode() + "00")); | tResourceLand.setDkbm(tResourceLandService.selectTResourceLandAutoGenCode(dept.getOrgCode() + "00")); | ||||
| @@ -4,15 +4,18 @@ import com.ruoyi.common.annotation.Log; | |||||
| import com.ruoyi.common.core.controller.BaseController; | import com.ruoyi.common.core.controller.BaseController; | ||||
| import com.ruoyi.common.core.domain.AjaxResult; | import com.ruoyi.common.core.domain.AjaxResult; | ||||
| import com.ruoyi.common.core.domain.entity.SysDept; | import com.ruoyi.common.core.domain.entity.SysDept; | ||||
| import com.ruoyi.common.core.domain.model.LoginUser; | |||||
| import com.ruoyi.common.core.domain.pdf.PageSet; | import com.ruoyi.common.core.domain.pdf.PageSet; | ||||
| import com.ruoyi.common.core.domain.pdf.PdfProperty; | import com.ruoyi.common.core.domain.pdf.PdfProperty; | ||||
| import com.ruoyi.common.core.domain.pdf.ShoulderItem; | import com.ruoyi.common.core.domain.pdf.ShoulderItem; | ||||
| import com.ruoyi.common.core.page.TableDataInfo; | import com.ruoyi.common.core.page.TableDataInfo; | ||||
| import com.ruoyi.common.enums.BusinessType; | import com.ruoyi.common.enums.BusinessType; | ||||
| import com.ruoyi.common.utils.ServletUtils; | |||||
| import com.ruoyi.common.utils.StringUtils; | import com.ruoyi.common.utils.StringUtils; | ||||
| import com.ruoyi.common.utils.pdf.PdfUtils; | import com.ruoyi.common.utils.pdf.PdfUtils; | ||||
| import com.ruoyi.common.utils.poi.ExcelUtil; | import com.ruoyi.common.utils.poi.ExcelUtil; | ||||
| import com.ruoyi.common.utils.translation.TranslateUtils; | import com.ruoyi.common.utils.translation.TranslateUtils; | ||||
| import com.ruoyi.framework.web.service.TokenService; | |||||
| import com.ruoyi.resource.domain.TResourceLand; | import com.ruoyi.resource.domain.TResourceLand; | ||||
| import com.ruoyi.resource.domain.TResourceOperation; | import com.ruoyi.resource.domain.TResourceOperation; | ||||
| import com.ruoyi.resource.domain.TResourceVo; | import com.ruoyi.resource.domain.TResourceVo; | ||||
| @@ -49,6 +52,10 @@ public class TResourceOperationController extends BaseController | |||||
| private ISysDeptService deptService; | private ISysDeptService deptService; | ||||
| @Autowired | |||||
| private TokenService tokenService; | |||||
| /** | /** | ||||
| * 查询地块经营列表 | * 查询地块经营列表 | ||||
| */ | */ | ||||
| @@ -56,6 +63,14 @@ public class TResourceOperationController extends BaseController | |||||
| @GetMapping("/list") | @GetMapping("/list") | ||||
| public TableDataInfo list(TResourceOperation tResourceOperation) | public TableDataInfo list(TResourceOperation tResourceOperation) | ||||
| { | { | ||||
| if(StringUtils.isNull(tResourceOperation.getDeptId())){ | |||||
| LoginUser loginUser = tokenService.getLoginUser(ServletUtils.getRequest()); | |||||
| SysDept dept = deptService.selectDeptById(loginUser.getUser().getDeptId()); | |||||
| tResourceOperation.setImportCode(dept.getImportCode()); | |||||
| }else{ | |||||
| SysDept dept = deptService.selectDeptById(tResourceOperation.getDeptId()); | |||||
| tResourceOperation.setImportCode(dept.getImportCode()); | |||||
| } | |||||
| startPage(); | startPage(); | ||||
| List<TResourceOperation> list = tResourceOperationService.selectTResourceOperationList(tResourceOperation); | List<TResourceOperation> list = tResourceOperationService.selectTResourceOperationList(tResourceOperation); | ||||
| return getDataTable(list); | return getDataTable(list); | ||||
| @@ -70,6 +85,14 @@ public class TResourceOperationController extends BaseController | |||||
| @PostMapping("/export") | @PostMapping("/export") | ||||
| public void export(HttpServletResponse response, TResourceOperation tResourceOperation) | public void export(HttpServletResponse response, TResourceOperation tResourceOperation) | ||||
| { | { | ||||
| if(StringUtils.isNull(tResourceOperation.getDeptId())){ | |||||
| LoginUser loginUser = tokenService.getLoginUser(ServletUtils.getRequest()); | |||||
| SysDept dept = deptService.selectDeptById(loginUser.getUser().getDeptId()); | |||||
| tResourceOperation.setImportCode(dept.getImportCode()); | |||||
| }else{ | |||||
| SysDept dept = deptService.selectDeptById(tResourceOperation.getDeptId()); | |||||
| tResourceOperation.setImportCode(dept.getImportCode()); | |||||
| } | |||||
| List<TResourceOperation> list = tResourceOperationService.selectTResourceOperationList(tResourceOperation); | List<TResourceOperation> list = tResourceOperationService.selectTResourceOperationList(tResourceOperation); | ||||
| ExcelUtil<TResourceOperation> util = new ExcelUtil<TResourceOperation>(TResourceOperation.class); | ExcelUtil<TResourceOperation> util = new ExcelUtil<TResourceOperation>(TResourceOperation.class); | ||||
| util.exportExcel(response, list, "地块经营数据"); | util.exportExcel(response, list, "地块经营数据"); | ||||
| @@ -145,8 +168,9 @@ public class TResourceOperationController extends BaseController | |||||
| resource.setDkImg(operation.getDkImg()); | resource.setDkImg(operation.getDkImg()); | ||||
| resource.setSurveyStatus(operation.getSurveyStatus()); | resource.setSurveyStatus(operation.getSurveyStatus()); | ||||
| TranslateUtils.translate(resource, false); | |||||
| } | } | ||||
| TranslateUtils.translate(resource, false); | |||||
| return success(resource); | return success(resource); | ||||
| } | } | ||||
| @@ -92,14 +92,25 @@ public class TResourceLand extends BaseEntity | |||||
| @Excel(name = "指界人姓名") | @Excel(name = "指界人姓名") | ||||
| private String zjrxm; | private String zjrxm; | ||||
| /** 实测面积( ㎡) */ | |||||
| @Excel(name = "实测面积(㎡)") | |||||
| private BigDecimal scmj; | |||||
| /** 图显面积(亩) */ | |||||
| @Excel(name = "图显面积(亩)") | |||||
| private BigDecimal txmj; | |||||
| /** 实测面积(亩) */ | /** 实测面积(亩) */ | ||||
| @Excel(name = "实测面积(亩)") | @Excel(name = "实测面积(亩)") | ||||
| private BigDecimal scmjm; | private BigDecimal scmjm; | ||||
| /** 是否帐外地 字典 is_common */ | |||||
| @Excel(name = "是否帐外地", dictType = "is_common") | |||||
| private String sfzwd; | |||||
| /** 权属单位代码(即org_code) */ | |||||
| private String qsdwdm; | |||||
| /** 权属单位名称*/ | |||||
| private String qsdwmc; | |||||
| /** 地块矢量 */ | /** 地块矢量 */ | ||||
| private String theGeom; | private String theGeom; | ||||
| @@ -282,14 +293,13 @@ public class TResourceLand extends BaseEntity | |||||
| return zjrxm; | return zjrxm; | ||||
| } | } | ||||
| public void setScmj(BigDecimal scmj) | |||||
| { | |||||
| this.scmj = scmj; | |||||
| public BigDecimal getTxmj() { | |||||
| return txmj; | |||||
| } | } | ||||
| public BigDecimal getScmj() | |||||
| { | |||||
| return scmj; | |||||
| public void setTxmj(BigDecimal txmj) { | |||||
| this.txmj = txmj; | |||||
| } | } | ||||
| public void setScmjm(BigDecimal scmjm) | public void setScmjm(BigDecimal scmjm) | ||||
| @@ -350,6 +360,30 @@ public class TResourceLand extends BaseEntity | |||||
| this.deptId = deptId; | this.deptId = deptId; | ||||
| } | } | ||||
| public String getSfzwd() { | |||||
| return sfzwd; | |||||
| } | |||||
| public void setSfzwd(String sfzwd) { | |||||
| this.sfzwd = sfzwd; | |||||
| } | |||||
| public String getQsdwdm() { | |||||
| return qsdwdm; | |||||
| } | |||||
| public void setQsdwdm(String qsdwdm) { | |||||
| this.qsdwdm = qsdwdm; | |||||
| } | |||||
| public String getQsdwmc() { | |||||
| return qsdwmc; | |||||
| } | |||||
| public void setQsdwmc(String qsdwmc) { | |||||
| this.qsdwmc = qsdwmc; | |||||
| } | |||||
| @Override | @Override | ||||
| public String toString() { | public String toString() { | ||||
| return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) | return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) | ||||
| @@ -370,7 +404,6 @@ public class TResourceLand extends BaseEntity | |||||
| .append("dkbz", getDkbz()) | .append("dkbz", getDkbz()) | ||||
| .append("dkbzxx", getDkbzxx()) | .append("dkbzxx", getDkbzxx()) | ||||
| .append("zjrxm", getZjrxm()) | .append("zjrxm", getZjrxm()) | ||||
| .append("scmj", getScmj()) | |||||
| .append("scmjm", getScmjm()) | .append("scmjm", getScmjm()) | ||||
| .append("theGeom", getTheGeom()) | .append("theGeom", getTheGeom()) | ||||
| .append("surveyStatus", getSurveyStatus()) | .append("surveyStatus", getSurveyStatus()) | ||||
| @@ -95,6 +95,10 @@ public class TResourceVo { | |||||
| @Excel(name = "实测面积(亩)") | @Excel(name = "实测面积(亩)") | ||||
| private BigDecimal scmjm; | private BigDecimal scmjm; | ||||
| /** 是否帐外地 字典 is_common */ | |||||
| @Excel(name = "是否帐外地", dictType = "is_common") | |||||
| private String sfzwd; | |||||
| // ------------------------------ | // ------------------------------ | ||||
| @@ -22,9 +22,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" | |||||
| <result property="dkbz" column="DKBZ" /> | <result property="dkbz" column="DKBZ" /> | ||||
| <result property="dkbzxx" column="DKBZXX" /> | <result property="dkbzxx" column="DKBZXX" /> | ||||
| <result property="zjrxm" column="ZJRXM" /> | <result property="zjrxm" column="ZJRXM" /> | ||||
| <result property="scmj" column="SCMJ" /> | |||||
| <result property="txmj" column="TXMJ" /> | |||||
| <result property="scmjm" column="SCMJM" /> | <result property="scmjm" column="SCMJM" /> | ||||
| <result property="theGeom" column="the_geom" /> | <result property="theGeom" column="the_geom" /> | ||||
| <result property="qsdwdm" column="QSDWDM" /> | |||||
| <result property="qsdwmc" column="QSDWMC" /> | |||||
| <result property="sfzwd" column="SFZWD" /> | |||||
| <result property="surveyStatus" column="survey_status" /> | <result property="surveyStatus" column="survey_status" /> | ||||
| <result property="importCode" column="import_code" /> | <result property="importCode" column="import_code" /> | ||||
| <result property="deptName" column="dept_name" /> | <result property="deptName" column="dept_name" /> | ||||
| @@ -35,7 +38,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" | |||||
| </resultMap> | </resultMap> | ||||
| <sql id="selectTResourceLandVo"> | <sql id="selectTResourceLandVo"> | ||||
| select fid, BSM, YSDM, DKBM, DKMC, SYQXZ, DKLB, TDLYLX, DLDJ, TDYT, SFJBNT, DKDZ, DKXZ, DKNZ, DKBZ, DKBZXX, ZJRXM, SCMJ, SCMJM, the_geom, survey_status, import_code, dept_name, create_by, create_time, update_by, update_time from t_resource_land | |||||
| select fid, BSM, YSDM, DKBM, DKMC, SYQXZ, DKLB, TDLYLX, DLDJ, TDYT, SFJBNT, DKDZ, DKXZ, DKNZ, DKBZ, DKBZXX, ZJRXM, TXMJ, SCMJM, QSDWDM, QSDWMC, SFZWD, the_geom, survey_status, import_code, dept_name, create_by, create_time, update_by, update_time from t_resource_land | |||||
| </sql> | </sql> | ||||
| <select id="selectTResourceLandList" parameterType="TResourceLand" resultMap="TResourceLandResult"> | <select id="selectTResourceLandList" parameterType="TResourceLand" resultMap="TResourceLandResult"> | ||||
| @@ -50,8 +53,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" | |||||
| <if test="dldj != null and dldj != ''"> and DLDJ = #{dldj}</if> | <if test="dldj != null and dldj != ''"> and DLDJ = #{dldj}</if> | ||||
| <if test="tdyt != null and tdyt != ''"> and TDYT = #{tdyt}</if> | <if test="tdyt != null and tdyt != ''"> and TDYT = #{tdyt}</if> | ||||
| <if test="sfjbnt != null and sfjbnt != ''"> and SFJBNT = #{sfjbnt}</if> | <if test="sfjbnt != null and sfjbnt != ''"> and SFJBNT = #{sfjbnt}</if> | ||||
| <if test="sfzwd != null and sfzwd != ''"> and SFZWD = #{sfzwd}</if> | |||||
| <if test="surveyStatus != null and surveyStatus != ''"> and survey_status = #{surveyStatus}</if> | <if test="surveyStatus != null and surveyStatus != ''"> and survey_status = #{surveyStatus}</if> | ||||
| <if test="importCode != null and importCode != ''"> and import_code like concat('%', #{importCode}, '%')</if> | |||||
| <if test="importCode != null and importCode != ''"> and import_code like concat(#{importCode}, '%')</if> | |||||
| </where> | </where> | ||||
| </select> | </select> | ||||
| @@ -88,9 +92,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" | |||||
| <if test="dkbz != null">DKBZ,</if> | <if test="dkbz != null">DKBZ,</if> | ||||
| <if test="dkbzxx != null">DKBZXX,</if> | <if test="dkbzxx != null">DKBZXX,</if> | ||||
| <if test="zjrxm != null">ZJRXM,</if> | <if test="zjrxm != null">ZJRXM,</if> | ||||
| <if test="scmj != null">SCMJ,</if> | |||||
| <if test="txmj != null">TXMJ,</if> | |||||
| <if test="scmjm != null">SCMJM,</if> | <if test="scmjm != null">SCMJM,</if> | ||||
| <if test="theGeom != null">the_geom,</if> | <if test="theGeom != null">the_geom,</if> | ||||
| <if test="qsdwdm != null">QSDWDM,</if> | |||||
| <if test="qsdwmc != null">QSDWMC,</if> | |||||
| <if test="sfzwd != null">SFZWD,</if> | |||||
| <if test="surveyStatus != null and surveyStatus != ''">survey_status,</if> | <if test="surveyStatus != null and surveyStatus != ''">survey_status,</if> | ||||
| <if test="importCode != null and importCode != ''">import_code,</if> | <if test="importCode != null and importCode != ''">import_code,</if> | ||||
| <if test="deptName != null">dept_name,</if> | <if test="deptName != null">dept_name,</if> | ||||
| @@ -116,9 +123,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" | |||||
| <if test="dkbz != null">#{dkbz},</if> | <if test="dkbz != null">#{dkbz},</if> | ||||
| <if test="dkbzxx != null">#{dkbzxx},</if> | <if test="dkbzxx != null">#{dkbzxx},</if> | ||||
| <if test="zjrxm != null">#{zjrxm},</if> | <if test="zjrxm != null">#{zjrxm},</if> | ||||
| <if test="scmj != null">#{scmj},</if> | |||||
| <if test="txmj != null">#{txmj},</if> | |||||
| <if test="scmjm != null">#{scmjm},</if> | <if test="scmjm != null">#{scmjm},</if> | ||||
| <if test="theGeom != null">#{theGeom},</if> | <if test="theGeom != null">#{theGeom},</if> | ||||
| <if test="qsdwdm != null">#{qsdwdm},</if> | |||||
| <if test="qsdwmc != null">#{qsdwmc},</if> | |||||
| <if test="sfzwd != null">#{sfzwd},</if> | |||||
| <if test="surveyStatus != null and surveyStatus != ''">#{surveyStatus},</if> | <if test="surveyStatus != null and surveyStatus != ''">#{surveyStatus},</if> | ||||
| <if test="importCode != null and importCode != ''">#{importCode},</if> | <if test="importCode != null and importCode != ''">#{importCode},</if> | ||||
| <if test="deptName != null">#{deptName},</if> | <if test="deptName != null">#{deptName},</if> | ||||
| @@ -148,9 +158,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" | |||||
| DKBZ, | DKBZ, | ||||
| DKBZXX, | DKBZXX, | ||||
| ZJRXM, | ZJRXM, | ||||
| SCMJ, | |||||
| TXMJ, | |||||
| SCMJM, | SCMJM, | ||||
| the_geom, | the_geom, | ||||
| QSDWDM, | |||||
| QSDWMC, | |||||
| SFZWD, | |||||
| survey_status, | survey_status, | ||||
| import_code, | import_code, | ||||
| dept_name, | dept_name, | ||||
| @@ -178,9 +191,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" | |||||
| #{item.dkbz}, | #{item.dkbz}, | ||||
| #{item.dkbzxx}, | #{item.dkbzxx}, | ||||
| #{item.zjrxm}, | #{item.zjrxm}, | ||||
| #{item.scmj}, | |||||
| #{item.txmj}, | |||||
| #{item.scmjm}, | #{item.scmjm}, | ||||
| #{item.theGeom}, | #{item.theGeom}, | ||||
| #{item.qsdwdm}, | |||||
| #{item.qsdwmc}, | |||||
| #{item.sfzwd}, | |||||
| #{item.surveyStatus}, | #{item.surveyStatus}, | ||||
| #{item.importCode}, | #{item.importCode}, | ||||
| #{item.deptName}, | #{item.deptName}, | ||||
| @@ -211,9 +227,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" | |||||
| <if test="dkbz != null">DKBZ = #{dkbz},</if> | <if test="dkbz != null">DKBZ = #{dkbz},</if> | ||||
| <if test="dkbzxx != null">DKBZXX = #{dkbzxx},</if> | <if test="dkbzxx != null">DKBZXX = #{dkbzxx},</if> | ||||
| <if test="zjrxm != null">ZJRXM = #{zjrxm},</if> | <if test="zjrxm != null">ZJRXM = #{zjrxm},</if> | ||||
| <if test="scmj != null">SCMJ = #{scmj},</if> | |||||
| <if test="txmj != null">TXMJ = #{txmj},</if> | |||||
| <if test="scmjm != null">SCMJM = #{scmjm},</if> | <if test="scmjm != null">SCMJM = #{scmjm},</if> | ||||
| <if test="theGeom != null">the_geom = #{theGeom},</if> | <if test="theGeom != null">the_geom = #{theGeom},</if> | ||||
| <if test="qsdwdm != null">QSDWDM = #{qsdwdm},</if> | |||||
| <if test="qsdwmc != null">QSDWMC = #{qsdwmc},</if> | |||||
| <if test="sfzwd != null">SFZWD = #{sfzwd},</if> | |||||
| <if test="surveyStatus != null and surveyStatus != ''">survey_status = #{surveyStatus},</if> | <if test="surveyStatus != null and surveyStatus != ''">survey_status = #{surveyStatus},</if> | ||||
| <if test="importCode != null and importCode != ''">import_code = #{importCode},</if> | <if test="importCode != null and importCode != ''">import_code = #{importCode},</if> | ||||
| <if test="deptName != null">dept_name = #{deptName},</if> | <if test="deptName != null">dept_name = #{deptName},</if> | ||||
| @@ -246,9 +265,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" | |||||
| <if test="item.dkbz != null">DKBZ = #{item.dkbz},</if> | <if test="item.dkbz != null">DKBZ = #{item.dkbz},</if> | ||||
| <if test="item.dkbzxx != null">DKBZXX = #{item.dkbzxx},</if> | <if test="item.dkbzxx != null">DKBZXX = #{item.dkbzxx},</if> | ||||
| <if test="item.zjrxm != null">ZJRXM = #{item.zjrxm},</if> | <if test="item.zjrxm != null">ZJRXM = #{item.zjrxm},</if> | ||||
| <if test="item.scmj != null">SCMJ = #{item.scmj},</if> | |||||
| <if test="item.txmj != null">TXMJ = #{item.txmj},</if> | |||||
| <if test="item.scmjm != null">SCMJM = #{item.scmjm},</if> | <if test="item.scmjm != null">SCMJM = #{item.scmjm},</if> | ||||
| <if test="item.theGeom != null">the_geom = #{item.theGeom},</if> | <if test="item.theGeom != null">the_geom = #{item.theGeom},</if> | ||||
| <if test="item.qsdwdm != null">QSDWDM = #{item.qsdwdm},</if> | |||||
| <if test="item.qsdwmc != null">QSDWMC = #{item.qsdwmc},</if> | |||||
| <if test="item.sfzwd != null">SFZWD = #{item.sfzwd},</if> | |||||
| <if test="item.surveyStatus != null and item.surveyStatus != ''">survey_status = #{item.surveyStatus},</if> | <if test="item.surveyStatus != null and item.surveyStatus != ''">survey_status = #{item.surveyStatus},</if> | ||||
| <if test="item.importCode != null and item.importCode != ''">import_code = #{item.importCode},</if> | <if test="item.importCode != null and item.importCode != ''">import_code = #{item.importCode},</if> | ||||
| <if test="item.deptName != null">dept_name = #{item.deptName},</if> | <if test="item.deptName != null">dept_name = #{item.deptName},</if> | ||||
| @@ -52,7 +52,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" | |||||
| <if test="jydxzjhm != null and jydxzjhm != ''"> and JYDXZJHM = #{jydxzjhm}</if> | <if test="jydxzjhm != null and jydxzjhm != ''"> and JYDXZJHM = #{jydxzjhm}</if> | ||||
| <if test="sfqdht != null and sfqdht != ''"> and SFQDHT = #{sfqdht}</if> | <if test="sfqdht != null and sfqdht != ''"> and SFQDHT = #{sfqdht}</if> | ||||
| <if test="surveyStatus != null and surveyStatus != ''"> and survey_status = #{surveyStatus}</if> | <if test="surveyStatus != null and surveyStatus != ''"> and survey_status = #{surveyStatus}</if> | ||||
| <if test="importCode != null and importCode != ''"> and import_code like concat('%', #{importCode}, '%')</if> | |||||
| <if test="importCode != null and importCode != ''"> and import_code like concat(#{importCode}, '%')</if> | |||||
| </where> | </where> | ||||
| </select> | </select> | ||||