Ejemplo n.º 1
0
 public int EditWageTempModel(WGJG02Model model)
 {
     if (null == model)
     {
         return(0);
     }
     HCQ2_Model.WGJG02_Template wg2 = new WGJG02_Template()
     {
         WGJG0204 = model.WGJG0204,
         WGJG0205 = model.WGJG0205,
         WGJG0206 = model.WGJG0206,
         WGJG0207 = model.WGJG0207,
         WGJG0208 = model.WGJG0208
     };
     return(Modify(wg2, s => s.A0177 == model.A0177, "WGJG0204", "WGJG0205", "WGJG0206", "WGJG0207", "WGJG0208"));
 }
Ejemplo n.º 2
0
        public int EditWageTempModelBySingle(WGJG02Model model, string columnName)
        {
            if (null == model || string.IsNullOrEmpty(columnName))
            {
                return(0);
            }
            WGJG02_Template wg2 = new WGJG02_Template()
            {
                WGJG0204 = model.WGJG0204,
                WGJG0205 = model.WGJG0205,
                WGJG0206 = model.WGJG0206,
                WGJG0207 = model.WGJG0207,
                WGJG0208 = model.WGJG0208
            };

            return(Modify(wg2, s => s.A0177 == model.A0177 && s.RowID == model.RowID, columnName));
        }