|
|
@ -374,7 +374,7 @@ class Api_SquirrelController extends Ctrl_Api{ |
|
|
|
//查询幼鼠信息 |
|
|
|
//查询幼鼠信息 |
|
|
|
$NSdata = $this->NewSquirrelmodel->getOneInfo($id); |
|
|
|
$NSdata = $this->NewSquirrelmodel->getOneInfo($id); |
|
|
|
//判断编号数量和小鼠数量是否相同 |
|
|
|
//判断编号数量和小鼠数量是否相同 |
|
|
|
if($NSdata['count']!=($end-$start)) Tool_Fnc::apiMsg('编号数量小于剪尾鼠', '500'); |
|
|
|
if($NSdata['count']!=($end-$start)+1) Tool_Fnc::apiMsg('编号数量小于剪尾鼠', '500'); |
|
|
|
unset($NSdata['count']); |
|
|
|
unset($NSdata['count']); |
|
|
|
unset($NSdata['id']); |
|
|
|
unset($NSdata['id']); |
|
|
|
unset($NSdata['cage']); |
|
|
|
unset($NSdata['cage']); |
|
|
|