提交 9e73ca9e authored 作者: chaoyanjun's avatar chaoyanjun

--no commit message

上级 04df5777
......@@ -5,6 +5,8 @@ import com.zrqx.newbook.bg.mapper.financial.FinancialMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import java.util.List;
@Component
public class FinancialManage {
......@@ -19,4 +21,15 @@ public class FinancialManage {
return mapper.insertSelective(financial) > 0;
}
public List<Financial> getBySubjectNum(String subjectNum){
Financial f = new Financial();
return mapper.select(f);
}
public void deleteList(List<Financial> list){
list.forEach(v ->{
mapper.delete(v);
});
}
}
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论