diff --git a/database/wms20230124 -ok.sql b/database/wms20230124 -ok.sql index 71c28bb7..e4ce8c67 100644 --- a/database/wms20230124 -ok.sql +++ b/database/wms20230124 -ok.sql @@ -7745,6 +7745,7 @@ SET @saved_cs_client = @@character_set_client; 1 AS `create_date`, 1 AS `ku_wei_bian_ma`, 1 AS `order_id`, + 1 AS `im_cus_code`, 1 AS `goods_id`, 1 AS `goods_name`, 1 AS `goods_qua`, @@ -8985,12 +8986,12 @@ UNLOCK TABLES; /*!50001 SET @saved_cs_client = @@character_set_client */; /*!50001 SET @saved_cs_results = @@character_set_results */; /*!50001 SET @saved_col_connection = @@collation_connection */; -/*!50001 SET character_set_client = utf8 */; -/*!50001 SET character_set_results = utf8 */; -/*!50001 SET collation_connection = utf8_general_ci */; +/*!50001 SET character_set_client = utf8mb4 */; +/*!50001 SET character_set_results = utf8mb4 */; +/*!50001 SET collation_connection = utf8mb4_general_ci */; /*!50001 CREATE ALGORITHM=UNDEFINED */ /*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */ -/*!50001 VIEW `wv_gi` AS select `wd`.`id` AS `id`,`wd`.`create_date` AS `create_date`,`wd`.`ku_wei_bian_ma` AS `ku_wei_bian_ma`,`wd`.`order_id` AS `order_id`,`wd`.`goods_id` AS `goods_id`,`mg`.`goods_name` AS `goods_name`,`wd`.`base_goodscount` AS `goods_qua`,`mg`.`baseunit` AS `shl_dan_wei`,`mg`.`zhx_unit` AS `zhx_unit`,`mg`.`chl_shl` AS `chl_shl`,`wd`.`cus_code` AS `cus_code`,`mc`.`cus_name` AS `cus_name`,`wd`.`goods_pro_data` AS `goods_pro_data`,`wd`.`down_sta` AS `down_sta` from ((`wm_to_down_goods` `wd` join `mv_goods` `mg`) join `mv_cus` `mc`) where ((`wd`.`cus_code` = `mc`.`cus_code`) and (`wd`.`goods_id` = `mg`.`goods_code`)) */; +/*!50001 VIEW `wv_gi` AS select `wd`.`id` AS `id`,`wd`.`create_date` AS `create_date`,`wd`.`ku_wei_bian_ma` AS `ku_wei_bian_ma`,`wd`.`order_id` AS `order_id`,`wd`.`im_cus_code` AS `im_cus_code`,`wd`.`goods_id` AS `goods_id`,`mg`.`goods_name` AS `goods_name`,`wd`.`base_goodscount` AS `goods_qua`,`mg`.`baseunit` AS `shl_dan_wei`,`mg`.`zhx_unit` AS `zhx_unit`,`mg`.`chl_shl` AS `chl_shl`,`wd`.`cus_code` AS `cus_code`,`mc`.`cus_name` AS `cus_name`,`wd`.`goods_pro_data` AS `goods_pro_data`,`wd`.`down_sta` AS `down_sta` from ((`wm_to_down_goods` `wd` join `mv_goods` `mg`) join `mv_cus` `mc`) where ((`wd`.`cus_code` = `mc`.`cus_code`) and (`wd`.`goods_id` = `mg`.`goods_code`)) */; /*!50001 SET character_set_client = @saved_cs_client */; /*!50001 SET character_set_results = @saved_cs_results */; /*!50001 SET collation_connection = @saved_col_connection */; @@ -9382,4 +9383,4 @@ UNLOCK TABLES; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; --- Dump completed on 2023-01-24 22:38:04 +-- Dump completed on 2023-01-25 11:42:04