|
@@ -18,7 +18,7 @@ public interface YpSelinfoSoldDao extends BaseMapper<YpSelinfoSold> {
|
|
|
@Delete("<script> " +
|
|
|
" <foreach collection='list' item='item' separator=';'> " +
|
|
|
" delete from yp_selinfo_sold where pat_no = #{item.patNo} and times = #{item.times} " +
|
|
|
- " and receipt_no = #{item.receiptNo} and order_no = #{item.orderNo} and item_no = #{item.itemNo} " +
|
|
|
+ " and order_no = #{item.orderNo} and item_no = #{item.itemNo} " +
|
|
|
" </foreach> " +
|
|
|
"</script>")
|
|
|
void deleteYpSelinfoSoldBatchByIds(List<YpSelinfoSold> list);
|
|
@@ -26,7 +26,7 @@ public interface YpSelinfoSoldDao extends BaseMapper<YpSelinfoSold> {
|
|
|
@Delete("<script> " +
|
|
|
" <foreach collection='list' item='item' separator=';'> " +
|
|
|
" delete from yp_selinfo_sold where pat_no = #{item.patNo} and times = #{item.times} " +
|
|
|
- " and receipt_no = #{item.receiptNo} and order_no = #{item.orderNo} and item_no = #{item.itemNo} " +
|
|
|
+ " and order_no = #{item.orderNo} and item_no = #{item.itemNo} " +
|
|
|
" </foreach> " +
|
|
|
"</script>")
|
|
|
int deleteYpSelinfoSoldBatchByCodes(List<YpCodgUpload> list);
|