Browse Source

科德系统修改公司管理开发

anderx 3 years ago
parent
commit
aa78e28565

+ 1 - 1
src/main/java/com/goafanti/common/dao/NewOrderChangeMapper.java

@@ -48,5 +48,5 @@ public interface NewOrderChangeMapper {
      * @param aid 切换后审核人
      * @return
      */
-    int updateexamineName(@Param("type")Integer type, @Param("depId")String depId, @Param("aid")String aid);
+    int updatEexamineName(@Param("type")Integer type, @Param("depId")String depId, @Param("aid")String aid);
 }

+ 1 - 1
src/main/java/com/goafanti/common/dao/TOrderInvoiceMapper.java

@@ -42,5 +42,5 @@ public interface TOrderInvoiceMapper {
      * @param aid 切换后审核人
      * @return
      */
-    int updateexamineName(@Param("type")Integer type, @Param("depId")String depId, @Param("aid")String aid);
+    int updatEexamineName(@Param("type")Integer type, @Param("depId")String depId, @Param("aid")String aid);
 }

+ 1 - 1
src/main/java/com/goafanti/common/dao/TOrderNewMapper.java

@@ -65,5 +65,5 @@ public interface TOrderNewMapper {
      * @param aid 切换后审核人
      * @return
      */
-    int updateexamineName(@Param("type")Integer type, @Param("depId")String depId, @Param("aid")String aid);
+    int updatEexamineName(@Param("type")Integer type, @Param("depId")String depId, @Param("aid")String aid);
 }

+ 1 - 1
src/main/java/com/goafanti/common/mapper/NewOrderChangeMapper.xml

@@ -727,7 +727,7 @@ select
 	select id,used_order usedOrder from new_order_change where  order_no= #{orderNo} order by id
 	</select>
 
-  <update id="updateexamineName">
+  <update id="updatEexamineName">
     update  new_order_change a,t_order_new b,admin c
     set a.examine_name=c.name
     where a.process_state = #{type} and a.order_no =b.order_no

+ 1 - 1
src/main/java/com/goafanti/common/mapper/TOrderInvoiceMapper.xml

@@ -593,7 +593,7 @@ where a.status=2 and a.order_no=  #{orderNo,jdbcType=VARCHAR}
     where a.invoice_id =#{id} order by a.create_time
   </select>
 
-  <update id="updateexamineName">
+  <update id="updatEexamineName">
     update  t_order_invoice a,t_order_new b,admin c
     set a.examine_name=c.name
     where 1=1

+ 1 - 1
src/main/java/com/goafanti/common/mapper/TOrderNewMapper.xml

@@ -1941,7 +1941,7 @@ left join department d on o.order_dep = d.id   left join t_order_mid a on o.orde
     where order_no = (select t_order_task.order_no from t_order_task where id=#{tid})
   </select>
 
-  <update id="updateexamineName">
+  <update id="updatEexamineName">
     update  t_order_new a,admin b
     set a.examine_name=b.name
     where a.process_status = #{type} and a.order_dep = #{depId}

+ 7 - 7
src/main/java/com/goafanti/common/utils/AsyncUtils.java

@@ -119,15 +119,15 @@ public class AsyncUtils {
 	 */
     public void updateexamineName(Integer type, String depId, String aid) {
 		if (type==1){
-			tOrderNewMapper.updateexamineName(1,depId,aid);
-			newOrderChangeMapper.updateexamineName(1,depId,aid);
-			tOrderInvoiceMapper.updateexamineName(1,depId,aid);
+			tOrderNewMapper.updatEexamineName(1,depId,aid);
+			newOrderChangeMapper.updatEexamineName(1,depId,aid);
+			tOrderInvoiceMapper.updatEexamineName(1,depId,aid);
 		}else if (type==2){
-			tOrderInvoiceMapper.updateexamineName(2,depId,aid);
+			tOrderInvoiceMapper.updatEexamineName(2,depId,aid);
 		}else if (type==3){
-			tOrderNewMapper.updateexamineName(3,depId,aid);
-			newOrderChangeMapper.updateexamineName(5,depId,aid);
-			tOrderInvoiceMapper.updateexamineName(0,depId,aid);
+			tOrderNewMapper.updatEexamineName(3,depId,aid);
+			newOrderChangeMapper.updatEexamineName(5,depId,aid);
+			tOrderInvoiceMapper.updatEexamineName(0,depId,aid);
 		}
 	}
 }