---
# System prepended metadata

title: Introduction

---

<script>
<!-- 導入Bootstrap CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css">

<!-- 導入Bootstrap JavaScript -->
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js">
</script>

<!-- 使用Bootstrap容器 -->
<div class="container">
  <!-- 使用Bootstrap行 -->
  <div class="row">
    <!-- 使用Bootstrap列 -->
    <div class="col-md-6">
      <h1>Introduction</h1>
        <p>主分枝  
            <span class="badge badge-success">master</span> 
        </p>
        <p>開發分支 
          <span class="badge badge-secondary">5642_new  
            </span>   
            <small>可自己另外新建分枝、分支結束後請刪除。</small>
        </p>
    </div>
  </div>
  <div class="row">
    <!-- 使用Bootstrap列 -->
    <div class="col-md-12">
      <h1>Getting Started</h1>
        <p>  
            1.設定IIS 位置 ：
            <div class="alert alert-info" role="alert">
                <strong>
                    C:\Users\Documents\IISExpress\config\applicationhost.config
                </strong> 
                <a href="https://wistron.sharepoint.com/:u:/r/teams/ML8CIMDev/Shared%20Documents/ML8%20Projects/Logistics%20Team%20Projects/Y2023/LE%20Project%235642%20%5BLERC%5D%20WCD%26WVN%20%E8%AB%8B%E6%AC%BE%E5%8A%9F%E8%83%BD/Common/applicationhost.config?csf=1&web=1&e=fjqrW5">相關設定可以參考 </a> 
            </div>          
        </p>
        <p>
            2.Download 開發程式
            <a href="https://wistron.sharepoint.com/:u:/r/teams/ML8CIMDev/Shared%20Documents/ML8%20Projects/Logistics%20Team%20Projects/Y2023/LE%20Project%235642%20%5BLERC%5D%20WCD%26WVN%20%E8%AB%8B%E6%AC%BE%E5%8A%9F%E8%83%BD/Common/APOLLO.zip?csf=1&web=1&e=mQqjNf">點我下載 </a>
            <i>無法直接重Git拉取，因為有些config檔案無法放在專案上。</i>
        </p>
        <p>
            3. LE 資料夾中刪除後從新從 GitLab 上獲取 ，獲取後分枝都切換至目前開發者使用的分枝
             <span class="badge badge-success">businessentities</span> 
              <span class="badge badge-success">CoreServices</span> 
               <span class="badge badge-success">webclients</span> 
        <p>
        <p> 
            4. 建置專案，順序  businessentities > CoreServices > webclients
        </p>
    </div>
  </div>  
  <div class="row">
    <!-- 使用Bootstrap列 -->
    <div class="col-md-12">
      <h1>Branch Commit Description</h1>
        <p>  
            新增專案: <span class="badge badge-success">分枝名稱--site--add APPID </span> 
            <div class="alert alert-info" role="alert">
                <strong>
                    ex: 5642--wcd--add LERRECON005
                </strong> 
            </div> 
        </p>
        <p>  
            修改專案(bug修正): <span class="badge badge-success">分枝名稱--site--fix APPID </span> 
            <div class="alert alert-info" role="alert">
                <strong>
                    ex: 5642--wcd--fix LERRECON005
                </strong> 
            </div> 
        </p>
        <p>  
            更新專案(新增功能): <span class="badge badge-success">分枝名稱--site--update APPID </span> 
            <div class="alert alert-info" role="alert">
                <strong>
                    ex: 5642--wcd--update LERRECON005
                </strong> 
            </div> 
        </p>
    </div>
  </div>
  <div class="row">
    <!-- 使用Bootstrap列 -->
    <div class="col-md-12">
      <h1>Coding Style</h1>
        <p>  
            LE是所有site共用，如果要改已存在的方法，需要加判断，针对需要修改的site，进入你的方法，其余的还是按照以前的逻辑走；
            <div class="alert alert-info" role="alert">
                <strong>
                    ex : 以下 LEservice 其中的內容；若要指定 WCD 請再 Web 中新增
                </strong> 
            </div> 
        </p>
    </div>
  </div>

```C#=2171
public static void UpdateRCPaymentData(Criteria criteria)
{
    if (criteria.ContainsKey("Site-WCD"))
    {
        LERCWCDDao.UpdateRCPaymentData(criteria);
    }
    else if (criteria.ContainsKey("Site-WVN"))
    {
        LERCWVNDao.UpdateRCPaymentData(criteria);
    }
    else
    {
        RCPaymentDataDao.UpdateRCPaymentData(criteria);
    }
}
```

  <div class="row">
    <!-- 使用Bootstrap列 -->
    <div class="col-md-12">
      <h1>Packaging the Program</h1>
        <p>  
            .
        </p>
    </div>
  </div>
      <div class="row">
    <!-- 使用Bootstrap列 -->
    <div class="col-md-12">
      <h1>Note.</h1>
        <p>  
            .
        </p>
    </div>
  </div>
</div>
