|
|
@@ -103,7 +103,7 @@ func (this *SampleTest_vController) TestDetails() {
|
|
|
svc := sampletest.GetSampleTestService(utils.DBE)
|
|
|
var entity samplesprotocol.SamplesProtocol
|
|
|
svc.GetEntityByWhere("srNA2"+SamplesProtocolName, where, &entity)
|
|
|
- where_test := "a.SourceIdCard =" + entity.IDCard
|
|
|
+ where_test := "a.SourceIdCard = '" + entity.IDCard + "'"
|
|
|
var list []sampletest.Testdetailmodel
|
|
|
list = svc.GetSamplestestDetail(where_test)
|
|
|
var datainfo DataInfo
|