Skip to content

Commit

Permalink
InvMapper 修正update动态SQL生成方法中错误的表名
Browse files Browse the repository at this point in the history
  • Loading branch information
suvvm committed Nov 30, 2019
1 parent 8bb6df1 commit 7969c1f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public String findInv(Investigate inv) {
public String updateInv(Investigate inv) {
return new SQL() {
{
UPDATE("companies");
UPDATE("investigates");
if(inv.getName() != null) {
SET("name = #{name}");
}
Expand Down

0 comments on commit 7969c1f

Please sign in to comment.