func GenID() {
type bondChaincode struct {
YYMM string
Count int
}
yymm := time.Now().Format("0602")
bondCC := bondChaincode{}
bondCC.YYMM = yymm
bondCC.Count = bondCC.Count + 1
iStr := strconv.Itoa(bondCC.Count)
for len(iStr) < 6 {
iStr = "0" + iStr
}
// format YYMMxxxxxx
fmt.Println(yymm + iStr)
}