From 4b7e387f230c6d07e4de04f3b981298f37c0b513 Mon Sep 17 00:00:00 2001 From: gazebo Date: Sun, 12 May 2019 21:59:41 +0800 Subject: [PATCH] - fix sql bug InitPlace --- business/jxstore/initdata/initdata.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/business/jxstore/initdata/initdata.go b/business/jxstore/initdata/initdata.go index 2b21c3b51..f3191df07 100644 --- a/business/jxstore/initdata/initdata.go +++ b/business/jxstore/initdata/initdata.go @@ -75,7 +75,7 @@ func InitPlace(ctx *jxcontext.Context) (err error) { if _, err = dao.ExecuteSQL(db, ` DELETE t1 FROM place t1 - WHERE code > 9000000; + WHERE code < 9000000; `); err != nil { return err }