|
@@ -232,7 +232,7 @@ public class MobileController extends Controller{
|
|
|
Record jinzai_upload_child = Db.findFirst("select * from jinzai_upload_child where child_code = ?",code.toLowerCase());
|
|
Record jinzai_upload_child = Db.findFirst("select * from jinzai_upload_child where child_code = ?",code.toLowerCase());
|
|
|
if(jinzai_upload_child==null){
|
|
if(jinzai_upload_child==null){
|
|
|
//可能是大小写问题 再查询遍
|
|
//可能是大小写问题 再查询遍
|
|
|
- jinzai_upload_child = Db.findFirst("select * from jinzai_upload_child where lower(child_code) = ?",code);
|
|
|
|
|
|
|
+ jinzai_upload_child = Db.findFirst("select * from jinzai_upload_child where child_code = ?",code);
|
|
|
if(jinzai_upload_child==null)
|
|
if(jinzai_upload_child==null)
|
|
|
jinzai_upload_child = Db.findFirst("select * from jinzai_upload_child where lower(child_code) = ?",code.toLowerCase());
|
|
jinzai_upload_child = Db.findFirst("select * from jinzai_upload_child where lower(child_code) = ?",code.toLowerCase());
|
|
|
}
|
|
}
|