领料接口优化
This commit is contained in:
parent
ec9e196433
commit
e244ebed75
|
|
@ -77,7 +77,6 @@ public class LeaseOutDetailsServiceImpl implements ILeaseOutDetailsService {
|
||||||
if (ajaxResult.isError()) {
|
if (ajaxResult.isError()) {
|
||||||
return ajaxResult;
|
return ajaxResult;
|
||||||
}
|
}
|
||||||
//leaseOutDetailsMapper.insertLeaseOutDetails(bean);
|
|
||||||
}
|
}
|
||||||
return AjaxResult.success();
|
return AjaxResult.success();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -138,6 +138,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
select
|
select
|
||||||
<include refid="Base_Column_List" />
|
<include refid="Base_Column_List" />
|
||||||
from lease_apply_details
|
from lease_apply_details
|
||||||
where parennt_id = #{parentId}
|
where parent_id = #{parentId}
|
||||||
</select>
|
</select>
|
||||||
</mapper>
|
</mapper>
|
||||||
|
|
@ -349,7 +349,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
update_time = now(),
|
update_time = now(),
|
||||||
status = '1'
|
status = '1'
|
||||||
WHERE
|
WHERE
|
||||||
parennt_id = #{record.parentId} and type_id = #{record.typeId}
|
parent_id = #{record.parentId} and type_id = #{record.typeId}
|
||||||
</update>
|
</update>
|
||||||
|
|
||||||
<select id="getLeaseApplyDetails" resultType="com.bonus.material.lease.domain.LeaseApplyDetails">
|
<select id="getLeaseApplyDetails" resultType="com.bonus.material.lease.domain.LeaseApplyDetails">
|
||||||
|
|
@ -360,7 +360,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
FROM
|
FROM
|
||||||
lease_apply_details
|
lease_apply_details
|
||||||
WHERE
|
WHERE
|
||||||
parennt_id = #{record.parentId}
|
parent_id = #{record.parentId}
|
||||||
AND type_id = #{record.typeId}
|
AND type_id = #{record.typeId}
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
|
@ -370,6 +370,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
SET
|
SET
|
||||||
status = '2'
|
status = '2'
|
||||||
WHERE
|
WHERE
|
||||||
parennt_id = #{record.parentId} and type_id = #{record.typeId}
|
parent_id = #{record.parentId} and type_id = #{record.typeId}
|
||||||
</update>
|
</update>
|
||||||
</mapper>
|
</mapper>
|
||||||
Loading…
Reference in New Issue