|
@@ -10,12 +10,9 @@ import com.usky.iot.service.vo.CrmCustomInfoExportVO;
|
|
|
import com.usky.iot.service.vo.CrmInvoiceInfoExportVO;
|
|
|
import com.usky.iot.service.vo.CrmInvoiceInfoRequest;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
-import org.springframework.web.bind.annotation.PostMapping;
|
|
|
-import org.springframework.web.bind.annotation.RequestBody;
|
|
|
-import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
+import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
import org.springframework.stereotype.Controller;
|
|
|
-import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
import javax.servlet.http.HttpServletResponse;
|
|
|
import java.io.IOException;
|
|
@@ -47,6 +44,17 @@ public class CrmInvoiceInfoController {
|
|
|
return ApiResult.success();
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 开票状态变更
|
|
|
+ * @param invoiceInfo
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ @PutMapping
|
|
|
+ public ApiResult<Void> update(@RequestBody CrmInvoiceInfo invoiceInfo){
|
|
|
+ crmInvoiceInfoService.update(invoiceInfo);
|
|
|
+ return ApiResult.success();
|
|
|
+ }
|
|
|
+
|
|
|
/**
|
|
|
* 分页
|
|
|
* @param crmInvoiceInfoRequest
|