huangxiao hai 1 mes
pai
achega
65b96e6651

+ 279 - 0
src/main/java/net/mingsoft/tf/action/InvestmentPromotionAction.java

@@ -0,0 +1,279 @@
+package net.mingsoft.tf.action;
+
+import java.util.List;
+import java.io.File;
+import java.util.ArrayList;
+import java.util.Map;
+import java.util.regex.Matcher;
+import java.util.regex.Pattern;
+import cn.hutool.core.util.ObjectUtil;
+import java.util.*;
+
+import net.mingsoft.base.entity.ResultData;
+import org.apache.commons.lang3.StringUtils;
+import org.apache.shiro.authz.annotation.RequiresPermissions;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Controller;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.ResponseBody;
+import org.springframework.web.bind.annotation.ModelAttribute;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.RequestBody;
+
+import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
+import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
+import java.util.stream.Collectors;
+
+import org.springframework.web.bind.annotation.*;
+import net.mingsoft.tf.biz.IInvestmentPromotionBiz;
+import net.mingsoft.tf.entity.InvestmentPromotionEntity;
+import net.mingsoft.base.entity.BaseEntity;
+import net.mingsoft.basic.util.BasicUtil;
+import net.mingsoft.basic.util.StringUtil;
+import net.mingsoft.basic.bean.EUListBean;
+import net.mingsoft.basic.annotation.LogAnn;
+import net.mingsoft.basic.constant.e.BusinessTypeEnum;
+import org.apache.commons.lang3.StringUtils;
+
+
+
+import io.swagger.v3.oas.annotations.tags.Tag;
+import io.swagger.v3.oas.annotations.Parameter;
+import io.swagger.v3.oas.annotations.Parameters;
+import io.swagger.v3.oas.annotations.Operation;
+import io.swagger.v3.oas.annotations.Hidden;
+import io.swagger.v3.oas.annotations.enums.ParameterIn;
+
+/**
+* 招商管理管理控制层
+* @author 阿白
+* 创建日期:2025年12月13日 下午1:25:50<br/>
+* 历史修订:<br/>
+*/
+@Tag(name = "后台-招商管理接口")
+@Controller("tfInvestmentPromotionAction")
+@RequestMapping("/${ms.manager.path}/tf/investmentPromotion")
+public class InvestmentPromotionAction extends BaseAction{
+
+
+    /**
+    * 注入招商管理业务层
+    */
+    @Autowired
+    private IInvestmentPromotionBiz investmentPromotionBiz;
+
+    /**
+    * 返回主界面index
+    */
+    @Hidden
+    @GetMapping("/index")
+    public String index() {
+        return "/tf/investment-promotion/index";
+    }
+
+
+    /**
+    * 返回编辑界面investmentPromotion的form
+    */
+    @Hidden
+    @GetMapping("/form")
+    public String form() {
+        return "/tf/investment-promotion/form";
+    }
+
+
+    /**
+    * 查询招商管理列表
+    * @param investmentPromotion 招商管理实体
+    */
+    @Operation(summary = "查询招商管理列表接口")
+    @Parameters({
+        @Parameter(name = "investmentPromotionName", description = "招商名称", in = ParameterIn.QUERY),
+        @Parameter(name = "investmentPromotionType", description = "房屋类型", in = ParameterIn.QUERY),
+        @Parameter(name = "investmentPromotionRegion", description = "所在区域", in = ParameterIn.QUERY),
+        @Parameter(name = "investmentPromotionArea", description = "面积(m²)", in = ParameterIn.QUERY),
+        @Parameter(name = "investmentPromotionRent", description = "租金(元/月)", in = ParameterIn.QUERY),
+        @Parameter(name = "investmentPromotionSpec", description = "规格", in = ParameterIn.QUERY),
+        @Parameter(name = "investmentPromotionPerson", description = "招商负责人", in = ParameterIn.QUERY),
+        @Parameter(name = "investmentPromotionTel", description = "联系电话", in = ParameterIn.QUERY),
+        @Parameter(name = "investmentPromotionLocation", description = "具体位置", in = ParameterIn.QUERY),
+        @Parameter(name = "investmentPromotionStatus", description = "发布状态", in = ParameterIn.QUERY),
+        @Parameter(name = "investmentPromotionIntro", description = "招商简介", in = ParameterIn.QUERY),
+        @Parameter(name = "investmentPromotionDesc", description = "招商描述", in = ParameterIn.QUERY),
+    })
+    @RequestMapping(value ="/list",method = {RequestMethod.GET,RequestMethod.POST})
+    @ResponseBody
+    @RequiresPermissions("tf:investmentPromotion:view")
+    public ResultData list(@ModelAttribute @Parameter(hidden = true) InvestmentPromotionEntity investmentPromotion) {
+        BasicUtil.startPage();
+        List investmentPromotionList = null;
+        if ( investmentPromotion.getSqlWhere() != null){
+            investmentPromotionList = investmentPromotionBiz.query(investmentPromotion);
+        } else {
+            LambdaQueryWrapper<InvestmentPromotionEntity> wrapper = new LambdaQueryWrapper<>(investmentPromotion).orderByDesc(InvestmentPromotionEntity::getCreateDate);
+            investmentPromotionList = investmentPromotionBiz.list(wrapper);
+        }
+        return ResultData.build().success(new EUListBean(investmentPromotionList,(int)BasicUtil.endPage(investmentPromotionList).getTotal()));
+    }
+
+
+    /**
+    * 获取招商管理
+    * @param investmentPromotion 招商管理实体
+    */
+    @Operation(summary = "获取招商管理列表接口")
+    @Parameter(name = "id", description = "主键ID", required =true,in = ParameterIn.QUERY)
+    @GetMapping("/get")
+    @ResponseBody
+    @RequiresPermissions("tf:investmentPromotion:view")
+    public ResultData get(@ModelAttribute @Parameter(hidden = true) InvestmentPromotionEntity investmentPromotion) {
+        if (StringUtils.isBlank(investmentPromotion.getId())) {
+            return ResultData.build().error(getResString("err.error",this.getResString("id")));
+        }
+        InvestmentPromotionEntity _investmentPromotion = (InvestmentPromotionEntity)investmentPromotionBiz.getById(investmentPromotion.getId());
+        return ResultData.build().success(_investmentPromotion);
+    }
+
+
+    /**
+    * 保存招商管理
+    * @param investmentPromotion 招商管理实体
+    */
+    @Operation(summary = "保存招商管理列表接口")
+    @Parameters({
+        @Parameter(name = "investmentPromotionName", description = "招商名称", required = false, in = ParameterIn.QUERY),
+        @Parameter(name = "investmentPromotionType", description = "房屋类型", required = false, in = ParameterIn.QUERY),
+        @Parameter(name = "investmentPromotionRegion", description = "所在区域", required = false, in = ParameterIn.QUERY),
+        @Parameter(name = "investmentPromotionArea", description = "面积(m²)", required = false, in = ParameterIn.QUERY),
+        @Parameter(name = "investmentPromotionRent", description = "租金(元/月)", required = false, in = ParameterIn.QUERY),
+        @Parameter(name = "investmentPromotionSpec", description = "规格", required = false, in = ParameterIn.QUERY),
+        @Parameter(name = "investmentPromotionPerson", description = "招商负责人", required = false, in = ParameterIn.QUERY),
+        @Parameter(name = "investmentPromotionTel", description = "联系电话", required = false, in = ParameterIn.QUERY),
+        @Parameter(name = "investmentPromotionLocation", description = "具体位置", required = false, in = ParameterIn.QUERY),
+        @Parameter(name = "investmentPromotionStatus", description = "发布状态", required = false, in = ParameterIn.QUERY),
+        @Parameter(name = "investmentPromotionIntro", description = "招商简介", required = false, in = ParameterIn.QUERY),
+        @Parameter(name = "investmentPromotionDesc", description = "招商描述", required = false, in = ParameterIn.QUERY),
+        @Parameter(name = "investmentPromotionImg", description = "房屋图片", required = false, in = ParameterIn.QUERY),
+    })
+    @PostMapping("/save")
+    @ResponseBody
+    @LogAnn(title = "保存招商管理", businessType = BusinessTypeEnum.INSERT)
+    @RequiresPermissions("tf:investmentPromotion:save")
+    public ResultData save(@ModelAttribute @Parameter(hidden = true) InvestmentPromotionEntity investmentPromotion) {
+
+        if (  StringUtils.isNotBlank(investmentPromotion.getInvestmentPromotionName()) && !StringUtil.checkLength(investmentPromotion.getInvestmentPromotionName()+"", 0, 255)) {
+          return ResultData.build().error(getResString("err.length", this.getResString("investment.promotion.name"), "0", "255"));
+        }
+        if (  StringUtils.isNotBlank(investmentPromotion.getInvestmentPromotionRegion()) && !StringUtil.checkLength(investmentPromotion.getInvestmentPromotionRegion()+"", 0, 255)) {
+          return ResultData.build().error(getResString("err.length", this.getResString("investment.promotion.region"), "0", "255"));
+        }
+        if (  StringUtils.isNotBlank(investmentPromotion.getInvestmentPromotionSpec()) && !StringUtil.checkLength(investmentPromotion.getInvestmentPromotionSpec()+"", 0, 255)) {
+          return ResultData.build().error(getResString("err.length", this.getResString("investment.promotion.spec"), "0", "255"));
+        }
+        if (  StringUtils.isNotBlank(investmentPromotion.getInvestmentPromotionPerson()) && !StringUtil.checkLength(investmentPromotion.getInvestmentPromotionPerson()+"", 0, 255)) {
+          return ResultData.build().error(getResString("err.length", this.getResString("investment.promotion.person"), "0", "255"));
+        }
+        if (  StringUtils.isNotBlank(investmentPromotion.getInvestmentPromotionTel()) && !StringUtil.checkLength(investmentPromotion.getInvestmentPromotionTel()+"", 0, 255)) {
+          return ResultData.build().error(getResString("err.length", this.getResString("investment.promotion.tel"), "0", "255"));
+        }
+        if (  StringUtils.isNotBlank(investmentPromotion.getInvestmentPromotionLocation()) && !StringUtil.checkLength(investmentPromotion.getInvestmentPromotionLocation()+"", 0, 255)) {
+          return ResultData.build().error(getResString("err.length", this.getResString("investment.promotion.location"), "0", "255"));
+        }
+        if (  StringUtils.isNotBlank(investmentPromotion.getInvestmentPromotionIntro()) && !StringUtil.checkLength(investmentPromotion.getInvestmentPromotionIntro()+"", 0, 255)) {
+          return ResultData.build().error(getResString("err.length", this.getResString("investment.promotion.intro"), "0", "255"));
+        }
+        investmentPromotionBiz.save(investmentPromotion);
+        return ResultData.build().success(investmentPromotion);
+    }
+
+    /**
+    *  删除招商管理
+    *
+    * @param investmentPromotions 招商管理实体
+    */
+    @Operation(summary = "批量删除招商管理列表接口")
+    @PostMapping("/delete")
+    @ResponseBody
+    @LogAnn(title = "删除招商管理", businessType = BusinessTypeEnum.DELETE)
+    @RequiresPermissions("tf:investmentPromotion:del")
+    public ResultData delete(@RequestBody List<InvestmentPromotionEntity> investmentPromotions) {
+        List<String> ids = (List)investmentPromotions.stream().map((p) -> {return p.getId();}).collect(Collectors.toList());
+        return this.investmentPromotionBiz.removeByIds(ids) ? ResultData.build().success() : ResultData.build().error(this.getResString("err.error", new String[]{this.getResString("id")}));
+    }
+
+    /**
+    *	更新招商管理列表
+    *
+    * @param investmentPromotion 招商管理实体
+    */
+    @Operation(summary = "更新招商管理列表接口")
+    @Parameters({
+        @Parameter(name = "id", description = "主键ID", required =true,in = ParameterIn.QUERY),
+        @Parameter(name = "investmentPromotionName", description = "招商名称", required = false, in = ParameterIn.QUERY),
+        @Parameter(name = "investmentPromotionType", description = "房屋类型", required = false, in = ParameterIn.QUERY),
+        @Parameter(name = "investmentPromotionRegion", description = "所在区域", required = false, in = ParameterIn.QUERY),
+        @Parameter(name = "investmentPromotionArea", description = "面积(m²)", required = false, in = ParameterIn.QUERY),
+        @Parameter(name = "investmentPromotionRent", description = "租金(元/月)", required = false, in = ParameterIn.QUERY),
+        @Parameter(name = "investmentPromotionSpec", description = "规格", required = false, in = ParameterIn.QUERY),
+        @Parameter(name = "investmentPromotionPerson", description = "招商负责人", required = false, in = ParameterIn.QUERY),
+        @Parameter(name = "investmentPromotionTel", description = "联系电话", required = false, in = ParameterIn.QUERY),
+        @Parameter(name = "investmentPromotionLocation", description = "具体位置", required = false, in = ParameterIn.QUERY),
+        @Parameter(name = "investmentPromotionStatus", description = "发布状态", required = false, in = ParameterIn.QUERY),
+        @Parameter(name = "investmentPromotionIntro", description = "招商简介", required = false, in = ParameterIn.QUERY),
+        @Parameter(name = "investmentPromotionDesc", description = "招商描述", required = false, in = ParameterIn.QUERY),
+        @Parameter(name = "investmentPromotionImg", description = "房屋图片", required = false, in = ParameterIn.QUERY),
+    })
+    @PostMapping("/update")
+    @ResponseBody
+    @LogAnn(title = "更新招商管理", businessType = BusinessTypeEnum.UPDATE)
+    @RequiresPermissions("tf:investmentPromotion:update")
+    public ResultData update(@ModelAttribute @Parameter(hidden = true) InvestmentPromotionEntity investmentPromotion) {
+        //先查询数据是否存在
+        InvestmentPromotionEntity _investmentPromotion = (InvestmentPromotionEntity)investmentPromotionBiz.getById(investmentPromotion.getId());
+        if(_investmentPromotion == null) {
+            return ResultData.build().error(getResString("err.not.exist",investmentPromotion.getId() ));
+        }
+
+        if (  StringUtils.isNotBlank(investmentPromotion.getInvestmentPromotionName()) && !StringUtil.checkLength(investmentPromotion.getInvestmentPromotionName()+"", 0, 255)) {
+          return ResultData.build().error(getResString("err.length", this.getResString("investment.promotion.name"), "0", "255"));
+        }
+        if (  StringUtils.isNotBlank(investmentPromotion.getInvestmentPromotionRegion()) && !StringUtil.checkLength(investmentPromotion.getInvestmentPromotionRegion()+"", 0, 255)) {
+          return ResultData.build().error(getResString("err.length", this.getResString("investment.promotion.region"), "0", "255"));
+        }
+        if (  StringUtils.isNotBlank(investmentPromotion.getInvestmentPromotionSpec()) && !StringUtil.checkLength(investmentPromotion.getInvestmentPromotionSpec()+"", 0, 255)) {
+          return ResultData.build().error(getResString("err.length", this.getResString("investment.promotion.spec"), "0", "255"));
+        }
+        if (  StringUtils.isNotBlank(investmentPromotion.getInvestmentPromotionPerson()) && !StringUtil.checkLength(investmentPromotion.getInvestmentPromotionPerson()+"", 0, 255)) {
+          return ResultData.build().error(getResString("err.length", this.getResString("investment.promotion.person"), "0", "255"));
+        }
+        if (  StringUtils.isNotBlank(investmentPromotion.getInvestmentPromotionTel()) && !StringUtil.checkLength(investmentPromotion.getInvestmentPromotionTel()+"", 0, 255)) {
+          return ResultData.build().error(getResString("err.length", this.getResString("investment.promotion.tel"), "0", "255"));
+        }
+        if (  StringUtils.isNotBlank(investmentPromotion.getInvestmentPromotionLocation()) && !StringUtil.checkLength(investmentPromotion.getInvestmentPromotionLocation()+"", 0, 255)) {
+          return ResultData.build().error(getResString("err.length", this.getResString("investment.promotion.location"), "0", "255"));
+        }
+        if (  StringUtils.isNotBlank(investmentPromotion.getInvestmentPromotionIntro()) && !StringUtil.checkLength(investmentPromotion.getInvestmentPromotionIntro()+"", 0, 255)) {
+          return ResultData.build().error(getResString("err.length", this.getResString("investment.promotion.intro"), "0", "255"));
+        }
+        investmentPromotionBiz.updateById(investmentPromotion);
+        return ResultData.build().success(investmentPromotion);
+    }
+
+    @GetMapping("verify")
+    @ResponseBody
+    public ResultData verify(String fieldName, String fieldValue, String id,String idName) {
+        boolean verify = false;
+        if (StringUtils.isBlank(id)) {
+            verify = super.validated("INVESTMENT_PROMOTION",fieldName,fieldValue);
+        } else {
+            verify = super.validated("INVESTMENT_PROMOTION",fieldName,fieldValue,id,idName);
+        }
+        if (verify) {
+            return ResultData.build().success(false);
+        }else {
+            return ResultData.build().success(true);
+        }
+    }
+
+}

+ 16 - 0
src/main/java/net/mingsoft/tf/biz/IInvestmentPromotionBiz.java

@@ -0,0 +1,16 @@
+package net.mingsoft.tf.biz;
+
+import net.mingsoft.base.biz.IBaseBiz;
+import net.mingsoft.tf.entity.InvestmentPromotionEntity;
+
+
+/**
+ * 招商管理业务
+ * @author 阿白
+ * 创建日期:2025年12月13日 下午1:25:50<br/>
+ * 历史修订:<br/>
+ */
+public interface IInvestmentPromotionBiz extends IBaseBiz<InvestmentPromotionEntity> {
+
+
+}

+ 34 - 0
src/main/java/net/mingsoft/tf/biz/impl/InvestmentPromotionBizImpl.java

@@ -0,0 +1,34 @@
+package net.mingsoft.tf.biz.impl;
+
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+import net.mingsoft.base.biz.impl.BaseBizImpl;
+import net.mingsoft.base.dao.IBaseDao;
+import java.util.*;
+import net.mingsoft.tf.entity.InvestmentPromotionEntity;
+import net.mingsoft.tf.biz.IInvestmentPromotionBiz;
+import net.mingsoft.tf.dao.IInvestmentPromotionDao;
+
+/**
+* 招商管理管理持久化层
+* @author 阿白
+* 创建日期:2025年12月13日 下午1:25:50<br/>
+* 历史修订:<br/>
+*/
+@Service("tfinvestmentPromotionBizImpl")
+public class InvestmentPromotionBizImpl extends BaseBizImpl<IInvestmentPromotionDao,InvestmentPromotionEntity> implements IInvestmentPromotionBiz {
+
+
+    @Autowired
+    private IInvestmentPromotionDao investmentPromotionDao;
+
+
+    @Override
+    protected IBaseDao getDao() {
+        // TODO Auto-generated method stub
+        return investmentPromotionDao;
+    }
+
+
+
+}

+ 14 - 0
src/main/java/net/mingsoft/tf/dao/IInvestmentPromotionDao.java

@@ -0,0 +1,14 @@
+package net.mingsoft.tf.dao;
+
+import net.mingsoft.base.dao.IBaseDao;
+import java.util.*;
+import net.mingsoft.tf.entity.InvestmentPromotionEntity;
+
+/**
+ * 招商管理持久层
+ * @author 阿白
+ * 创建日期:2025年12月13日 下午1:25:50<br/>
+ * 历史修订:<br/>
+ */
+public interface IInvestmentPromotionDao extends IBaseDao<InvestmentPromotionEntity> {
+}

+ 30 - 0
src/main/java/net/mingsoft/tf/dao/IInvestmentPromotionDao.xml

@@ -0,0 +1,30 @@
+<?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="net.mingsoft.tf.dao.IInvestmentPromotionDao">
+
+	<resultMap id="resultMap" type="net.mingsoft.tf.entity.InvestmentPromotionEntity">
+				<result column="INVESTMENT_PROMOTION_NAME" property="investmentPromotionName" /><!--招商名称 -->
+				<result column="INVESTMENT_PROMOTION_TYPE" property="investmentPromotionType" /><!--房屋类型 -->
+				<result column="INVESTMENT_PROMOTION_REGION" property="investmentPromotionRegion" /><!--所在区域 -->
+				<result column="INVESTMENT_PROMOTION_AREA" property="investmentPromotionArea" /><!--面积(m²) -->
+				<result column="INVESTMENT_PROMOTION_RENT" property="investmentPromotionRent" /><!--租金(元/月) -->
+				<result column="INVESTMENT_PROMOTION_SPEC" property="investmentPromotionSpec" /><!--规格 -->
+				<result column="INVESTMENT_PROMOTION_PERSON" property="investmentPromotionPerson" /><!--招商负责人 -->
+				<result column="INVESTMENT_PROMOTION_TEL" property="investmentPromotionTel" /><!--联系电话 -->
+				<result column="INVESTMENT_PROMOTION_LOCATION" property="investmentPromotionLocation" /><!--具体位置 -->
+				<result column="INVESTMENT_PROMOTION_STATUS" property="investmentPromotionStatus" /><!--发布状态 -->
+				<result column="INVESTMENT_PROMOTION_INTRO" property="investmentPromotionIntro" /><!--招商简介 -->
+				<result column="INVESTMENT_PROMOTION_DESC" property="investmentPromotionDesc" /><!--招商描述 -->
+				<result column="INVESTMENT_PROMOTION_IMG" property="investmentPromotionImg" /><!--房屋图片 -->
+	</resultMap>
+
+	<select id="query" resultMap="resultMap">
+		SELECT * FROM INVESTMENT_PROMOTION
+		<where>
+			DEL=0
+			<include refid="net.mingsoft.base.dao.IBaseDao.sqlWhere"></include>
+		</where>
+		 ORDER BY ID DESC
+	</select>
+
+</mapper>

+ 266 - 0
src/main/java/net/mingsoft/tf/entity/InvestmentPromotionEntity.java

@@ -0,0 +1,266 @@
+package net.mingsoft.tf.entity;
+
+
+import org.springframework.format.annotation.DateTimeFormat;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import net.mingsoft.base.entity.BaseEntity;
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableField;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableName;
+import com.baomidou.mybatisplus.annotation.SqlCondition;
+import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableId;
+import com.baomidou.mybatisplus.annotation.TableLogic;
+
+import java.util.Date;
+/**
+* 招商管理实体
+* @author 阿白
+* 创建日期:2025年12月13日 下午1:25:50<br/>
+* 历史修订:<br/>
+*/
+@TableName("INVESTMENT_PROMOTION")
+public class InvestmentPromotionEntity extends BaseEntity {
+
+private static final long serialVersionUID = 1765603550824L;
+
+    /**
+    * 招商名称
+    */
+    @TableField(condition = SqlCondition.LIKE)
+    private String investmentPromotionName;
+    /**
+    * 房屋类型
+    */
+    
+    private String investmentPromotionType;
+    /**
+    * 所在区域
+    */
+    @TableField(condition = SqlCondition.LIKE)
+    private String investmentPromotionRegion;
+    /**
+    * 面积(m²)
+    */
+    
+    private Double investmentPromotionArea;
+    /**
+    * 租金(元/月)
+    */
+    
+    private Double investmentPromotionRent;
+    /**
+    * 规格
+    */
+    @TableField(condition = SqlCondition.LIKE)
+    private String investmentPromotionSpec;
+    /**
+    * 招商负责人
+    */
+    @TableField(condition = SqlCondition.LIKE)
+    private String investmentPromotionPerson;
+    /**
+    * 联系电话
+    */
+    @TableField(condition = SqlCondition.LIKE)
+    private String investmentPromotionTel;
+    /**
+    * 具体位置
+    */
+    @TableField(condition = SqlCondition.LIKE)
+    private String investmentPromotionLocation;
+    /**
+    * 发布状态
+    */
+    
+    private String investmentPromotionStatus;
+    /**
+    * 招商简介
+    */
+    @TableField(condition = SqlCondition.LIKE)
+    private String investmentPromotionIntro;
+    /**
+    * 招商描述
+    */
+    
+    private String investmentPromotionDesc;
+    /**
+    * 房屋图片
+    */
+    
+    private String investmentPromotionImg;
+
+
+    /**
+    * 设置招商名称
+    */
+    public void setInvestmentPromotionName(String investmentPromotionName) {
+        this.investmentPromotionName = investmentPromotionName;
+    }
+
+    /**
+    * 获取招商名称
+    */
+    public String getInvestmentPromotionName() {
+        return this.investmentPromotionName;
+    }
+    /**
+    * 设置房屋类型
+    */
+    public void setInvestmentPromotionType(String investmentPromotionType) {
+        this.investmentPromotionType = investmentPromotionType;
+    }
+
+    /**
+    * 获取房屋类型
+    */
+    public String getInvestmentPromotionType() {
+        return this.investmentPromotionType;
+    }
+    /**
+    * 设置所在区域
+    */
+    public void setInvestmentPromotionRegion(String investmentPromotionRegion) {
+        this.investmentPromotionRegion = investmentPromotionRegion;
+    }
+
+    /**
+    * 获取所在区域
+    */
+    public String getInvestmentPromotionRegion() {
+        return this.investmentPromotionRegion;
+    }
+    /**
+    * 设置面积(m²)
+    */
+    public void setInvestmentPromotionArea(Double investmentPromotionArea) {
+        this.investmentPromotionArea = investmentPromotionArea;
+    }
+
+    /**
+    * 获取面积(m²)
+    */
+    public Double getInvestmentPromotionArea() {
+        return this.investmentPromotionArea;
+    }
+    /**
+    * 设置租金(元/月)
+    */
+    public void setInvestmentPromotionRent(Double investmentPromotionRent) {
+        this.investmentPromotionRent = investmentPromotionRent;
+    }
+
+    /**
+    * 获取租金(元/月)
+    */
+    public Double getInvestmentPromotionRent() {
+        return this.investmentPromotionRent;
+    }
+    /**
+    * 设置规格
+    */
+    public void setInvestmentPromotionSpec(String investmentPromotionSpec) {
+        this.investmentPromotionSpec = investmentPromotionSpec;
+    }
+
+    /**
+    * 获取规格
+    */
+    public String getInvestmentPromotionSpec() {
+        return this.investmentPromotionSpec;
+    }
+    /**
+    * 设置招商负责人
+    */
+    public void setInvestmentPromotionPerson(String investmentPromotionPerson) {
+        this.investmentPromotionPerson = investmentPromotionPerson;
+    }
+
+    /**
+    * 获取招商负责人
+    */
+    public String getInvestmentPromotionPerson() {
+        return this.investmentPromotionPerson;
+    }
+    /**
+    * 设置联系电话
+    */
+    public void setInvestmentPromotionTel(String investmentPromotionTel) {
+        this.investmentPromotionTel = investmentPromotionTel;
+    }
+
+    /**
+    * 获取联系电话
+    */
+    public String getInvestmentPromotionTel() {
+        return this.investmentPromotionTel;
+    }
+    /**
+    * 设置具体位置
+    */
+    public void setInvestmentPromotionLocation(String investmentPromotionLocation) {
+        this.investmentPromotionLocation = investmentPromotionLocation;
+    }
+
+    /**
+    * 获取具体位置
+    */
+    public String getInvestmentPromotionLocation() {
+        return this.investmentPromotionLocation;
+    }
+    /**
+    * 设置发布状态
+    */
+    public void setInvestmentPromotionStatus(String investmentPromotionStatus) {
+        this.investmentPromotionStatus = investmentPromotionStatus;
+    }
+
+    /**
+    * 获取发布状态
+    */
+    public String getInvestmentPromotionStatus() {
+        return this.investmentPromotionStatus;
+    }
+    /**
+    * 设置招商简介
+    */
+    public void setInvestmentPromotionIntro(String investmentPromotionIntro) {
+        this.investmentPromotionIntro = investmentPromotionIntro;
+    }
+
+    /**
+    * 获取招商简介
+    */
+    public String getInvestmentPromotionIntro() {
+        return this.investmentPromotionIntro;
+    }
+    /**
+    * 设置招商描述
+    */
+    public void setInvestmentPromotionDesc(String investmentPromotionDesc) {
+        this.investmentPromotionDesc = investmentPromotionDesc;
+    }
+
+    /**
+    * 获取招商描述
+    */
+    public String getInvestmentPromotionDesc() {
+        return this.investmentPromotionDesc;
+    }
+    /**
+    * 设置房屋图片
+    */
+    public void setInvestmentPromotionImg(String investmentPromotionImg) {
+        this.investmentPromotionImg = investmentPromotionImg;
+    }
+
+    /**
+    * 获取房屋图片
+    */
+    public String getInvestmentPromotionImg() {
+        return this.investmentPromotionImg;
+    }
+
+
+}

+ 14 - 1
src/main/java/net/mingsoft/tf/resources/resources_en_US.properties

@@ -45,4 +45,17 @@ recruitment.salary=recruitment salary
 recruitment.exper=recruitment exper
 recruitment.education=recruitment education
 recruitment.time=recruitment time
-recruitment.requirements=recruitment requirements
+recruitment.requirements=recruitment requirements
+investment.promotion.name=investment promotion name
+investment.promotion.type=investment promotion type
+investment.promotion.region=investment promotion region
+investment.promotion.area=investment promotion area
+investment.promotion.rent=investment promotion rent
+investment.promotion.spec=investment promotion spec
+investment.promotion.person=investment promotion person
+investment.promotion.tel=investment promotion tel
+investment.promotion.location=investment promotion location
+investment.promotion.status=investment promotion status
+investment.promotion.intro=investment promotion intro
+investment.promotion.desc=investment promotion desc
+investment.promotion.img=investment promotion img

+ 14 - 1
src/main/java/net/mingsoft/tf/resources/resources_zh_CN.properties

@@ -45,4 +45,17 @@ recruitment.salary=\u85aa\u8d44\u8303\u56f4
 recruitment.exper=\u5de5\u4f5c\u7ecf\u9a8c
 recruitment.education=\u5b66\u5386
 recruitment.time=\u53d1\u5e03\u65f6\u95f4
-recruitment.requirements=\u5c97\u4f4d\u8981\u6c42
+recruitment.requirements=\u5c97\u4f4d\u8981\u6c42
+investment.promotion.name=\u62db\u5546\u540d\u79f0
+investment.promotion.type=\u623f\u5c4b\u7c7b\u578b
+investment.promotion.region=\u6240\u5728\u533a\u57df
+investment.promotion.area=\u9762\u79ef(m\u00b2)
+investment.promotion.rent=\u79df\u91d1(\u5143/\u6708)
+investment.promotion.spec=\u89c4\u683c
+investment.promotion.person=\u62db\u5546\u8d1f\u8d23\u4eba
+investment.promotion.tel=\u8054\u7cfb\u7535\u8bdd
+investment.promotion.location=\u5177\u4f53\u4f4d\u7f6e
+investment.promotion.status=\u53d1\u5e03\u72b6\u6001
+investment.promotion.intro=\u62db\u5546\u7b80\u4ecb
+investment.promotion.desc=\u62db\u5546\u63cf\u8ff0
+investment.promotion.img=\u623f\u5c4b\u56fe\u7247