1 Star 0 Fork 122

Protear/DevelopAssistant

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
QueryWrapper.cs 1002 Bytes
一键复制 编辑 原始数据 按行查看 历史
wxd_tony1984 提交于 2019-07-25 18:26 +08:00 . 添加生成SpringBoot 项目Mapper.xml
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DevelopAssistant.AddIn.JavaProject
{
public class QueryWrapper
{
private List<QueryEntity> conditions = new List<QueryEntity>();
private List<QueryEntity> orderbies = new List<QueryEntity>();
public QueryWrapper(string Column,string Value)
{
conditions.Add(new QueryEntity(Column, Value));
}
public QueryWrapper()
{
}
public void EQ(string Column,string Value)
{
conditions.Add(new QueryEntity(Column, Value));
}
public void OrderBy(string Column, string Value)
{
orderbies.Add(new QueryEntity(Column, Value));
}
public List<QueryEntity> ToList()
{
return conditions;
}
public List<QueryEntity> Orderbies()
{
return orderbies;
}
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C#
1
https://gitee.com/Protear/DevelopAssistant.git
git@gitee.com:Protear/DevelopAssistant.git
Protear
DevelopAssistant
DevelopAssistant
master

搜索帮助