|
@@ -743,7 +743,7 @@ class WigsOutCtrl{
|
|
|
}
|
|
|
|
|
|
public function printAll(){
|
|
|
- $sql = 'SELECT `order_barcode`,`goods_info`,`transport`,`print_time` FROM `app_wigsout` WHERE `order_status`=2 AND `print_times`=0 ORDER BY `in_time`;';
|
|
|
+ $sql = 'SELECT `order_barcode`,`goods_info`,`transport`,`print_time` FROM `app_wigsout` WHERE `order_status`=2 AND `print_times`=1 ORDER BY `in_time` DESC limit 10;';
|
|
|
$query = $this->db->querySql($sql);
|
|
|
$rs = $this->db->queryRsAll($query);
|
|
|
if(empty($rs)){
|