修复测试中发现的规格等bug
This commit is contained in:
parent
a18edeef4e
commit
ae8155db37
@ -293,16 +293,16 @@
|
||||
select ifnull(count(*),0) from equipment_info where is_delete = 0 and count =#{num} and depart_id is not null and depart_id > 0
|
||||
</select>
|
||||
|
||||
<update id="updateCoverEquipmentInfoByTypeId" parameterType="java.lang.Long">
|
||||
update equipment_info set type = #{type} where type_id=#{id}
|
||||
<update id="updateCoverEquipmentInfoByTypeId" >
|
||||
update equipment_info set type = #{type} where type_id=#{id} and is_delete=0
|
||||
</update>
|
||||
|
||||
<update id="updateCoverEquipmentInfoByBrandId" parameterType="java.lang.Long">
|
||||
update equipment_info set brand_name = #{brand} where type_id=#{id}
|
||||
<update id="updateCoverEquipmentInfoByBrandId" >
|
||||
update equipment_info set brand_name = #{brand} where brand_id=#{id} and is_delete=0
|
||||
</update>
|
||||
|
||||
<update id="updateCoverEquipmentInfoBySpecsId" parameterType="java.lang.Long">
|
||||
update equipment_info set spec_type = #{specs} where type_id=#{id}
|
||||
<update id="updateCoverEquipmentInfoBySpecsId" >
|
||||
update equipment_info set spec_type = #{specs} where specs_id=#{id} and is_delete=0
|
||||
</update>
|
||||
|
||||
</mapper>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user