src/com/business/InstoreBusiness.java
(完整代码) 2KBpackage com.business;
import java.util.List;
import com.dao.InstoreDAO;
import com.entity.InstoreEntity;
public class InstoreBusiness {
/** Spring IOC DAO 注入 Business * */
private InstoreDAO instoreDAO;
public InstoreDAO getInstoreDAO() { return instoreDAO; }
public void setInstoreDAO(InstoreDAO instoreDAO) { this.instoreDAO = instoreDAO; }
/** save * */
public void save(InstoreEntity instore) {this.instoreDAO.save(instore);}
/** update * */
public void update(InstoreEntity instore) {this.instoreDAO.update(instore);}
/** delete * */
public void delete(InstoreEntity instore) {this.instoreDAO.delete(instore);}
/** show * */
public List<InstoreEntity> show() {return instoreDAO.show();}
/** check * */
public List<InstoreEntity> checkEquipmentid(String name) {return this.instoreDAO.queryByEquipmentid(name);}
/** check * */
public List<InstoreEntity> checkNum(String name) {return this.instoreDAO.queryByNum(name);}
/** check * */
public List<InstoreEntity> checkMoney(String name) {return this.instoreDAO.queryByMoney(name);}
/** check * */
public List<InstoreEntity> checkAddtime(String name) {return this.instoreDAO.queryByAddtime(name);}
/** check * */
public List<InstoreEntity> checkAdminid(String name) {return this.instoreDAO.queryByAdminid(name);}
/** check * */
public List<InstoreEntity> checkMemo(String name) {return this.instoreDAO.queryByMemo(name);}
/** check * */
public List<InstoreEntity> checkByLikeEquipmentid(String name) {return this.instoreDAO.queryLikeByEquipmentid(name);}
/** check * */
public List<InstoreEntity> checkByLikeNum(String name) {return this.instoreDAO.queryLikeByNum(name);}
/** check * */
public List<InstoreEntity> checkByLikeMoney(String name) {return this.instoreDAO.queryLikeByMoney(name);}
/** check * */
public List<InstoreEntity> checkByLikeAddtime(String name) {return this.instoreDAO.queryLikeByAddtime(name);}
/** check * */
public List<InstoreEntity> checkByLikeAdminid(String name) {return this.instoreDAO.queryLikeByAdminid(name);}
/** check * */
public List<InstoreEntity> checkByLikeMemo(String name) {return this.instoreDAO.queryLikeByMemo(name);}
/** checkId * */
public InstoreEntity checkId(String id) {return this.instoreDAO.queryById(id);}
}
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。