inventory-server/src/main/resources/mapper/SaleMaterialMapper.xml
@@ -1,6 +1,12 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> <mapper namespace="com.yuanchu.mom.mapper.SaleMaterialMapper"> <!--根据销售单id批量删除--> <update id="delAllSale"> update mom_ocean.sale_material set state=0 where sale_id in (${ids}) </update> <select id="selectSaleDatil" resultType="com.yuanchu.mom.pojo.SaleMaterial"> select id, name,