|
|
@@ -4,6 +4,7 @@ import cn.hnthyy.thmz.entity.his.ZyLedgerFile;
|
|
|
import org.apache.ibatis.annotations.Insert;
|
|
|
import org.apache.ibatis.annotations.Param;
|
|
|
import org.apache.ibatis.annotations.Select;
|
|
|
+import org.apache.ibatis.annotations.Update;
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
@@ -33,4 +34,14 @@ public interface zyLedgerFileMapper {
|
|
|
"#{charge18}, #{charge19}, #{charge20} , #{charge21} , #{charge22} , #{charge23} , #{charge24} , #{charge25} , #{charge26} ,#{charge27} ,#{charge28} , #{charge29} , #{charge30} ," +
|
|
|
" #{settle} ,#{lastBalance}, #{settleType} , #{deptCode} , #{wardCode} , #{deptX} , #{wardX} , #{accountDate} , #{cashDate} , #{cashId} , #{dcountNo} , #{dcountDate} , #{zySerialNo} ) ")
|
|
|
int insetZyLedgerFile(ZyLedgerFile zyLedgerFile);
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 更新金额
|
|
|
+ * @param zyLedgerFile
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ @Update("update zy_ledger_file SET deposit =#{deposit} , balance =#{balance} WHERE inpatient_no =#{inpatientNo} AND admiss_times =#{admissTimes} AND ledger_sn =#{ledgerSn} ")
|
|
|
+ int updateZyLedgerFile(ZyLedgerFile zyLedgerFile);
|
|
|
+
|
|
|
+
|
|
|
}
|