- fix sql bug InitPlace
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user