com.javajy.api.service.GenericService Maven / Gradle / Ivy
The newest version!
package com.javajy.api.service;
import com.javajy.api.component.DBManager;
import com.javajy.api.entity.Database;
import com.javajy.api.entity.SuperBean;
import java.util.List;
public class GenericService extends Database {
private Database e;
public Integer save(SuperBean var1) {
DBManager var2 = new DBManager(var1, this.e);
return var2.save();
}
public Integer update(SuperBean var1) {
DBManager var2 = new DBManager(var1, this.e);
return var2.update();
}
public List