排序 资产属性
This commit is contained in:
parent
b6f46c6b4f
commit
afdddd648d
|
|
@ -94,8 +94,8 @@ public class MaPropInfoController extends BaseController {
|
|||
}*/
|
||||
Long fieldValue =maPropSet.getTypeId();
|
||||
Long fieldValues =maPropSet.getPropId();
|
||||
if ( fieldValue != null || fieldValues !=null){
|
||||
return toAjax(maPropInfoService.insertMaPropSet(maPropSet));
|
||||
if (maPropSet.getPropName() != null){
|
||||
return toAjax(maPropInfoService.updateMaPropSet(maPropSet));
|
||||
}
|
||||
/*List<MaPropSet> ben= maPropInfoService.checkPropIdUnique(maPropSet);
|
||||
for (MaPropSet s:ben) {
|
||||
|
|
@ -105,7 +105,8 @@ public class MaPropInfoController extends BaseController {
|
|||
|
||||
}
|
||||
}*/
|
||||
return toAjax(maPropInfoService.updateMaPropSet(maPropSet));
|
||||
return toAjax(maPropInfoService.insertMaPropSet(maPropSet));
|
||||
|
||||
|
||||
}
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -49,5 +49,5 @@ public class MaPropSet {
|
|||
*/
|
||||
private String companyId;
|
||||
|
||||
|
||||
private String propName;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -79,6 +79,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
<if test="companyId != null and companyId != ''">
|
||||
and a.company_id = #{companyId}
|
||||
</if>
|
||||
ORDER BY a.pro_id DESC
|
||||
</select>
|
||||
<select id="getProjectLot" parameterType="com.bonus.sgzb.base.domain.BmProjectInfo" resultMap="BmProjectInfoResult">
|
||||
<!--<include refid="bmProjectInfo"/>-->
|
||||
|
|
|
|||
|
|
@ -84,6 +84,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
<if test="companyId != null and companyId != ''">
|
||||
and company_id = #{companyId}
|
||||
</if>
|
||||
ORDER BY a.lot_id DESC
|
||||
</select>
|
||||
<insert id="projectLotAdd" parameterType="com.bonus.sgzb.base.domain.BmProjectLot">
|
||||
insert into bm_project_lot (
|
||||
|
|
|
|||
Loading…
Reference in New Issue