Merge remote-tracking branch 'origin/master'

master
erzhongxmu 2020-10-06 20:54:15 +08:00
commit e0e78f98ab
1 changed files with 1 additions and 1 deletions

View File

@ -10425,7 +10425,7 @@ DELIMITER ;
/*!50001 SET collation_connection = utf8_general_ci */; /*!50001 SET collation_connection = utf8_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */ /*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */ /*!50013 DEFINER=`root`@`localhost` SQL SECURITY DEFINER */
/*!50001 VIEW `wv_notice` AS select `i`.`id` AS `id`,`h`.`notice_id` AS `notice_id`,`h`.`cus_code` AS `cus_code`,`mc`.`zhong_wen_qch` AS `zhong_wen_qch`,`h`.`im_sta` AS `im_sta`,`i`.`goods_code` AS `goods_code`,`mg`.`goods_name` AS `shp_ming_cheng`,`mg`.`shp_tiao_ma` AS `shp_tiao_ma`,`mg`.`cf_wen_ceng` AS `cf_wen_ceng`,`mg`.`mp_dan_ceng` AS `mp_dan_ceng`,`mg`.`mp_ceng_gao` AS `mp_ceng_gao`,`mg`.`ti_ji_cm` AS `ti_ji_cm`,`i`.`goods_count` AS `goods_count`,ifnull(`i`.`goods_qm_count`,0) AS `goods_qm_count`,(`i`.`goods_count` - ifnull(`i`.`goods_qm_count`,0)) AS `gr_count`,`mg`.`shl_dan_wei` AS `shl_dan_wei`,`i`.`goods_fvol` AS `goods_fvol`,`i`.`goods_weight` AS `goods_weight`,(curdate() - interval (`mg`.`bzhi_qi` - `mg`.`zhl_kgm`) day) AS `lastgrdate`,(select `wm_in_qm_i`.`pro_data` from `wm_in_qm_i` where ((`wm_in_qm_i`.`goods_id` = `i`.`goods_code`) and (`wm_in_qm_i`.`im_notice_id` <> `i`.`im_notice_id`)) order by `wm_in_qm_i`.`create_date` desc limit 1) AS `preprodate`,(select `wm_in_qm_i`.`rec_deg` from `wm_in_qm_i` where (`wm_in_qm_i`.`im_notice_id` = `i`.`im_notice_id`) order by `wm_in_qm_i`.`create_date` desc limit 1) AS `rec_deg` from (((`wm_im_notice_h` `h` join `wm_im_notice_i` `i`) join `md_cus` `mc`) join `mv_goods` `mg`) where ((`h`.`notice_id` = `i`.`im_notice_id`) and (`h`.`cus_code` = `mc`.`ke_hu_bian_ma`) and (`i`.`bin_pre` = 'N') and (`i`.`goods_code` = `mg`.`goods_code`) and (`h`.`order_type_code` <> '04')) order by `h`.`notice_id` desc */; /*!50001 VIEW `wv_notice` AS select `i`.`id` AS `id`,`h`.`notice_id` AS `notice_id`,`h`.`cus_code` AS `cus_code`,`h`.`im_cus_code` AS `im_cus_code`,`mc`.`zhong_wen_qch` AS `zhong_wen_qch`,`h`.`im_sta` AS `im_sta`,`i`.`goods_code` AS `goods_code`,`mg`.`goods_name` AS `shp_ming_cheng`,`mg`.`shp_tiao_ma` AS `shp_tiao_ma`,`mg`.`cf_wen_ceng` AS `cf_wen_ceng`,`mg`.`mp_dan_ceng` AS `mp_dan_ceng`,`mg`.`mp_ceng_gao` AS `mp_ceng_gao`,`mg`.`ti_ji_cm` AS `ti_ji_cm`,`i`.`goods_count` AS `goods_count`,ifnull(`i`.`goods_qm_count`,0) AS `goods_qm_count`,(`i`.`goods_count` - ifnull(`i`.`goods_qm_count`,0)) AS `gr_count`,`mg`.`shl_dan_wei` AS `shl_dan_wei`,`i`.`goods_fvol` AS `goods_fvol`,`i`.`goods_weight` AS `goods_weight`,(curdate() - interval (`mg`.`bzhi_qi` - `mg`.`zhl_kgm`) day) AS `lastgrdate`,(select `wm_in_qm_i`.`pro_data` from `wm_in_qm_i` where ((`wm_in_qm_i`.`goods_id` = `i`.`goods_code`) and (`wm_in_qm_i`.`im_notice_id` <> `i`.`im_notice_id`)) order by `wm_in_qm_i`.`create_date` desc limit 1) AS `preprodate`,(select `wm_in_qm_i`.`rec_deg` from `wm_in_qm_i` where (`wm_in_qm_i`.`im_notice_id` = `i`.`im_notice_id`) order by `wm_in_qm_i`.`create_date` desc limit 1) AS `rec_deg` from (((`wm_im_notice_h` `h` join `wm_im_notice_i` `i`) join `md_cus` `mc`) join `mv_goods` `mg`) where ((`h`.`notice_id` = `i`.`im_notice_id`) and (`h`.`cus_code` = `mc`.`ke_hu_bian_ma`) and (`i`.`bin_pre` = 'N') and (`i`.`goods_code` = `mg`.`goods_code`) and (`h`.`order_type_code` <> '04')) order by `h`.`notice_id` desc */;
/*!50001 SET character_set_client = @saved_cs_client */; /*!50001 SET character_set_client = @saved_cs_client */;
/*!50001 SET character_set_results = @saved_cs_results */; /*!50001 SET character_set_results = @saved_cs_results */;
/*!50001 SET collation_connection = @saved_col_connection */; /*!50001 SET collation_connection = @saved_col_connection */;