Exemple #1
0
        public void AddRtCost()
        {
            ISalaryService salaryService = new SalaryServiceClient();
            RdCostInfo     rdCostInfo    = new RdCostInfo()
            {
                EmployeeId = "H000001",
                DateB      = new DateTime(2020, 09, 11),
                DateE      = new DateTime(2020, 09, 11),
                UseRatio   = 0.5M,
                RdNobrType = "001",
                RdCode     = "RD02",
                Note       = "",
                Key_Date   = DateTime.Now,
                Key_Man    = "qwe"
            };
            var    Introduction = salaryService.AddRdCost(rdCostInfo);
            string json         = JsonConvert.SerializeObject(Introduction);

            Console.WriteLine(json.ToString());
        }