| | |
| | | public IRepository<Dt_MaterielInfo> Repository => BaseDal; |
| | | |
| | | |
| | | static string SearchDate = "2025-11-01 00:00:00"; |
| | | static string SearchDate = "2016-11-01 00:00:00"; |
| | | |
| | | /// <summary> |
| | | /// è·åè¯ååºç¡ä¿¡æ¯åæ¥æ¥å£ |
| | |
| | | try |
| | | { |
| | | |
| | | var url = "http://121.37.118.63:80/GYZ2/95fck/goodsInfo"; |
| | | var url = "http://192.168.1.100:80/GYZ2/95fck/goodsInfo"; |
| | | if (string.IsNullOrEmpty(SearchDate)) |
| | | { |
| | | // é»è®¤æ¥è¯¢è¿å»24å°æ¶çæ°æ® |
| | |
| | | |
| | | // ååºåå |
| | | var response = JsonConvert.DeserializeObject<UpstreamResponse<MedicationsInfo>>(result); |
| | | |
| | | if (response == null || response.resultCode != "0") |
| | | if (response == null || response.resultCode != "0"||response.data==null) |
| | | { |
| | | // è°ç¨å¼å¸¸æ¥å£ |
| | | //SendErrorToUpstream(5, "", response.resultMsg ?? "䏿¸¸æ¥å£è¿å失败", ""); |
| | |
| | | MaterielErpType = Medicat.goods_type, |
| | | item = Medicat.goods_tym, //éç¨å |
| | | MaterielName = Medicat.goods_spm,//ç©æåç§° |
| | | Dosage_form = GetDosageForm(Medicat.dosage_form),//è¯å |
| | | Dosage_form = Medicat.dosage_form,//è¯å |
| | | Barcode = Medicat.barcode,//æ¡å½¢å |
| | | MaterielSpec = Medicat.model, |
| | | Factory = Medicat.factory, |