摘要: xml <insert id="addMaterialQrTransferLog"> insert into material_qr_transfer_log( qr_code, warehouse_code, transfer_time, user_no )values <foreach coll 阅读全文
posted @ 2021-05-06 09:06 岁月尔尔 阅读(223) 评论(0) 推荐(0) 编辑
摘要: xml <update id="updateMaterialQrList" parameterType="java.util.List"> <foreach collection="materialQrList" item="p" index="index" open="" close="" sep 阅读全文
posted @ 2021-05-06 08:56 岁月尔尔 阅读(72) 评论(0) 推荐(0) 编辑
摘要: 多条件批量查询语句 (这里是分表汇总成一个表进行查询,大家用不上多表,直接把多表替换成单表即可,主要看第二个《foreach的内容》) xml <select id="getSameCarton" resultType="java.lang.Integer"> select count(1) fro 阅读全文
posted @ 2021-05-06 08:45 岁月尔尔 阅读(750) 评论(0) 推荐(0) 编辑