Forráskód Böngészése

开票填写备注内容保存错误问题调整

徐滕 3 hete
szülő
commit
efab44058d

+ 6 - 6
src/main/java/com/jeeplus/modules/workinvoice/web/WorkInvoiceAllTwoController.java

@@ -409,9 +409,9 @@ public class WorkInvoiceAllTwoController extends BaseController {
 			workInvoice.setNewDrawerName("");
 		}
 
-		if (!beanValidator(model, workInvoice)){
+		/*if (!beanValidator(model, workInvoice)){
 			return form(workInvoice, model);
-		}
+		}*/
 
 		User user = workInvoice.getCreateBy();
 		String invoiceState = workInvoice.getInvoiceState();
@@ -513,9 +513,9 @@ public class WorkInvoiceAllTwoController extends BaseController {
 	 */
 	@RequestMapping(value = "cancellationAudit")
 	public String cancellationAudit(WorkInvoice workInvoice, Model model, RedirectAttributes redirectAttributes) throws Exception{
-		if (!beanValidator(model, workInvoice)){
+		/*if (!beanValidator(model, workInvoice)){
 			return form(workInvoice, model);
-		}
+		}*/
 
 		User user = workInvoice.getCreateBy();
 		User loginUser = UserUtils.getUser();
@@ -643,9 +643,9 @@ public class WorkInvoiceAllTwoController extends BaseController {
 			workInvoice.setNewDrawerName("");
 		}
 
-		if (!beanValidator(model, workInvoice)){
+		/*if (!beanValidator(model, workInvoice)){
 			return form(workInvoice, model);
-		}
+		}*/
 		User user = workInvoice.getCreateBy();
 		String submitter = "";
 		if(user != null){

+ 4 - 4
src/main/java/com/jeeplus/modules/workinvoice/web/WorkInvoiceController.java

@@ -520,9 +520,9 @@ public class WorkInvoiceController extends BaseController {
 	 */
 	@RequestMapping(value = "save")
 	public String save(WorkInvoice workInvoice,String showFlag, Model model, RedirectAttributes redirectAttributes) throws Exception{
-		if (!beanValidator(model, workInvoice)){
+		/*if (!beanValidator(model, workInvoice)){
 			return form(workInvoice, model);
-		}
+		}*/
 
 		User user = workInvoice.getCreateBy();
 		String invoiceState = workInvoice.getInvoiceState();
@@ -824,9 +824,9 @@ public class WorkInvoiceController extends BaseController {
 	 */
 	@RequestMapping(value = "store")
 	public String store(WorkInvoice workInvoice,String showFlag, Model model, RedirectAttributes redirectAttributes) throws Exception{
-		if (!beanValidator(model, workInvoice)){
+		/*if (!beanValidator(model, workInvoice)){
 			return form(workInvoice, model);
-		}
+		}*/
 		User user = workInvoice.getCreateBy();
 		String submitter = "";
 		if(user != null){

+ 4 - 4
src/main/java/com/jeeplus/modules/workinvoice/web/WorkInvoiceTwoController.java

@@ -464,9 +464,9 @@ public class WorkInvoiceTwoController extends BaseController {
 
 
 
-		if (!beanValidator(model, workInvoice)){
+		/*if (!beanValidator(model, workInvoice)){
 			return form(workInvoice, model);
-		}
+		}*/
 
 		User user = workInvoice.getCreateBy();
 		String invoiceState = workInvoice.getInvoiceState();
@@ -799,9 +799,9 @@ public class WorkInvoiceTwoController extends BaseController {
 			workInvoice.setNewDrawerId("");
 			workInvoice.setNewDrawerName("");
 		}
-		if (!beanValidator(model, workInvoice)){
+		/*if (!beanValidator(model, workInvoice)){
 			return form(workInvoice, model);
-		}
+		}*/
 		User user = workInvoice.getCreateBy();
 		String submitter = "";
 		if(user != null){