Where did the outsourcing programmer go? (two)

SQL column

Summary of SQL basics

SQL advanced knowledge summary

In the eyes of ordinary people, outsourcing is the most tiring job they do. If something goes wrong, they are asked to carry it. The salary for the same rank is the lowest. Maybe they will be discriminated against by others: Who can do outsourcing? But these outsourcing personnel have a profound impact on the IT industry.

1

An unforgettable trip to Lanzhou

After Li Gong joined the project team, his life was still different from what he imagined.

The place where I lived was rented by the company. The colleagues in the project team all lived together. When Li Gong went there, there was only one upper berth.

He fell asleep in the snoring of the lower bunk every night, and was woken up from time to time in the middle of the night, so Li Gong had to plug his ears with toilet paper every night before going to bed, and finally got a good night's sleep.

The residence is a bit far away from Party A’s company, and there is no direct bus. The main reason is that Li Gong thinks that the bus has been around for a long time, so he simply walks to and from get off work every day, right to exercise.

It’s okay to walk 30 minutes to and from get off work every day, but it’s colder in the morning and at night, especially after it snows, my nose and ears are red. Mr. Li wanted to have a bicycle.

It was November Li Gong went to Lanzhou, and the air there was abnormally dry and cold. Li Gong is a southerner, and he can't stand it when he comes to such a place.

After staying for a week, I started to have nosebleeds, dry cough, and itchy throat from time to time. Even if I tried to drink water, it didn't help. So I bought an air humidifier online and it worked pretty well.

Compared with the “busy” at work, the saddest thing is that no one communicates. When they return to the place where they live, everyone basically washes and sleeps. Moreover, there is no broadband in the place where he lives, and Li Gong, who is used to going to bed late, is extremely tortured. Fortunately, I have a mobile phone, and I only dare to browse novels without pictures, because the traffic is too small.

The only thing that comforted Li Gong was that he could eat authentic Lanzhou ramen every morning. It tastes great, it belongs to the kind of delicacy that you want to eat even if you eat it. As well as relatively cheap Internet cafes, Li Gong basically spends one day off every weekend in Internet cafes.

2

Sudden "punishment"

After eating ramen for one night every morning, I went to Party A’s company and went to work with satisfaction.

I did a good test, but I don’t know who leaked the news, saying that Li Yunhui wrote SQL. So he started to write SQL, and also wrote some basic functions.


--从会计科目明细表JORJ出信用卡部分的数据
 insert into t_ls2_kb008_01
   (JGOUDH, BAOBRQ, ZQLEIX,KAZHNG,CARDID, LIXISR, NFEISR, GBFESR, GSFESR, FQFKSR, ZHINAJ,CHAOXF, YJXJSR, DKBFSR)
select
      d.yyjg,v_sysdat,'2',b.product,b.card_id,
      (sum(case when a.bankacc1 like '%53150000002%' then tran_amt else 0 end)
      ----bankacctl:个人卡贷方科目tran_amt:交易金额
      -sum(case when a.bankacct like '%53150000002%' then tran_amt else 0 end))/100 as "利息收入",
      ----BANKACCT:个人卡借方科目
      (sum(case when a.bankacc1 like '%53200000002%' then tran_amt else 0 end)
      -sum(case when a.bankacct like '%53200000002%' then tran_amt else 0 end))/100 as "年费收入",
      (sum(case when a.bankacc1 like '%57330000003%' then tran_amt else 0 end)
      -sum(case when a.bankacct like '%57330000003%' then tran_amt else 0 end))/100 as "工本费收入",
      (sum(case when a.bankacc1 like '%57570000002%' then tran_amt else 0 end)
      -sum(case when a.bankacct like '%57570000002%' then tran_amt else 0 end))/100 as "挂失费收入",
      (sum(case when a.bankacc1 like '%17600000032%' then tran_amt else 0 end)
      -sum(case when a.bankacct like '%17600000032%' then tran_amt else 0 end))/100 as "分期手续费收入",
      (sum(case when a.bankacc1 like '%17600000002%' then tran_amt else 0 end)
      -sum(case when a.bankacct like '%17600000002%' then tran_amt else 0 end))/100 as "滞纳金收入",
      (sum(case when a.bankacc1 like '%17600000004%' then tran_amt else 0 end)
      -sum(case when a.bankacct like '%17600000004%' then tran_amt else 0 end))/100 as "超限费费收入",
      (sum(case when a.bankacc1 like '%17600000005%' then tran_amt else 0 end)
      -sum(case when a.bankacct like '%17600000005%' then tran_amt else 0 end))/100 as "预借现金手续费收入",
      (sum(case when a.bankacc1 like '%17600000006%' then tran_amt else 0 end)
      -sum(case when a.bankacct like '%17600000006%' then tran_amt else 0 end))/100 as "其他手续费收入"
 from xy_his_jorj a
 left join XY_MIR_CARD b on a.card_nbr=b.card_nbr
 left join xy_mir_acct c on b.xaccount=c.xaccount
 left join card_jgdz d on c.branch = d.card_yyjg
where a.REL_DAY<= v_sysdat and a.REL_DAY>=getdate(v_sysdat,2)
group by d.yyjg,b.product,b.card_id;

(Hint: You can slide the code left and right)

This is a piece of code that Gong Li once wrote.

President Cao, the person in charge of Party A, may come to our station every day to watch the progress due to the pressure of the leaders above.

"Speed ​​up, speed up, the online date set by the leader is coming soon, why are you so slow?" It's just those few sentences every day, and everyone who listens to it is almost out of ears.

"President Cao can rest assured and promise to be online at the specified time. In order to go online as soon as possible, we have specially added individuals to develop." The boss of the project team comforted President Cao while pointing to me.

"This buddy, I remember doing tests before. You guys are planning to fill up the numbers, so this project is not taken seriously by you? I will call your leader and ask if you don’t want to do it anymore. If you don’t want to do it, get out. ." Li Gong was shocked by the words of Mr. Cao in front of him, and felt very aggrieved.

The project manager worked hard to appease President Cao, and finally said that he would invite President Cao to have dinner with him in the evening.

After all this tossing, Li Gong clicked the mouse on the work station listlessly, not knowing what to open.

Dinner was at a more famous hotel in Lanzhou, and Li Gong was fortunate to follow him for the first time to "Cengfan".

"Come on, let's toast Mr. Cao, it's troublesome for you." The project manager called us to toast Mr. Cao together.

"I heard that all of you who do outsourcing can drink quite well. Waiter, bring a few more bottles of liquor." He waved to the waiter.

Li Gong drank a little that night, and he didn't know how to get back to his residence, so he vomited. I thought it was going to eat rice, but I never thought it was going to drink to make amends. Li Gong began to doubt the meaning of his career.

3

Outsourcing is also dignified

The next day, I went to Party A’s company to report on time. After a mess last night, Mr. Cao stopped coming over and nagging. And Li Gong also began a career in writing SQL.

In fact, it is not difficult to write SQL, because Li Gong was not familiar with the development process of outsourcing companies during the writing process.

Outsourcing companies generally have a set of development processes. In order to keep pace and ensure code quality, everyone must work together to work in one direction. The most used tool is version control SVN.

Every time Gong Li finishes writing a function code, he needs to upload the code to SVN. The project manager checks these uploaded codes every day. At the beginning, Gong Li was educated by the project manager alone.

"Why do you overwrite other people's code again? How many times have you said it? And there is a problem with your code, so please change it quickly!" Li Gong was like a kid who did something wrong, blushing and not talking.

He has been educated more times, and Li Gong's development level has also been upgraded.

Once President Cao passed by Gong Li's station and stayed for a while.

"You guys are fine. I thought you could only test, but you really know how to write code. Why didn't you say it earlier?" Li Gong heard a familiar voice and began to get nervous.

Li Gong glanced back, said nothing, and continued to work on the code.

Maybe Cao had arrived at the general meeting and left angrily.

Later, with the efforts of colleagues day and night, the project finally went online smoothly. For this reason, President Cao specially invited the project team to have a meal. This time everyone ate happily and didn't drink much alcohol.

After eating and walking on the way home, Li Gong ran happily.

Guess you like

Origin blog.51cto.com/15057820/2656045