0
cordova-plugin-ionic-webview를 설치해야하는 AWS Cognito를 사용할 때 필자의 마이너스 이온 응용 프로그램에서 성능 문제를 해결하려고했습니다. 그러나이 플러그인을 설치 한 후에는 SELECT 문이 더 이상 작동하지 않으며 레코드를 반환하지 않습니다. 정수의cordova-plugin-ionic-webview를 설치 한 후 SELECT 문이 더 이상 작동하지 않습니다.
dbAccess.SelectGoodsReceiptDetail = function SelectGoodsReceiptDetail(goodsreceipt) {
var resultData = {};
// Select Multiple Items
return $q(function(resolve, reject) {db.executeSql("SELECT * FROM goodsreceiptdetailview WHERE goodsReceiptKey LIKE ?", [ goodsreceipt.header.goodsReceiptKey] , function(rs) {
resultData.data = [{}];
if (rs.rows.length > 0) {
if (rs.rows.item) {
for (i=0;i<rs.rows.length; i++) {
resultData.data[i] = rs.rows.item(i);
}
resultData.exist = true;
}
} else {
// no item found
resultData.exist = false;
}
resolve(resultData);
}, function(error) {
resultData.data = [{}];
resultData.exist = false;
resultData.failed = true;
resolve(resultData);
})
});
}
변수 goodsreceipt.header.goodsReceiptKey : 여기에 문입니다. UIWebView here에서 INT로 처리되는 동안 WKWebView를 사용할 때 정수가 실제 값으로 취급된다는 cordova sqlite 플러그인의 릴리스 노트를 읽었습니다. 이것이 문제의 원인 일 수 있습니까? 이 문제를 WKWebView로 어떻게 해결할 수 있습니까?