Skip to content

Commit

Permalink
3.0.4.52
Browse files Browse the repository at this point in the history
3.0.4.52
  • Loading branch information
noear committed Sep 19, 2017
1 parent 58ecc8f commit 2ae5764
Show file tree
Hide file tree
Showing 10 changed files with 137 additions and 98 deletions.
213 changes: 120 additions & 93 deletions java/.idea/workspace.xml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion java/Weed3/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Manifest-Version: 3.0.4.51
Manifest-Version: 3.0.4.52

5 changes: 4 additions & 1 deletion java/Weed3/src/_readme.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
3.0.4.52::
1.DbTableQueryBase::修改.添加 count(...);

3.0.4.51::
1.WeedConfig::修改.添加 onExecuteAft
2.WeedConfig::修改.添加 onExecuteBef
Expand All @@ -6,7 +9,7 @@
5.DbTableQueryBase::修改.添加 count();
6.DbTableQueryBase::修改.添加 from();
7.DbTableQueryBase::修改.添加 log(...);
1.DbTableQueryBase::修改.添加 insertUpdate();
1.DbTableQueryBase::修改.添加 updateList(); //测试

3.0.4.50::
1.DataItem::修改.取消 intValue2(); //同上
Expand Down
2 changes: 2 additions & 0 deletions java/Weed3/src/noear/weed/Command.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ public class Command {
public String tag;
/*是否进行日志*/
public boolean isLog = false;


/*命令id*/
public String key;
/*命令文本*/
Expand Down
2 changes: 1 addition & 1 deletion java/Weed3/src/noear/weed/DbAccess.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public abstract class DbAccess<T extends DbAccess> implements IWeedKey,IQuery,Se
/*获取访问标识(由子类实现)*/
protected abstract String getCommandID();

protected Act1<Command> onCommandExpr = null;
private Act1<Command> onCommandExpr = null;

public T onCommandBuilt(Act1<Command> expr){
this.onCommandExpr = expr;
Expand Down
6 changes: 5 additions & 1 deletion java/Weed3/src/noear/weed/DbTableQueryBase.java
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,11 @@ public T hint(String hint){
}

public long count() throws SQLException{
return select("COUNT(*)").getVariate().longValue(0l);
return count("COUNT(*)");
}

public long count(String expr) throws SQLException{
return select(expr).getVariate().longValue(0l);
}

public IQuery select(String columns) {
Expand Down
5 changes: 4 additions & 1 deletion java/out/production/Weed3/_readme.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
3.0.4.52::
1.DbTableQueryBase::修改.添加 count(...);

3.0.4.51::
1.WeedConfig::修改.添加 onExecuteAft
2.WeedConfig::修改.添加 onExecuteBef
Expand All @@ -6,7 +9,7 @@
5.DbTableQueryBase::修改.添加 count();
6.DbTableQueryBase::修改.添加 from();
7.DbTableQueryBase::修改.添加 log(...);
1.DbTableQueryBase::修改.添加 insertUpdate();
1.DbTableQueryBase::修改.添加 updateList(); //测试

3.0.4.50::
1.DataItem::修改.取消 intValue2(); //同上
Expand Down
Binary file modified java/out/production/Weed3/noear/weed/Command.class
Binary file not shown.
Binary file modified java/out/production/Weed3/noear/weed/DbAccess.class
Binary file not shown.
Binary file modified java/out/production/Weed3/noear/weed/DbTableQueryBase.class
Binary file not shown.

0 comments on commit 2ae5764

Please sign in to comment.