/** * Copyright (c) 2002 Sinosoft Co.,LTD. * All right reserved. */ package com.sinosoft.lis.db; import com.sinosoft.lis.schema.LJPremMatchFeeLogSchema; import com.sinosoft.lis.vschema.LJPremMatchFeeLogSet; import com.sinosoft.persistence.DB; import com.sinosoft.persistence.impl.DBOper; import com.sinosoft.utility.SQLwithBindVariables; import lombok.extern.slf4j.Slf4j; import java.sql.Connection; /** *

ClassName: LJPremMatchFeeLogDB

*

Description: DB层数据库操作类文件

*

Company: Sinosoft Co.,LTD

* @Database PhysicalDataModel_4 * @author Makerx2 * @CreateDatetime 2025-11-05 15:20:03 988 */ @Slf4j public class LJPremMatchFeeLogDB extends LJPremMatchFeeLogSchema implements DB { // @Field private Connection con; private boolean readOnlyFlag = false; // @Constructor public LJPremMatchFeeLogDB(Connection cConnection) { con = cConnection; } public LJPremMatchFeeLogDB() { con = null; } public LJPremMatchFeeLogDB(boolean readOnly) { this(); readOnlyFlag = readOnly; } // @Method @Override public void readOnly(boolean readOnly) { readOnlyFlag = readOnly; } @Override public boolean deleteSQL() { return DBOper.deleteSQL(this, con, mErrors, log); } @Override public int getCount() { return DBOper.getCount(this, con, readOnlyFlag, mErrors, log); } @Override public boolean insert() { return DBOper.insert(this, con, mErrors, log); } @Override public boolean delete() { return DBOper.delete(this, con, mErrors, log); } @Override public boolean update() { return DBOper.update(this, con, mErrors, log); } @Override public boolean getInfo() { return DBOper.getInfo(this, con, readOnlyFlag, mErrors, log); } @Override public LJPremMatchFeeLogSet query() { return query(-1, -1); } @Override public LJPremMatchFeeLogSet query(int nStart, int nCount) { return (LJPremMatchFeeLogSet) DBOper.query(this, nStart, nCount, con, readOnlyFlag, mErrors, log); } @Override public boolean getInfo(SQLwithBindVariables sqlbv) { return DBOper.getInfo(this, sqlbv, con, readOnlyFlag, mErrors, log); } @Override public LJPremMatchFeeLogSet executeQuery(SQLwithBindVariables sqlbv) { return executeQuery(sqlbv, -1, -1); } @Override public LJPremMatchFeeLogSet executeQuery(SQLwithBindVariables sqlbv, int nStart, int nCount) { return (LJPremMatchFeeLogSet) DBOper.executeQuery(this, sqlbv, nStart, nCount, con, readOnlyFlag, mErrors, log); } }