|
|
@@ -101,7 +101,7 @@ public class MobileController extends Controller{
|
|
|
boolean cuan = true;
|
|
|
boolean isThird = false;
|
|
|
boolean isOther = true;
|
|
|
- if(code.length() == 20){//可能是箱码
|
|
|
+ if(code.length() == 20 || code.length() == 24){//可能是箱码
|
|
|
if(code.startsWith("jz") || code.startsWith("JZ")){//小码
|
|
|
Record jinzai_upload_child = Db.findFirst("select * from jinzai_upload_child where child_code = ?",code.toLowerCase());
|
|
|
if(jinzai_upload_child != null){
|
|
|
@@ -438,7 +438,7 @@ public class MobileController extends Controller{
|
|
|
//可能是大小写问题 再查询遍
|
|
|
jinzai_upload_child = Db.findFirst("select * from jinzai_upload_child where child_code = ?",code);
|
|
|
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 child_code = ?",code.toUpperCase());
|
|
|
}
|
|
|
if(jinzai_upload_child!=null){
|
|
|
String master_code = jinzai_upload_child.getStr("master_code");
|