hsh 1 年之前
父节点
当前提交
3d29dd360d
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/java/cn/hnthyy/thmz/mapper/his/yp/YpMzFytjMapper.java

+ 1 - 1
src/main/java/cn/hnthyy/thmz/mapper/his/yp/YpMzFytjMapper.java

@@ -379,7 +379,7 @@ public interface YpMzFytjMapper {
     @Update("update yp_mz_fytj set manu_no=#{manuNo} where real_no=#{realNo} and order_no=#{orderNo} and item_no=#{itemNo}")
     int updateManuNo(@Param("manuNo") String manuNo, @Param("realNo") Integer realNo, @Param("orderNo") Integer orderNo, @Param("itemNo") Integer itemNo);
 
-    @Update(" select count(*) from yp_mz_fytj where serial_no = #{oriSerialNo} ")
+    @Select(" select count(*) from yp_mz_fytj where serial_no = #{oriSerialNo} ")
     int queryYpMzFytjByOriSerialNo(@Param("oriSerialNo") Integer oriSerialNo);
 
     @Update(" update yp_mz_fytj set receipt_no =#{receiptNo},serial_no=#{serialNo},real_no=#{serialNo} where serial_no = #{oriSerialNo} ")