Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- func Print() {
- type _local struct {
- Storehouses []string // Имена складов
- DateAfter string //ДАТА ОТ (включительно)
- DateBefore string //ДАТА ДО (включительно)
- }
- var test = _local{
- Storehouses: []string{"GlavSklad"},
- DateAfter: "2019-09-01",
- DateBefore: "2019-09-20",
- }
- result, err := module_connect.RequestNewRawValues(
- "192.168.0.131:50040",
- structExchange.WMessage{
- Query: "SelectJSON",
- Tables: []structExchange.WTable{
- {
- Name: "CompositionPrint",
- TypeParameter: "ForPrint",
- Values: []interface{}{test},
- },
- },
- },
- )
- if err != nil {
- panic(err)
- }
- fmt.Println(string(result.Tables[0].Values))
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement