|
@@ -487,8 +487,9 @@ class Whlabeltransport extends Start_Controller {
|
|
|
if ($this->db->trans_status() === TRUE)
|
|
if ($this->db->trans_status() === TRUE)
|
|
|
{
|
|
{
|
|
|
$this->db->trans_commit();
|
|
$this->db->trans_commit();
|
|
|
|
|
+ usleep(5000);
|
|
|
$num = $this->whlabeltransport->find_count("order_no = '".$data['order_no']."' and cz = 0");
|
|
$num = $this->whlabeltransport->find_count("order_no = '".$data['order_no']."' and cz = 0");
|
|
|
- if($num == 0){
|
|
|
|
|
|
|
+ if(empty($num)){
|
|
|
if(!empty($data['order_no'])){
|
|
if(!empty($data['order_no'])){
|
|
|
$this->zzquque_u9->insert( [
|
|
$this->zzquque_u9->insert( [
|
|
|
'platform'=>'',
|
|
'platform'=>'',
|