Compare commits
	
		
			No commits in common. "3522e50b94036a764a95a3a94c2ea6545ad0f839" and "c0aade8e9dbeaf1b8b3be1b350a97cd2f2b7b9d2" have entirely different histories.
		
	
	
		
			3522e50b94
			...
			c0aade8e9d
		
	
		
| 
						 | 
					@ -23,10 +23,10 @@ namespace HRM.DA
 | 
				
			||||||
        internal static void Insert(TransactionContext tc, ProductionBonusSetup item)
 | 
					        internal static void Insert(TransactionContext tc, ProductionBonusSetup item)
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
            string sql = SQLParser.MakeSQL(
 | 
					            string sql = SQLParser.MakeSQL(
 | 
				
			||||||
                "INSERT INTO ProductionBonusSetup(ProductionBonusSetupID, ProgramName, AchivedPercent, OTHour, SalaryMonth, DesignNo, FromDate, ToDate, MaxPerson, CreatedBy, CreationDate, Status,ProductionBonusType)" +
 | 
					                "INSERT INTO ProductionBonusSetup(ProductionBonusSetupID, ProgramName, AchivedPercent, OTHour, SalaryMonth, DesignNo, FromDate, ToDate, MaxPerson, CreatedBy, CreationDate, Status)" +
 | 
				
			||||||
                " VALUES(%n, %s, %n, %n, %d, %s, %d, %d, %n, %n, %d, %n,%n)", item.ID, item.ProgramName, item.AchivedPercent, item.OTHour,
 | 
					                " VALUES(%n, %s, %n, %n, %d, %s, %d, %d, %n, %n, %d, %n)", item.ID, item.ProgramName, item.AchivedPercent, item.OTHour,
 | 
				
			||||||
                item.SalaryMonth, item.DesignNo, item.FromDate, item.ToDate, item.MaxPerson, item.CreatedBy, item.CreatedDate,
 | 
					                item.SalaryMonth, item.DesignNo, item.FromDate, item.ToDate, item.MaxPerson, item.CreatedBy, item.CreatedDate,
 | 
				
			||||||
                item.Status, (int)item.ProductionBonusType);
 | 
					                item.Status);
 | 
				
			||||||
            tc.ExecuteNonQuery(sql);
 | 
					            tc.ExecuteNonQuery(sql);
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -37,9 +37,9 @@ namespace HRM.DA
 | 
				
			||||||
        internal static void Update(TransactionContext tc, ProductionBonusSetup item)
 | 
					        internal static void Update(TransactionContext tc, ProductionBonusSetup item)
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
            tc.ExecuteNonQuery(
 | 
					            tc.ExecuteNonQuery(
 | 
				
			||||||
                "UPDATE ProductionBonusSetup SET ProgramName=%s, AchivedPercent=%n, OTHour=%n, SalaryMonth=%d, DesignNo=%s, FromDate=%d, ToDate=%d, MaxPerson=%n, Status=%n,ProductionBonusType=%n " +
 | 
					                "UPDATE ProductionBonusSetup SET ProgramName=%s, AchivedPercent=%n, OTHour=%n, SalaryMonth=%d, DesignNo=%s, FromDate=%d, ToDate=%d, MaxPerson=%n, Status=%n " +
 | 
				
			||||||
                " WHERE ProductionBonusSetupID=%n", item.ProgramName, item.AchivedPercent, item.OTHour, item.SalaryMonth, item.DesignNo,
 | 
					                " WHERE ProductionBonusSetupID=%n", item.ProgramName, item.AchivedPercent, item.OTHour, item.SalaryMonth, item.DesignNo,
 | 
				
			||||||
                item.FromDate, item.ToDate, item.MaxPerson, item.Status,(int)item.ProductionBonusType, item.ID);
 | 
					                item.FromDate, item.ToDate, item.MaxPerson, item.Status, item.ID);
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        #endregion
 | 
					        #endregion
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -13,7 +13,7 @@ export class ApiService {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    public isSSO = false;
 | 
					    public isSSO = false;
 | 
				
			||||||
    public versionDeployement = false;
 | 
					    public versionDeployement = false;
 | 
				
			||||||
    public versionNumber = `V-${GlobalfunctionExtension.generateVersionNumber(new Date(2024, 10, 3))}-`+"01";
 | 
					    public versionNumber = `V-${GlobalfunctionExtension.generateVersionNumber(new Date(2024, 9, 31))}-`+"01";
 | 
				
			||||||
    public static BASE_URL = '';
 | 
					    public static BASE_URL = '';
 | 
				
			||||||
    public base_url = '';
 | 
					    public base_url = '';
 | 
				
			||||||
    // public currentLink = '';
 | 
					    // public currentLink = '';
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user