예제 #1
0
 public static void CopyUuTienInfo(ref A01_Info_Export p_appDetail, UTienInfo pAppInfo)
 {
     if (pAppInfo != null)
     {
         p_appDetail.UT_SoDon           = pAppInfo.UT_SoDon;
         p_appDetail.UT_NgayNopDon      = pAppInfo.UT_NgayNopDon;
         p_appDetail.UT_QuocGia_Display = pAppInfo.UT_QuocGia_Display;
         p_appDetail.UT_Type            = pAppInfo.UT_Type;
         p_appDetail.UT_ThoaThuanKhac   = pAppInfo.UT_ThoaThuanKhac;
     }
     else
     {
         p_appDetail.UT_SoDon           = "";
         p_appDetail.UT_NgayNopDon      = DateTime.MinValue;
         p_appDetail.UT_QuocGia_Display = "";
         p_appDetail.UT_Type            = "";
         p_appDetail.UT_ThoaThuanKhac   = "";
     }
 }
예제 #2
0
 public static void CopyUuTienInfo(ref Pattent_Lao_Info_Export p_appDetail, UTienInfo pAppInfo, int p_position)
 {
     if (pAppInfo != null)
     {
         if (p_position == 0)
         {
             p_appDetail.UT_SoDon           = pAppInfo.UT_SoDon;
             p_appDetail.UT_NgayNopDon      = pAppInfo.UT_NgayNopDon;
             p_appDetail.UT_QuocGia_Display = pAppInfo.UT_QuocGia_Display;
         }
         else if (p_position == 1)
         {
             p_appDetail.UT_SoDon_1           = pAppInfo.UT_SoDon;
             p_appDetail.UT_NgayNopDon_1      = pAppInfo.UT_NgayNopDon;
             p_appDetail.UT_QuocGia_Display_1 = pAppInfo.UT_QuocGia_Display;
         }
         else if (p_position == 2)
         {
             p_appDetail.UT_SoDon_2           = pAppInfo.UT_SoDon;
             p_appDetail.UT_NgayNopDon_2      = pAppInfo.UT_NgayNopDon;
             p_appDetail.UT_QuocGia_Display_2 = pAppInfo.UT_QuocGia_Display;
         }
         else if (p_position == 3)
         {
             p_appDetail.UT_SoDon_3           = pAppInfo.UT_SoDon;
             p_appDetail.UT_NgayNopDon_3      = pAppInfo.UT_NgayNopDon;
             p_appDetail.UT_QuocGia_Display_3 = pAppInfo.UT_QuocGia_Display;
         }
         else if (p_position == 4)
         {
             p_appDetail.UT_SoDon_4           = pAppInfo.UT_SoDon;
             p_appDetail.UT_NgayNopDon_4      = pAppInfo.UT_NgayNopDon;
             p_appDetail.UT_QuocGia_Display_4 = pAppInfo.UT_QuocGia_Display;
         }
     }
 }