|
|
@@ -25,7 +25,7 @@ class ReportingWork extends Api
|
|
|
* 设置机台状态
|
|
|
* @ApiMethod POST
|
|
|
* @params
|
|
|
- */
|
|
|
+ */
|
|
|
public function setMachineStatus(){
|
|
|
if (Request::instance()->isPost() == false){
|
|
|
$this->error('非法请求');
|
|
|
@@ -103,7 +103,7 @@ class ReportingWork extends Api
|
|
|
* @params string order
|
|
|
* @params string yjno
|
|
|
* @params string gxh
|
|
|
- */
|
|
|
+ */
|
|
|
public function setProcessStatus(){
|
|
|
if (Request::instance()->isPost() == false){
|
|
|
$this->error('非法请求');
|
|
|
@@ -133,7 +133,7 @@ class ReportingWork extends Api
|
|
|
* 根据机台获取生产信息
|
|
|
* @ApiMethod GET
|
|
|
* @params string machine
|
|
|
- */
|
|
|
+ */
|
|
|
public function getProduceInfo(){
|
|
|
if (Request::instance()->isGet() == false) {
|
|
|
$this->error('非法请求');
|
|
|
@@ -160,7 +160,7 @@ class ReportingWork extends Api
|
|
|
* 根据员工编号获取姓名
|
|
|
* @ApiMethod GET
|
|
|
* @params string code
|
|
|
- */
|
|
|
+ */
|
|
|
public function getStaffName(){
|
|
|
if (Request::instance()->isGet() == false) {
|
|
|
$this->error('非法请求');
|
|
|
@@ -201,7 +201,7 @@ class ReportingWork extends Api
|
|
|
* 提交巡查记录
|
|
|
* @ApiMethod POST
|
|
|
* @params
|
|
|
- */
|
|
|
+ */
|
|
|
public function submitPatrolRecord(){
|
|
|
if (Request::instance()->isPost() == false){
|
|
|
$this->error('非法请求');
|
|
|
@@ -253,7 +253,7 @@ class ReportingWork extends Api
|
|
|
* 获取报工单其他信息
|
|
|
* @ApiMethod Get
|
|
|
* @params string machine
|
|
|
- */
|
|
|
+ */
|
|
|
public function getMachineReportInfo(){
|
|
|
if (Request::instance()->isGet() == false) {
|
|
|
$this->error('非法请求');
|
|
|
@@ -332,7 +332,7 @@ class ReportingWork extends Api
|
|
|
* 日产量上报
|
|
|
* @ApiMethod POST
|
|
|
* @params array data
|
|
|
- */
|
|
|
+ */
|
|
|
public function submitDailyProduction(){
|
|
|
if (Request::instance()->isPost() == false){
|
|
|
$this->error('非法请求');
|
|
|
@@ -448,7 +448,7 @@ class ReportingWork extends Api
|
|
|
* 获取机台编号
|
|
|
* @ApiMethod POST
|
|
|
* @params string addr
|
|
|
- */
|
|
|
+ */
|
|
|
public function getMachineMac(){
|
|
|
if (Request::instance()->isGet() == false){
|
|
|
$this->error('非法请求');
|
|
|
@@ -464,7 +464,7 @@ class ReportingWork extends Api
|
|
|
* 6获取拉料人员
|
|
|
* @ApiMethod GET
|
|
|
* @params department
|
|
|
- */
|
|
|
+ */
|
|
|
public function getMaterialStrippingPeople(){
|
|
|
if (Request::instance()->isGet() == false) {
|
|
|
$this->error('非法请求');
|