工程管理
This commit is contained in:
parent
6f0ee62c9f
commit
565b7097e5
|
|
@ -113,9 +113,6 @@ public class BmProject extends BaseEntity
|
||||||
@ApiModelProperty(value = "工程性质")
|
@ApiModelProperty(value = "工程性质")
|
||||||
private String proNature;
|
private String proNature;
|
||||||
|
|
||||||
@ApiModelProperty(value = "i8工程id")
|
|
||||||
private String i8proId;
|
|
||||||
|
|
||||||
@ApiModelProperty(value = "所属项目中心")
|
@ApiModelProperty(value = "所属项目中心")
|
||||||
private String proCenter;
|
private String proCenter;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -51,14 +51,6 @@ public interface BmProjectMapper
|
||||||
*/
|
*/
|
||||||
public int deleteBmProjectByProId(Long proId);
|
public int deleteBmProjectByProId(Long proId);
|
||||||
|
|
||||||
/**
|
|
||||||
* 批量删除标段工程管理
|
|
||||||
*
|
|
||||||
* @param proIds 需要删除的数据主键集合
|
|
||||||
* @return 结果
|
|
||||||
*/
|
|
||||||
public int deleteBmProjectByProIds(Long[] proIds);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 根据工程名称查询工程信息
|
* 根据工程名称查询工程信息
|
||||||
* @param bmProject
|
* @param bmProject
|
||||||
|
|
|
||||||
|
|
@ -45,14 +45,6 @@ public interface IBmProjectService
|
||||||
*/
|
*/
|
||||||
public AjaxResult updateBmProject(BmProject bmProject);
|
public AjaxResult updateBmProject(BmProject bmProject);
|
||||||
|
|
||||||
/**
|
|
||||||
* 批量删除标段工程管理
|
|
||||||
*
|
|
||||||
* @param proIds 需要删除的标段工程管理主键集合
|
|
||||||
* @return 结果
|
|
||||||
*/
|
|
||||||
public AjaxResult deleteBmProjectByProIds(Long[] proIds);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 删除标段工程管理信息
|
* 删除标段工程管理信息
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -113,7 +113,7 @@ public class BmProjectServiceImpl implements IBmProjectService
|
||||||
item.setProStatus("未知工程状态");
|
item.setProStatus("未知工程状态");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
item.setIsMatchI8(StringUtils.isNotEmpty(item.getI8proId()) ? "匹配" : "不匹配");
|
item.setIsMatchI8(StringUtils.isNotEmpty(item.getExternalId()) ? "匹配" : "不匹配");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
@ -203,22 +203,6 @@ public class BmProjectServiceImpl implements IBmProjectService
|
||||||
return AjaxResult.error(HttpCodeEnum.FAIL.getCode(), HttpCodeEnum.FAIL.getMsg());
|
return AjaxResult.error(HttpCodeEnum.FAIL.getCode(), HttpCodeEnum.FAIL.getMsg());
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* 批量删除标段工程管理
|
|
||||||
*
|
|
||||||
* @param proIds 需要删除的标段工程管理主键
|
|
||||||
* @return 结果
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
public AjaxResult deleteBmProjectByProIds(Long[] proIds)
|
|
||||||
{
|
|
||||||
int result = bmProjectMapper.deleteBmProjectByProIds(proIds);
|
|
||||||
if (result > 0) {
|
|
||||||
return AjaxResult.success(HttpCodeEnum.SUCCESS.getMsg(), result);
|
|
||||||
}
|
|
||||||
return AjaxResult.error(HttpCodeEnum.FAIL.getCode(), HttpCodeEnum.FAIL.getMsg());
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 删除标段工程管理信息
|
* 删除标段工程管理信息
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
<result property="impUnit" column="imp_unit" />
|
<result property="impUnit" column="imp_unit" />
|
||||||
<result property="proNature" column="pro_nature" />
|
<result property="proNature" column="pro_nature" />
|
||||||
<result property="proStatus" column="pro_status" />
|
<result property="proStatus" column="pro_status" />
|
||||||
<result property="i8proId" column="i8pro_id" />
|
|
||||||
<result property="contractPart" column="contract_part" />
|
<result property="contractPart" column="contract_part" />
|
||||||
<result property="proCenter" column="pro_center" />
|
<result property="proCenter" column="pro_center" />
|
||||||
</resultMap>
|
</resultMap>
|
||||||
|
|
@ -56,7 +55,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
sd.dept_name as impUnit,
|
sd.dept_name as impUnit,
|
||||||
bp.pro_nature,
|
bp.pro_nature,
|
||||||
bp.pro_status,
|
bp.pro_status,
|
||||||
bp.i8pro_id,
|
|
||||||
bp.contract_part,
|
bp.contract_part,
|
||||||
bp.pro_center
|
bp.pro_center
|
||||||
from bm_project bp
|
from bm_project bp
|
||||||
|
|
@ -134,7 +132,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
<if test="impUnit != null">imp_unit,</if>
|
<if test="impUnit != null">imp_unit,</if>
|
||||||
<if test="proNature != null">pro_nature,</if>
|
<if test="proNature != null">pro_nature,</if>
|
||||||
<if test="proStatus != null">pro_status,</if>
|
<if test="proStatus != null">pro_status,</if>
|
||||||
<if test="i8proId != null">i8pro_id,</if>
|
|
||||||
<if test="contractPart != null">contract_part,</if>
|
<if test="contractPart != null">contract_part,</if>
|
||||||
<if test="proCenter != null">pro_center</if>
|
<if test="proCenter != null">pro_center</if>
|
||||||
</trim>
|
</trim>
|
||||||
|
|
@ -162,7 +159,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
<if test="impUnit != null">#{impUnit},</if>
|
<if test="impUnit != null">#{impUnit},</if>
|
||||||
<if test="proNature != null">#{proNature},</if>
|
<if test="proNature != null">#{proNature},</if>
|
||||||
<if test="proStatus != null">#{proStatus},</if>
|
<if test="proStatus != null">#{proStatus},</if>
|
||||||
<if test="i8proId != null">#{i8proId},</if>
|
|
||||||
<if test="contractPart != null">#{contractPart},</if>
|
<if test="contractPart != null">#{contractPart},</if>
|
||||||
<if test="proCenter != null">#{proCenter}</if>
|
<if test="proCenter != null">#{proCenter}</if>
|
||||||
</trim>
|
</trim>
|
||||||
|
|
@ -190,7 +186,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
<if test="impUnit != null">imp_unit = #{impUnit},</if>
|
<if test="impUnit != null">imp_unit = #{impUnit},</if>
|
||||||
<if test="proNature != null">pro_nature = #{proNature},</if>
|
<if test="proNature != null">pro_nature = #{proNature},</if>
|
||||||
<if test="proStatus != null">pro_status = #{proStatus},</if>
|
<if test="proStatus != null">pro_status = #{proStatus},</if>
|
||||||
<if test="i8proId != null">i8pro_id = #{i8proId},</if>
|
|
||||||
<if test="contractPart != null">contract_part = #{contractPart},</if>
|
<if test="contractPart != null">contract_part = #{contractPart},</if>
|
||||||
<if test="proCenter != null">pro_center = #{proCenter}</if>
|
<if test="proCenter != null">pro_center = #{proCenter}</if>
|
||||||
</trim>
|
</trim>
|
||||||
|
|
@ -201,10 +196,4 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
update bm_project set del_flag = 2 where pro_id = #{proId}
|
update bm_project set del_flag = 2 where pro_id = #{proId}
|
||||||
</delete>
|
</delete>
|
||||||
|
|
||||||
<delete id="deleteBmProjectByProIds" parameterType="String">
|
|
||||||
update bm_project set del_flag = 2 where pro_id in
|
|
||||||
<foreach item="proId" collection="array" open="(" separator="," close=")">
|
|
||||||
#{proId}
|
|
||||||
</foreach>
|
|
||||||
</delete>
|
|
||||||
</mapper>
|
</mapper>
|
||||||
Loading…
Reference in New Issue