public bool Add(ayjz_xxtsInfo info, List<string> users) { TranAction t = new TranAction(); List<ayjz_xxtsInfo> list = new List<ayjz_xxtsInfo>(); foreach (string o in users) { ayjz_xxtsInfo a = new ayjz_xxtsInfo(); a.FSR = info.FSR; a.FSSJ = info.FSSJ; a.FSNR = info.FSNR; a.JSR = o; t.Add(a); } return t.Excute() > 0; }
public bool Add(ayjz_xxtsInfo info, List <string> users) { TranAction t = new TranAction(); List <ayjz_xxtsInfo> list = new List <ayjz_xxtsInfo>(); foreach (string o in users) { ayjz_xxtsInfo a = new ayjz_xxtsInfo(); a.FSR = info.FSR; a.FSSJ = info.FSSJ; a.FSNR = info.FSNR; a.JSR = o; t.Add(a); } return(t.Excute() > 0); }