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