You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
53 lines
1.2 KiB
53 lines
1.2 KiB
/**
|
|
* Copyright (c) 2002 Sinosoft Co.,LTD.
|
|
* All right reserved.
|
|
*/
|
|
|
|
package com.sinosoft.lis.vdb;
|
|
|
|
import com.sinosoft.lis.schema.LPUWMasterSchema;
|
|
import com.sinosoft.lis.vschema.LPUWMasterSet;
|
|
import com.sinosoft.persistence.DBSet;
|
|
import com.sinosoft.persistence.impl.DBSetOper;
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
|
import java.sql.Connection;
|
|
|
|
/**
|
|
* <p>ClassName: LPUWMasterDBSet </p>
|
|
* <p>Description: DB层多记录数据库操作类文件 </p>
|
|
* <p>Company: Sinosoft Co.,LTD</p>
|
|
* @Database Schema2
|
|
* @author Makerx2
|
|
* @CreateDatetime 2019-03-16 16:05:44 300
|
|
*/
|
|
@Slf4j
|
|
public class LPUWMasterDBSet extends LPUWMasterSet implements DBSet {
|
|
// @Field
|
|
private Connection con;
|
|
|
|
// @Constructor
|
|
public LPUWMasterDBSet(Connection tConnection) {
|
|
con = tConnection;
|
|
}
|
|
|
|
public LPUWMasterDBSet() {
|
|
}
|
|
|
|
// @Method
|
|
public boolean deleteSQL() {
|
|
return DBSetOper.deleteSQL(this, con, mErrors, log);
|
|
}
|
|
|
|
public boolean insert() {
|
|
return DBSetOper.insert(this, con, mErrors, log);
|
|
}
|
|
|
|
public boolean delete() {
|
|
return DBSetOper.delete(this, con, mErrors, log);
|
|
}
|
|
|
|
public boolean update() {
|
|
return DBSetOper.update(this, con, mErrors, log);
|
|
}
|
|
}
|
|
|