update description of query result

This commit is contained in:
r0n1n7an 2024-08-12 17:47:55 +08:00
parent d60e82b5f7
commit 866c0e3835
3 changed files with 5 additions and 5 deletions

Binary file not shown.

View File

@ -527,5 +527,5 @@ func runCommand(cmdStr string, argStr []string, requestID string) string {
} }
func showVersion() { func showVersion() {
fmt.Printf("%s\r\nVersion: %s\r\n", os.Args[0], ver) fmt.Printf("%s, Version: %s\r\n", os.Args[0], ver)
} }

View File

@ -694,7 +694,7 @@ func (e *EWS) GetUutInfo(cfg cnf.Cfg, logger *log.Logger, host string, addr stri
misc := "" misc := ""
misc = fmt.Sprintf("<tr><td>%s</td><td>%s</td><td>%s</td><td>%s</td><td>%s</td><td>%s</td></tr>", misc = fmt.Sprintf("<tr><td>%s</td><td>%s</td><td>%s</td><td>%s</td><td>%s</td><td>%s</td></tr>",
model, partNO, mfgMO, mfgSKU, fstAck, lstAck) model, partNO, mfgSKU, mfgMO, fstAck, lstAck)
rst["RESULT"] = "OK" rst["RESULT"] = "OK"
rst["ErrMsg"] = e.TemplateUutInfo(loc, locTime, misc, last, bkup) rst["ErrMsg"] = e.TemplateUutInfo(loc, locTime, misc, last, bkup)
@ -912,14 +912,14 @@ func (e *EWS) TemplateUutInfo(loc, locTime, misc, last, bkup string) string {
</table> </table>
<br/> <br/>
<span style="font-weight: bold; font-size: 16px;">Misc. Info</span> <span style="font-weight: bold; font-size: 16px;">Basic Info</span>
<br/> <br/>
<table> <table>
<tr> <tr>
<th>Model</th> <th>Model</th>
<th>Part NO.</th> <th>Part NO.</th>
<th>MO</th>
<th>SKU</th> <th>SKU</th>
<th>MO</th>
<th>First Ack</th> <th>First Ack</th>
<th>Last Ack</th> <th>Last Ack</th>
</tr> </tr>
@ -927,7 +927,7 @@ func (e *EWS) TemplateUutInfo(loc, locTime, misc, last, bkup string) string {
</table> </table>
<br/> <br/>
<span style="font-weight: bold; font-size: 16px;">测试记录</span> <span style="font-weight: bold; font-size: 16px;">Test Records</span>
<br/> <br/>
<table> <table>
<tr> <tr>